# #018 — 032c Berlin Dark Brutalist Zine

> Pitch-black Berlin underground culture & sound zine with exposed 1px white cell borders, hazard amber, and live decks.

## Metadata

- **Index**: #018
- **Slug**: `032c-berlin-brutalist`
- **Kind**: `style`
- **Family**: Brutalist & Zine
- **Theme**: `dark`
- **Mobile Strength**: `high`
- **Tags**: `dark-brutalist`, `berlin-zine`, `exposed-grid`, `underground-culture`, `high-contrast`, `zero-radius`
- **Best For**: Underground culture & fashion zines, Independent sound collectives & venues, Subcultural editorial drops, Nightlife & exhibition schedules
- **Real-World Inspiration**: [032c](https://032c.com)
- **Detail Page**: https://templates.michaelpitts.net/t/032c-berlin-brutalist
- **Live Demo**: https://templates.michaelpitts.net/demos/032c-berlin-brutalist.html
- **JSON API**: https://templates.michaelpitts.net/api/templates/032c-berlin-brutalist

## Why This Aesthetic Is Unique

Delivers nocturnal Berlin subcultural energy with razor-sharp brutalist discipline: zero border-radius, exposed 1px stark-white structural grids on pitch black, live dual-channel audio switcher, and stark graphic sleeves.

## Color Palette

| Role | Name | Hex |
|------|------|-----|
| `canvas` | Pitch Black | `#090909` |
| `surface` | Booth Charcoal | `#141414` |
| `ink` | Stark White | `#FFFFFF` |
| `accent` | Hazard Amber | `#FFB800` |
| `muted` | Broadcast Gray | `#8E8E93` |

## Typography

- **Display**: `Space Grotesk, Helvetica Neue, sans-serif`
- **Body**: `Inter, -apple-system, sans-serif`
- **Mono**: `Space Mono, ui-monospace, monospace`
- **Scale Notes**: All-caps condensed-feel grotesk dossier titles paired with uppercase monospace genre tags and live studio timestamps.
- **Google Fonts**: https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@700&family=Space+Mono:wght@400;700&display=swap
  ```html
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@700&family=Space+Mono:wght@400;700&display=swap">
  ```

## Layout Architecture

Sticky top dual-channel live sound bar (CH 1 / CH 2 + Canvas waveform), exposed 1px-bordered culture & mixtape grid with bespoke geometric SVG sleeves, and genre filter matrix.

## Interaction & Micro-Motion Rules

Working live Channel 1 / Channel 2 toggle with play/pause animating a real Canvas 2D broadcast equalizer, interactive genre tag filters, and dossier tracklist drawer.

## Mobile & Responsive Rules

Live broadcast bar condenses cleanly with >=44px channel toggle buttons; exposed grid cells collapse seamlessly to a single-column stack on 390px screens.

## Agent Guardrails

### DO
- Use exposed 1px solid #FFFFFF or #2E2E2E grid dividers with 0px border-radius
- Keep typography uppercase, tight, and uncompromisingly high-contrast
- Use Hazard Amber strictly for live ON AIR indicators and active states

### DON'T
- Do not add soft rounded corners, glowing neon blurs, or pastel gradients
- Do not soften pitch-black backgrounds into generic dark-slate SaaS gray

## Complete Standalone Starter Code

File: `demos/032c-berlin-brutalist.html`

```html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>KILOHERTZ // Underground Radio &amp; Infinite Mixtapes</title>
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Archivo:wght@600;800&family=JetBrains+Mono:wght@400;600;700&display=swap" rel="stylesheet">
  <style>
    :root {
      --canvas: #090909;
      --surface: #141414;
      --ink: #FFFFFF;
      --accent: #FFB800;
      --muted: #8E8E93;
      --line: 1px solid rgba(255, 255, 255, 0.32);
      --line-strong: 1px solid #FFFFFF;
    }

    *, *::before, *::after {
      box-sizing: border-box;
      border-radius: 0 !important;
    }

    html {
      scroll-behavior: smooth;
      overflow-x: clip;
    }

    body {
      margin: 0;
      background: var(--canvas);
      color: var(--ink);
      font-family: 'JetBrains Mono', ui-monospace, monospace;
      font-size: 0.9rem;
      line-height: 1.5;
      overflow-x: clip;
    }

    a { color: inherit; text-decoration: none; }
    button { font: inherit; color: inherit; }

    /* Sticky Live Channel Switcher Bar */
    .live-bar {
      position: sticky;
      top: 0;
      z-index: 50;
      background: var(--canvas);
      border-bottom: var(--line-strong);
      display: grid;
      grid-template-columns: auto auto 1fr auto;
      align-items: stretch;
    }

    .ch-btn {
      min-height: 54px;
      padding: 8px 16px;
      background: var(--canvas);
      border: 0;
      border-right: var(--line);
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 10px;
      text-align: left;
      transition: background 0.12s;
    }

    .ch-btn:hover {
      background: var(--surface);
    }

    .ch-btn.active {
      background: var(--ink);
      color: var(--canvas);
    }

    .ch-num {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 24px;
      height: 24px;
      border: 1px solid currentColor;
      font-weight: 700;
      font-size: 0.8rem;
      flex-shrink: 0;
    }

    .ch-btn.active .ch-num {
      background: var(--accent);
      color: #090909;
      border-color: #090909;
    }

    .ch-meta {
      display: flex;
      flex-direction: column;
      line-height: 1.2;
    }

    .ch-tag {
      font-size: 0.66rem;
      text-transform: uppercase;
      opacity: 0.72;
    }

    .ch-title {
      font-size: 0.78rem;
      font-weight: 700;
      white-space: nowrap;
    }

    .wave-cell {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 6px 14px;
      border-right: var(--line);
      min-width: 0;
    }

    .play-toggle {
      min-width: 44px;
      min-height: 44px;
      background: var(--accent);
      color: #090909;
      border: 0;
      font-weight: 700;
      cursor: pointer;
      flex-shrink: 0;
    }

    .wave-info {
      display: flex;
      flex-direction: column;
      min-width: 0;
      flex: 1;
    }

    .now-playing {
      font-size: 0.74rem;
      color: var(--accent);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    #waveCanvas {
      width: 100%;
      height: 28px;
      display: block;
    }

    .drawer-trigger {
      min-width: 54px;
      min-height: 54px;
      background: var(--surface);
      border: 0;
      cursor: pointer;
      font-weight: 700;
      font-size: 0.82rem;
      padding: 0 16px;
    }

    .drawer-trigger:hover {
      background: var(--accent);
      color: #090909;
    }

    /* Mobile / Utility Drawer */
    .nav-drawer {
      display: none;
      background: var(--surface);
      border-bottom: var(--line-strong);
    }

    .nav-drawer.open {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .nav-drawer a {
      min-height: 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 18px;
      border-right: var(--line);
      font-size: 0.8rem;
      text-transform: uppercase;
    }

    .nav-drawer a:hover {
      background: var(--ink);
      color: var(--canvas);
    }

    /* Masthead Grid */
    .masthead {
      display: grid;
      grid-template-columns: 1.4fr 0.6fr;
      border-bottom: var(--line-strong);
    }

    .mast-left {
      padding: 36px 24px;
      border-right: var(--line-strong);
    }

    .mast-kicker {
      font-size: 0.74rem;
      color: var(--accent);
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 12px;
    }

    h1 {
      font-family: 'Archivo', 'Arial Black', sans-serif;
      font-weight: 800;
      font-size: clamp(2.4rem, 6vw, 4.8rem);
      line-height: 0.92;
      letter-spacing: -0.03em;
      text-transform: uppercase;
      margin: 0 0 18px;
    }

    .mast-desc {
      color: var(--muted);
      max-width: 58ch;
      margin: 0;
      font-size: 0.88rem;
    }

    .mast-right {
      display: grid;
      grid-template-rows: 1fr 1fr;
    }

    .stat-cell {
      padding: 20px 24px;
      border-bottom: var(--line);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .stat-cell:last-child {
      border-bottom: 0;
      background: var(--surface);
    }

    .stat-label {
      font-size: 0.7rem;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .stat-val {
      font-family: 'Archivo', sans-serif;
      font-size: 1.6rem;
      font-weight: 800;
      text-transform: uppercase;
    }

    /* Genre Filter Bar */
    .filter-strip {
      display: flex;
      flex-wrap: wrap;
      align-items: stretch;
      border-bottom: var(--line-strong);
      background: var(--surface);
    }

    .filter-label {
      padding: 12px 20px;
      font-size: 0.74rem;
      color: var(--muted);
      text-transform: uppercase;
      border-right: var(--line);
      display: flex;
      align-items: center;
    }

    .tag-btn {
      min-height: 46px;
      padding: 0 18px;
      background: transparent;
      border: 0;
      border-right: var(--line);
      cursor: pointer;
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .tag-btn:hover {
      background: rgba(255, 255, 255, 0.08);
    }

    .tag-btn.active {
      background: var(--accent);
      color: #090909;
      font-weight: 700;
    }

    /* Infinite Mixtapes Grid */
    .section-bar {
      padding: 14px 24px;
      border-bottom: var(--line);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .mix-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      border-bottom: var(--line-strong);
    }

    .mix-card {
      border-right: var(--line);
      border-bottom: var(--line);
      background: var(--canvas);
      display: flex;
      flex-direction: column;
      cursor: pointer;
      transition: background 0.14s;
    }

    .mix-card:hover {
      background: var(--surface);
    }

    .mix-card.hidden {
      display: none;
    }

    .mix-card.playing {
      outline: 2px solid var(--accent);
      outline-offset: -2px;
    }

    .mix-sleeve {
      border-bottom: var(--line);
      padding: 16px;
      background: #0F0F0F;
    }

    .mix-sleeve svg {
      width: 100%;
      height: 170px;
      display: block;
      border: var(--line);
    }

    .mix-body {
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      flex: 1;
    }

    .mix-top {
      display: flex;
      justify-content: space-between;
      font-size: 0.72rem;
      color: var(--muted);
    }

    .mix-genre {
      color: var(--accent);
      font-weight: 700;
      text-transform: uppercase;
    }

    .mix-body h2 {
      font-family: 'Archivo', sans-serif;
      font-size: 1.25rem;
      text-transform: uppercase;
      margin: 0;
      line-height: 1.1;
    }

    .mix-body p {
      margin: 0;
      font-size: 0.8rem;
      color: var(--muted);
      flex: 1;
    }

    .mix-cta {
      margin-top: 8px;
      padding-top: 10px;
      border-top: var(--line);
      display: flex;
      justify-content: space-between;
      font-size: 0.74rem;
      text-transform: uppercase;
    }

    /* Schedule Table */
    .schedule-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      border-bottom: var(--line-strong);
    }

    .sched-row {
      padding: 16px 24px;
      border-right: var(--line);
      border-bottom: var(--line);
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
    }

    .sched-time {
      color: var(--accent);
      font-weight: 700;
      font-size: 0.78rem;
      white-space: nowrap;
    }

    footer {
      padding: 20px 24px;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
      font-size: 0.74rem;
      color: var(--muted);
      text-transform: uppercase;
    }

    @media (max-width: 960px) {
      .live-bar {
        grid-template-columns: 1fr 1fr auto;
      }
      .wave-cell {
        grid-column: 1 / -1;
        border-right: 0;
        border-top: var(--line);
      }
      .masthead { grid-template-columns: 1fr; }
      .mast-left { border-right: 0; border-bottom: var(--line-strong); }
      .mix-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .schedule-grid { grid-template-columns: 1fr; }
      .nav-drawer.open { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 600px) {
      .ch-title { font-size: 0.72rem; }
      .mix-grid { grid-template-columns: 1fr; }
      .nav-drawer.open { grid-template-columns: 1fr; }
      .nav-drawer a { border-right: 0; border-bottom: var(--line); }
      .mast-left { padding: 24px 16px; }
      .sched-row { padding: 14px 16px; flex-direction: column; align-items: flex-start; }
    }
  </style>
</head>
<body>
  <!-- Sticky Live Channel Switcher -->
  <div class="live-bar" role="region" aria-label="Live radio player">
    <button type="button" class="ch-btn active" id="ch1Btn" data-ch="1">
      <span class="ch-num">1</span>
      <span class="ch-meta">
        <span class="ch-tag">LIVE · LONDON</span>
        <span class="ch-title">SUBTERRANEAN DUB</span>
      </span>
    </button>
    <button type="button" class="ch-btn" id="ch2Btn" data-ch="2">
      <span class="ch-num">2</span>
      <span class="ch-meta">
        <span class="ch-tag">LIVE · MANCHESTER</span>
        <span class="ch-title">CONCRETE SYNTHS</span>
      </span>
    </button>
    <div class="wave-cell">
      <button type="button" class="play-toggle" id="playToggle" aria-label="Pause live waveform">❚❚</button>
      <div class="wave-info">
        <div class="now-playing" id="nowPlaying">CH 1 // SUBTERRANEAN DUB W/ K. OKAFOR — 128 BPM</div>
        <canvas id="waveCanvas" width="360" height="28" aria-label="Live audio spectrum waveform"></canvas>
      </div>
    </div>
    <button type="button" class="drawer-trigger" id="drawerBtn" aria-expanded="false" aria-controls="navDrawer">MENU</button>
  </div>

  <nav class="nav-drawer" id="navDrawer" aria-label="Primary navigation">
    <a href="#mixtapes">Infinite Mixtapes <span>06</span></a>
    <a href="#schedule">Today's Broadcast <span>GMT</span></a>
    <a href="#mixtapes">Zine Dispatches <span>PDF</span></a>
    <a href="#footer">Supporters Club <span>→</span></a>
  </nav>

  <header class="masthead">
    <div class="mast-left">
      <div class="mast-kicker">DON'T ASSUME · 24/7 INDEPENDENT BROADCAST · NO ADS</div>
      <h1>KILOHERTZ<br>UNDERGROUND</h1>
      <p class="mast-desc">
        Freeform radio broadcasting from Dalston, Los Angeles, and Tokyo. Zero algorithms, exposed grid discipline, and sixteen themed infinite mixtapes curated from fourteen years of resident archives.
      </p>
    </div>
    <div class="mast-right">
      <div class="stat-cell">
        <span class="stat-label">Active Stream Bitrate</span>
        <span class="stat-val" style="color:var(--accent);">320 KBPS / RAW</span>
      </div>
      <div class="stat-cell">
        <span class="stat-label">Archive Index</span>
        <span class="stat-val">41,820 EPISODES</span>
      </div>
    </div>
  </header>

  <main>
    <div class="filter-strip" role="group" aria-label="Filter mixtapes by genre">
      <div class="filter-label">GENRE FILTER</div>
      <button type="button" class="tag-btn active" data-genre="all">All (6)</button>
      <button type="button" class="tag-btn" data-genre="ambient">Ambient</button>
      <button type="button" class="tag-btn" data-genre="dub">Dub</button>
      <button type="button" class="tag-btn" data-genre="techno">Techno</button>
      <button type="button" class="tag-btn" data-genre="post-punk">Post-Punk</button>
      <button type="button" class="tag-btn" data-genre="jazz">Jazz</button>
    </div>

    <section id="mixtapes">
      <div class="section-bar">
        <span>INFINITE MIXTAPES // SELECT SLEEVE TO TUNE STREAM</span>
        <span id="mixCount">6 STREAMS ONLINE</span>
      </div>

      <div class="mix-grid" id="mixGrid">
        <!-- Mix 1 -->
        <article class="mix-card" tabindex="0" data-genre="ambient" data-stream="MIXTAPE 01 // SLOW FOCUS — DRONE &amp; TAPE HISS" data-speed="0.8">
          <div class="mix-sleeve">
            <svg viewBox="0 0 260 170" aria-hidden="true">
              <rect width="260" height="170" fill="#090909"/>
              <circle cx="130" cy="85" r="64" fill="none" stroke="#FFFFFF" stroke-width="1.5"/>
              <circle cx="130" cy="85" r="46" fill="none" stroke="#FFB800" stroke-width="1.5"/>
              <circle cx="130" cy="85" r="28" fill="none" stroke="#FFFFFF" stroke-width="1.5"/>
              <line x1="0" y1="85" x2="260" y2="85" stroke="#FFFFFF" stroke-width="1"/>
            </svg>
          </div>
          <div class="mix-body">
            <div class="mix-top"><span>MX-01</span><span class="mix-genre">Ambient</span></div>
            <h2>Slow Focus</h2>
            <p>Beatless synthesizer drifts, rain-soaked field recordings, and 4-track cassette loops for late-night transit.</p>
            <div class="mix-cta"><span>TUNE STREAM</span><span>▶</span></div>
          </div>
        </article>

        <!-- Mix 2 -->
        <article class="mix-card" tabindex="0" data-genre="dub" data-stream="MIXTAPE 02 // PRESSURE CHAMBER — HEAVY KINGSTON DUB" data-speed="1.5">
          <div class="mix-sleeve">
            <svg viewBox="0 0 260 170" aria-hidden="true">
              <rect width="260" height="170" fill="#090909"/>
              <rect x="20" y="20" width="220" height="22" fill="#FFFFFF"/>
              <rect x="20" y="54" width="160" height="22" fill="#FFB800"/>
              <rect x="20" y="88" width="200" height="22" fill="#FFFFFF"/>
              <rect x="20" y="122" width="110" height="22" fill="#8E8E93"/>
            </svg>
          </div>
          <div class="mix-body">
            <div class="mix-top"><span>MX-02</span><span class="mix-genre">Dub</span></div>
            <h2>Pressure Chamber</h2>
            <p>Spring-reverb basslines, soundsystem versions, and heavyweight steppers cut straight from 10-inch dubplates.</p>
            <div class="mix-cta"><span>TUNE STREAM</span><span>▶</span></div>
          </div>
        </article>

        <!-- Mix 3 -->
        <article class="mix-card" tabindex="0" data-genre="techno" data-stream="MIXTAPE 03 // LABYRINTH — RAW WAREHOUSE TECHNO" data-speed="2.3">
          <div class="mix-sleeve">
            <svg viewBox="0 0 260 170" aria-hidden="true">
              <rect width="260" height="170" fill="#090909"/>
              <g stroke="#FFFFFF" stroke-width="1.5" fill="none">
                <rect x="20" y="16" width="220" height="138"/>
                <rect x="44" y="34" width="172" height="102"/>
                <rect x="68" y="52" width="124" height="66" stroke="#FFB800"/>
                <rect x="92" y="70" width="76" height="30"/>
              </g>
            </svg>
          </div>
          <div class="mix-body">
            <div class="mix-top"><span>MX-03</span><span class="mix-genre">Techno</span></div>
            <h2>Labyrinth 138</h2>
            <p>Hypnotic Detroit-to-Berlin machine rhythms, modular acid arpeggios, and relentless industrial percussion.</p>
            <div class="mix-cta"><span>TUNE STREAM</span><span>▶</span></div>
          </div>
        </article>

        <!-- Mix 4 -->
        <article class="mix-card" tabindex="0" data-genre="post-punk" data-stream="MIXTAPE 04 // STATIC YOUTH — NO-WAVE &amp; POST-PUNK" data-speed="1.9">
          <div class="mix-sleeve">
            <svg viewBox="0 0 260 170" aria-hidden="true">
              <rect width="260" height="170" fill="#090909"/>
              <polygon points="20,150 96,20 172,150" fill="none" stroke="#FFFFFF" stroke-width="2"/>
              <polygon points="88,150 164,20 240,150" fill="none" stroke="#FFB800" stroke-width="2"/>
              <line x1="20" y1="95" x2="240" y2="95" stroke="#FFFFFF" stroke-width="1"/>
            </svg>
          </div>
          <div class="mix-body">
            <div class="mix-top"><span>MX-04</span><span class="mix-genre">Post-Punk</span></div>
            <h2>Static Youth</h2>
            <p>Angular guitars, coldwave drum machines, and xeroxed 7-inch singles from Sheffield, Düsseldorf, and Osaka.</p>
            <div class="mix-cta"><span>TUNE STREAM</span><span>▶</span></div>
          </div>
        </article>

        <!-- Mix 5 -->
        <article class="mix-card" tabindex="0" data-genre="jazz" data-stream="MIXTAPE 05 // SPIRITUAL ARCHIVE — MODAL &amp; FREE JAZZ" data-speed="1.2">
          <div class="mix-sleeve">
            <svg viewBox="0 0 260 170" aria-hidden="true">
              <rect width="260" height="170" fill="#090909"/>
              <path d="M20 130 Q80 20 130 85 T240 40" fill="none" stroke="#FFB800" stroke-width="3"/>
              <path d="M20 145 Q90 50 145 110 T240 70" fill="none" stroke="#FFFFFF" stroke-width="1.5"/>
              <rect x="20" y="20" width="28" height="28" fill="#FFFFFF"/>
            </svg>
          </div>
          <div class="mix-body">
            <div class="mix-top"><span>MX-05</span><span class="mix-genre">Jazz</span></div>
            <h2>Spiritual Archive</h2>
            <p>Private-press modal jazz, upright bass solos, and cosmic horn ensembles recorded in basement lofts.</p>
            <div class="mix-cta"><span>TUNE STREAM</span><span>▶</span></div>
          </div>
        </article>

        <!-- Mix 6 -->
        <article class="mix-card" tabindex="0" data-genre="ambient" data-stream="MIXTAPE 06 // NIGHT TRANSMISSION — SHORTWAVE &amp; KOSMISCHE" data-speed="1.0">
          <div class="mix-sleeve">
            <svg viewBox="0 0 260 170" aria-hidden="true">
              <rect width="260" height="170" fill="#090909"/>
              <g stroke="#FFFFFF" stroke-width="1">
                <line x1="20" y1="24" x2="240" y2="146"/>
                <line x1="20" y1="146" x2="240" y2="24"/>
                <line x1="130" y1="10" x2="130" y2="160"/>
              </g>
              <rect x="106" y="61" width="48" height="48" fill="#FFB800"/>
            </svg>
          </div>
          <div class="mix-body">
            <div class="mix-top"><span>MX-06</span><span class="mix-genre">Ambient</span></div>
            <h2>Night Transmission</h2>
            <p>Kosmische sequencers, shortwave numbers stations, and archival radio telemetry broadcasting through static.</p>
            <div class="mix-cta"><span>TUNE STREAM</span><span>▶</span></div>
          </div>
        </article>
      </div>
    </section>

    <section id="schedule">
      <div class="section-bar">
        <span>LIVE SCHEDULE // LONDON GMT</span>
        <span>CHANNEL 1 &amp; 2</span>
      </div>
      <div class="schedule-grid">
        <div class="sched-row">
          <div><strong>K. OKAFOR: SUBTERRANEAN DUB</strong><div style="color:var(--muted);font-size:0.76rem;">CH 1 · ROOTS / DUBPLATE</div></div>
          <span class="sched-time">18:00 — 20:00</span>
        </div>
        <div class="sched-row">
          <div><strong>MIRA V: CONCRETE SYNTHS</strong><div style="color:var(--muted);font-size:0.76rem;">CH 2 · MODULAR / ELECTRO</div></div>
          <span class="sched-time">19:00 — 21:00</span>
        </div>
        <div class="sched-row">
          <div><strong>TOKYO TAPE EXCHANGE</strong><div style="color:var(--muted);font-size:0.76rem;">CH 1 · AMBIENT / FIELD REC</div></div>
          <span class="sched-time">20:00 — 22:00</span>
        </div>
        <div class="sched-row">
          <div><strong>WAREHOUSE ARCHIVE 1994</strong><div style="color:var(--muted);font-size:0.76rem;">CH 2 · TECHNO / BREAKBEAT</div></div>
          <span class="sched-time">21:00 — 23:00</span>
        </div>
      </div>
    </section>
  </main>

  <footer id="footer">
    <span>KILOHERTZ RADIO · LISTENER-SUPPORTED · ZERO RADIUS BRUTALISM</span>
    <span>ARCHIVE SIGNAL: ACTIVE</span>
  </footer>

  <script>
    // Mobile drawer
    const drawerBtn = document.getElementById('drawerBtn');
    const navDrawer = document.getElementById('navDrawer');
    drawerBtn.addEventListener('click', () => {
      const open = navDrawer.classList.toggle('open');
      drawerBtn.setAttribute('aria-expanded', String(open));
      drawerBtn.textContent = open ? 'CLOSE' : 'MENU';
    });

    // Live Channel Switcher + Canvas Waveform
    const ch1Btn = document.getElementById('ch1Btn');
    const ch2Btn = document.getElementById('ch2Btn');
    const playToggle = document.getElementById('playToggle');
    const nowPlaying = document.getElementById('nowPlaying');
    const canvas = document.getElementById('waveCanvas');
    const ctx = canvas.getContext('2d');

    let isPlaying = true;
    let waveSpeed = 1.4;
    let phase = 0;

    const channels = {
      1: { label: 'CH 1 // SUBTERRANEAN DUB W/ K. OKAFOR — 128 BPM', speed: 1.4 },
      2: { label: 'CH 2 // CONCRETE SYNTHS W/ MIRA V — 136 BPM', speed: 2.1 }
    };

    function setChannel(ch) {
      ch1Btn.classList.toggle('active', ch === 1);
      ch2Btn.classList.toggle('active', ch === 2);
      document.querySelectorAll('.mix-card').forEach(c => c.classList.remove('playing'));
      nowPlaying.textContent = channels[ch].label;
      waveSpeed = channels[ch].speed;
      isPlaying = true;
      playToggle.textContent = '❚❚';
    }

    ch1Btn.addEventListener('click', () => setChannel(1));
    ch2Btn.addEventListener('click', () => setChannel(2));

    playToggle.addEventListener('click', () => {
      isPlaying = !isPlaying;
      playToggle.textContent = isPlaying ? '❚❚' : '▶';
      playToggle.setAttribute('aria-label', isPlaying ? 'Pause live waveform' : 'Resume live waveform');
    });

    // Click mixtape to load stream
    document.querySelectorAll('.mix-card').forEach(card => {
      const activate = () => {
        ch1Btn.classList.remove('active');
        ch2Btn.classList.remove('active');
        document.querySelectorAll('.mix-card').forEach(c => c.classList.remove('playing'));
        card.classList.add('playing');
        nowPlaying.textContent = card.dataset.stream;
        waveSpeed = Number(card.dataset.speed) || 1.2;
        isPlaying = true;
        playToggle.textContent = '❚❚';
      };
      card.addEventListener('click', activate);
      card.addEventListener('keydown', e => {
        if (e.key === 'Enter' || e.key === ' ') {
          e.preventDefault();
          activate();
        }
      });
    });

    // Genre filter
    const tagBtns = document.querySelectorAll('.tag-btn');
    const mixCards = document.querySelectorAll('.mix-card');
    const mixCount = document.getElementById('mixCount');
    tagBtns.forEach(btn => {
      btn.addEventListener('click', () => {
        tagBtns.forEach(b => b.classList.remove('active'));
        btn.classList.add('active');
        const g = btn.dataset.genre;
        let visible = 0;
        mixCards.forEach(card => {
          const ok = g === 'all' || card.dataset.genre === g;
          card.classList.toggle('hidden', !ok);
          if (ok) visible++;
        });
        mixCount.textContent = `${visible} STREAM${visible === 1 ? '' : 'S'} ONLINE`;
      });
    });

    // Animated Canvas 2D Waveform
    function drawWave() {
      const w = canvas.width;
      const h = canvas.height;
      ctx.clearRect(0, 0, w, h);

      const bars = 48;
      const gap = 3;
      const barW = Math.floor((w - gap * (bars - 1)) / bars);

      for (let i = 0; i < bars; i++) {
        const amp = isPlaying
          ? (Math.sin(phase + i * 0.45) * 0.45 + Math.cos(phase * 1.3 + i * 0.22) * 0.35 + 0.85) / 1.7
          : 0.14;
        const barH = Math.max(3, Math.round(amp * (h - 4)));
        const x = i * (barW + gap);
        const y = Math.floor((h - barH) / 2);
        ctx.fillStyle = i % 7 === 0 ? '#FFB800' : '#FFFFFF';
        ctx.fillRect(x, y, barW, barH);
      }

      if (isPlaying) phase += 0.055 * waveSpeed;
      requestAnimationFrame(drawWave);
    }
    drawWave();
  </script>
</body>
</html>
```
