# #001 — New Yorker Literary Editorial

> Warm literary rag paper, classic Caslon-inspired typography, crisp hairlines, and drop-cap longform poise.

## Metadata

- **Index**: #001
- **Slug**: `new-yorker-editorial`
- **Kind**: `style`
- **Family**: Editorial & Magazine
- **Theme**: `light`
- **Mobile Strength**: `high`
- **Tags**: `editorial`, `literary`, `magazine`, `serif-first`, `print-heritage`, `longform`
- **Best For**: Cultural commentary & essays, Literary journals & criticism, Independent journalism & newsletters, Publishing houses
- **Real-World Inspiration**: [The New Yorker](https://www.newyorker.com)
- **Detail Page**: https://templates.michaelpitts.net/t/new-yorker-editorial
- **Live Demo**: https://templates.michaelpitts.net/demos/new-yorker-editorial.html
- **JSON API**: https://templates.michaelpitts.net/api/templates/new-yorker-editorial

## Why This Aesthetic Is Unique

Replaces modern SaaS card chrome with print-magazine discipline: centered display mastheads, crimson rubric labels, generous measure for essays, and a quiet vertical rule separating the main column from curated commentary.

## Color Palette

| Role | Name | Hex |
|------|------|-----|
| `canvas` | Warm Rag Paper | `#FAF8F3` |
| `surface` | Archival Cream | `#F1EDE3` |
| `ink` | Letterpress Black | `#121212` |
| `accent` | Rubric Crimson | `#C41E1E` |
| `muted` | Column Slate | `#66615B` |

## Typography

- **Display**: `Playfair Display, Georgia, serif`
- **Body**: `Newsreader, Georgia, serif`
- **Mono**: `IBM Plex Mono, ui-monospace, monospace`
- **Scale Notes**: High-contrast serif display (42-64px) paired with 18-19px optical-size serif body at 1.65 line-height and tracked 11px uppercase rubrics.
- **Google Fonts**: https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap
  ```html
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap">
  ```

## Layout Architecture

Centered masthead flanked by issue metadata, double-rule horizontal dividers, 12-column asymmetric broadsheet grid with a primary 7-column lead feature and a 5-column hairline-divided dispatch rail.

## Interaction & Micro-Motion Rules

Subtle underline reveal on headline hover, section rubric tabs that filter the reading list without jarring jumps, an inline essay-excerpt reader drawer, and a print-like saved reading queue.

## Mobile & Responsive Rules

Masthead scales cleanly into a compact top bar with a 44px slide-down section index; the multi-column broadsheet collapses into a single 65ch reading stream with clear horizontal hairlines between dispatches.

## Agent Guardrails

### DO
- Use 1px solid hairline borders and double rules instead of drop shadows or rounded SaaS cards
- Reserve Rubric Crimson strictly for small uppercase section labels, drop caps, and active links
- Maintain generous line-height (1.6-1.7) and 60-68ch measure for body essays

### DON'T
- Do not add glassmorphism, gradients, or rounded-xl pill cards
- Do not substitute generic sans-serif body copy for serif prose

## Complete Standalone Starter Code

File: `demos/new-yorker-editorial.html`

```html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>The Metropolitan Ledger — Literary Editorial</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=IBM+Plex+Mono:wght@400;500&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap" rel="stylesheet">
  <style>
    :root {
      --canvas: #FAF8F3;
      --surface: #F1EDE3;
      --ink: #121212;
      --accent: #C41E1E;
      --muted: #66615B;
      --rule: #D6D0C4;
      --rule-dark: #1A1A1A;
    }

    *, *::before, *::after {
      box-sizing: border-box;
    }

    html, body {
      margin: 0;
      padding: 0;
      background: var(--canvas);
      color: var(--ink);
      font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
      font-size: 18px;
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

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

    button {
      font-family: inherit;
      cursor: pointer;
      background: none;
      border: none;
      color: inherit;
    }

    .page-shell {
      max-width: 1180px;
      margin: 0 auto;
      padding: 0 24px 64px;
    }

    /* Top utility strip */
    .utility-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 0;
      border-bottom: 1px solid var(--rule);
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
      font-size: 11px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .utility-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .queue-trigger {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-height: 44px;
      padding: 0 10px;
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
      font-size: 11px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--ink);
      border: 1px solid transparent;
      transition: border-color 0.2s;
    }

    .queue-trigger:hover, .queue-trigger:focus-visible {
      border-color: var(--rule-dark);
      outline: none;
    }

    .queue-count {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 20px;
      height: 20px;
      padding: 0 5px;
      background: var(--accent);
      color: #FFF;
      font-size: 10px;
    }

    /* Masthead */
    .masthead {
      text-align: center;
      padding: 28px 0 20px;
      border-bottom: 3px double var(--rule-dark);
      position: relative;
    }

    .masthead-kicker {
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
      font-size: 11px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 8px;
    }

    .masthead-title {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: clamp(2.2rem, 5.2vw, 4.1rem);
      font-weight: 400;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      line-height: 1.05;
      margin: 0;
    }

    .masthead-sub {
      font-style: italic;
      font-size: 15px;
      color: var(--muted);
      margin: 8px 0 0;
    }

    /* Navigation & Mobile Toggle */
    .nav-wrap {
      border-bottom: 1px solid var(--rule-dark);
      margin-bottom: 36px;
    }

    .nav-bar {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 4px;
      padding: 6px 0;
    }

    .mobile-menu-btn {
      display: none;
      width: 100%;
      min-height: 46px;
      align-items: center;
      justify-content: space-between;
      padding: 0 4px;
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
      font-size: 12px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .rubric-btn {
      min-height: 44px;
      padding: 8px 14px;
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
      position: relative;
      transition: color 0.18s;
    }

    .rubric-btn:hover {
      color: var(--ink);
    }

    .rubric-btn.active {
      color: var(--accent);
      font-weight: 500;
    }

    .rubric-btn.active::after {
      content: '';
      position: absolute;
      left: 14px;
      right: 14px;
      bottom: 6px;
      height: 1.5px;
      background: var(--accent);
    }

    /* Main Broadsheet Grid */
    .broadsheet {
      display: grid;
      grid-template-columns: minmax(0, 7fr) minmax(0, 4.2fr);
      gap: 44px;
      align-items: start;
    }

    /* Lead Essay */
    .lead-essay {
      padding-right: 44px;
      border-right: 1px solid var(--rule);
    }

    .rubric {
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
      font-size: 11px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--accent);
      margin: 0 0 10px;
      display: inline-block;
    }

    .lead-title {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: clamp(1.9rem, 3.3vw, 2.85rem);
      font-weight: 400;
      line-height: 1.15;
      margin: 0 0 14px;
    }

    .lead-deck {
      font-size: 20px;
      font-style: italic;
      line-height: 1.5;
      color: #36332F;
      margin: 0 0 18px;
    }

    .byline-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
      padding: 12px 0;
      border-top: 1px solid var(--rule);
      border-bottom: 1px solid var(--rule);
      margin-bottom: 24px;
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
      font-size: 11px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .byline-author {
      color: var(--ink);
      font-weight: 500;
    }

    /* Bespoke Pen-and-Ink Editorial Illustration */
    .vignette-figure {
      margin: 0 0 26px;
      background: var(--surface);
      border: 1px solid var(--rule);
      padding: 20px;
    }

    .vignette-figure svg {
      width: 100%;
      height: auto;
      display: block;
    }

    .vignette-caption {
      margin-top: 12px;
      font-size: 13px;
      font-style: italic;
      color: var(--muted);
      display: flex;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }

    /* Drop cap prose */
    .essay-prose p {
      margin: 0 0 18px;
      max-width: 64ch;
    }

    .essay-prose p.dropcap::first-letter {
      float: left;
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 4.3rem;
      line-height: 0.78;
      padding: 6px 10px 0 0;
      color: var(--accent);
      font-weight: 600;
    }

    .essay-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 24px;
      padding-top: 20px;
      border-top: 1px solid var(--rule);
    }

    .editorial-btn {
      min-height: 44px;
      padding: 10px 18px;
      border: 1px solid var(--rule-dark);
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
      font-size: 11px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      transition: background 0.18s, color 0.18s;
    }

    .editorial-btn:hover {
      background: var(--ink);
      color: var(--canvas);
    }

    .editorial-btn.saved {
      background: var(--accent);
      border-color: var(--accent);
      color: #FFF;
    }

    /* Dispatch Rail */
    .rail-header {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      border-bottom: 2px solid var(--rule-dark);
      padding-bottom: 8px;
      margin-bottom: 20px;
    }

    .rail-heading {
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
      font-size: 12px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      margin: 0;
    }

    .rail-meta {
      font-style: italic;
      font-size: 14px;
      color: var(--muted);
    }

    .dispatch-list {
      display: flex;
      flex-direction: column;
    }

    .dispatch-item {
      padding: 18px 0;
      border-bottom: 1px solid var(--rule);
    }

    .dispatch-item:first-child {
      padding-top: 0;
    }

    .dispatch-title {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 21px;
      font-weight: 400;
      line-height: 1.25;
      margin: 4px 0 8px;
      cursor: pointer;
    }

    .dispatch-title:hover {
      text-decoration: underline;
      text-underline-offset: 4px;
      text-decoration-thickness: 1px;
    }

    .dispatch-excerpt {
      font-size: 15.5px;
      line-height: 1.55;
      color: #3F3B36;
      margin: 0 0 12px;
    }

    .dispatch-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
      font-size: 11px;
      letter-spacing: 0.06em;
      color: var(--muted);
    }

    .mini-action {
      min-height: 44px;
      padding: 6px 10px;
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
      font-size: 11px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--ink);
      border-bottom: 1px solid transparent;
    }

    .mini-action:hover {
      color: var(--accent);
      border-bottom-color: var(--accent);
    }

    /* Lower Column: Cartoon & Poetry */
    .lower-strip {
      margin-top: 48px;
      padding-top: 32px;
      border-top: 3px double var(--rule-dark);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }

    .salon-box {
      background: var(--surface);
      border: 1px solid var(--rule);
      padding: 26px;
    }

    .salon-box h3 {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 22px;
      font-weight: 400;
      margin: 6px 0 12px;
    }

    .poem-lines {
      font-style: italic;
      font-size: 16.5px;
      line-height: 1.75;
      margin: 0;
      color: #2B2825;
    }

    /* Slide-over Reader & Queue Drawer */
    .backdrop {
      position: fixed;
      inset: 0;
      background: rgba(18, 18, 18, 0.45);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.22s;
      z-index: 40;
    }

    .backdrop.open {
      opacity: 1;
      pointer-events: auto;
    }

    .drawer {
      position: fixed;
      top: 0;
      right: 0;
      width: min(460px, 100vw);
      height: 100vh;
      background: var(--canvas);
      border-left: 1px solid var(--rule-dark);
      transform: translateX(100%);
      transition: transform 0.26s ease;
      z-index: 50;
      display: flex;
      flex-direction: column;
      padding: 24px;
      overflow-y: auto;
    }

    .drawer.open {
      transform: translateX(0);
    }

    .drawer-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--rule-dark);
      margin-bottom: 20px;
    }

    .drawer-title {
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
      font-size: 12px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      margin: 0;
    }

    .close-btn {
      min-width: 44px;
      min-height: 44px;
      border: 1px solid var(--rule);
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
      font-size: 16px;
    }

    .queue-item {
      padding: 14px 0;
      border-bottom: 1px solid var(--rule);
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
    }

    @media (max-width: 900px) {
      .broadsheet {
        grid-template-columns: 1fr;
        gap: 32px;
      }
      .lead-essay {
        padding-right: 0;
        border-right: none;
        padding-bottom: 32px;
        border-bottom: 1px solid var(--rule);
      }
      .lower-strip {
        grid-template-columns: 1fr;
        gap: 24px;
      }
    }

    @media (max-width: 640px) {
      .page-shell {
        padding: 0 16px 48px;
      }
      .utility-date {
        display: none;
      }
      .mobile-menu-btn {
        display: flex;
      }
      .nav-bar {
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 8px 0 12px;
      }
      .nav-bar.open {
        display: flex;
      }
      .rubric-btn {
        text-align: left;
        border-top: 1px solid var(--rule);
      }
      .rubric-btn.active::after {
        display: none;
      }
    }
  </style>
</head>
<body>
  <div class="page-shell">
    <div class="utility-bar">
      <span>Vol. CI · No. 14</span>
      <span class="utility-date">New York · Print &amp; Digital Edition</span>
      <div class="utility-actions">
        <button class="queue-trigger" id="openQueueBtn" aria-label="Open saved reading list">
          Reading Folio <span class="queue-count" id="queueCount">1</span>
        </button>
      </div>
    </div>

    <header class="masthead">
      <div class="masthead-kicker">Essays · Criticism · Letter from Abroad · Fiction</div>
      <h1 class="masthead-title">The Metropolitan Ledger</h1>
      <p class="masthead-sub">A Weekly Journal of Culture, Architecture, and Civic Life</p>
    </header>

    <nav class="nav-wrap" aria-label="Editorial sections">
      <button class="mobile-menu-btn" id="mobileMenuBtn" aria-expanded="false">
        <span>Sections Index</span>
        <span id="mobileMenuGlyph">+</span>
      </button>
      <div class="nav-bar" id="navBar">
        <button class="rubric-btn active" data-section="all">All Dispatches</button>
        <button class="rubric-btn" data-section="essays">Dept. of Architecture</button>
        <button class="rubric-btn" data-section="criticism">The Critics</button>
        <button class="rubric-btn" data-section="abroad">Letter from Europe</button>
        <button class="rubric-btn" data-section="fiction">Fiction &amp; Verse</button>
      </div>
    </nav>

    <main class="broadsheet">
      <article class="lead-essay">
        <span class="rubric">Department of Urban Memory</span>
        <h2 class="lead-title">The Last Pneumatic Post Offices of Mid-Century Manhattan</h2>
        <p class="lead-deck">Before fiber-optic cables hummed beneath Sixth Avenue, brass canisters shot through twenty-seven miles of pressurized iron tubes—and shaped the rhythm of the city’s afternoons.</p>

        <div class="byline-row">
          <span>By <span class="byline-author">Eleanor Vance-Moreau</span></span>
          <span>14 Min Read · Print Issue</span>
        </div>

        <figure class="vignette-figure">
          <svg viewBox="0 0 640 280" role="img" aria-label="Pen and ink architectural illustration of Manhattan limestone facades and pneumatic brass canisters">
            <rect width="640" height="280" fill="#FAF8F3"/>
            <!-- Subtle crosshatch sky -->
            <g stroke="#D6D0C4" stroke-width="0.7">
              <line x1="20" y1="36" x2="620" y2="36"/>
              <line x1="20" y1="54" x2="620" y2="54"/>
              <line x1="20" y1="72" x2="620" y2="72"/>
              <line x1="20" y1="90" x2="620" y2="90"/>
            </g>
            <!-- Classical skyline silhouettes -->
            <path d="M40 215 V118 L68 96 L96 118 V215 Z" fill="#F1EDE3" stroke="#121212" stroke-width="1.6"/>
            <rect x="116" y="74" width="84" height="141" fill="#FAF8F3" stroke="#121212" stroke-width="1.6"/>
            <path d="M138 74 V52 H178 V74" fill="none" stroke="#121212" stroke-width="1.6"/>
            <rect x="220" y="102" width="126" height="113" fill="#F1EDE3" stroke="#121212" stroke-width="1.6"/>
            <path d="M250 102 C250 76, 316 76, 316 102" fill="#FAF8F3" stroke="#121212" stroke-width="1.6"/>
            <rect x="366" y="60" width="96" height="155" fill="#FAF8F3" stroke="#121212" stroke-width="1.6"/>
            <rect x="482" y="92" width="118" height="123" fill="#F1EDE3" stroke="#121212" stroke-width="1.6"/>
            <!-- Windows -->
            <g fill="none" stroke="#121212" stroke-width="1.2">
              <rect x="132" y="92" width="16" height="24"/><rect x="168" y="92" width="16" height="24"/>
              <rect x="132" y="132" width="16" height="24"/><rect x="168" y="132" width="16" height="24"/>
              <rect x="384" y="82" width="18" height="28"/><rect x="424" y="82" width="18" height="28"/>
              <rect x="384" y="128" width="18" height="28"/><rect x="424" y="128" width="18" height="28"/>
              <rect x="504" y="114" width="24" height="32"/><rect x="550" y="114" width="24" height="32"/>
            </g>
            <!-- Street horizon -->
            <line x1="18" y1="215" x2="622" y2="215" stroke="#121212" stroke-width="2.2"/>
            <!-- Underground pneumatic tube cutaway -->
            <path d="M24 246 H260 C295 246, 310 232, 350 232 H616" fill="none" stroke="#121212" stroke-width="10"/>
            <path d="M24 246 H260 C295 246, 310 232, 350 232 H616" fill="none" stroke="#FAF8F3" stroke-width="6"/>
            <!-- Crimson speeding brass canister -->
            <rect x="288" y="226" width="54" height="16" rx="7" fill="#C41E1E" stroke="#121212" stroke-width="1.5"/>
            <line x1="256" y1="234" x2="280" y2="234" stroke="#C41E1E" stroke-width="1.6" stroke-dasharray="4 4"/>
            <circle cx="520" cy="46" r="16" fill="none" stroke="#C41E1E" stroke-width="1.4"/>
            <line x1="520" y1="46" x2="520" y2="36" stroke="#C41E1E" stroke-width="1.4"/>
            <line x1="520" y1="46" x2="529" y2="46" stroke="#C41E1E" stroke-width="1.4"/>
          </svg>
          <figcaption class="vignette-caption">
            <span>Subterranean postal routing between Grand Central and the General Post Office.</span>
            <span>Ink Study by M. Halstead</span>
          </figcaption>
        </figure>

        <div class="essay-prose">
          <p class="dropcap">On a damp Tuesday in November of 1953, a postal clerk named Arthur Kowalski stood in the tiled basement of the Grand Central Annex, listening to a low brass sigh rise from the floor. Every twelve seconds, a steel-rimmed carrier packing six hundred first-class letters arrived from Bowling Green at thirty miles an hour, exhaling a faint scent of machine oil and river air.</p>
          <p>To walk across midtown today is to cross the silent ghosts of that network without knowing it. The cast-iron tubes—eight inches in diameter, bored and greased like rifle barrels—still rest beneath the asphalt, interrupted only where newer subway mezzanines sliced cleanly through their path.</p>
        </div>

        <div class="essay-actions">
          <button class="editorial-btn" id="readLeadBtn">Read Full Excerpt</button>
          <button class="editorial-btn" id="saveLeadBtn" data-id="lead">Save to Folio</button>
        </div>
      </article>

      <aside aria-label="Curated dispatches">
        <div class="rail-header">
          <h3 class="rail-heading">This Week’s Dispatches</h3>
          <span class="rail-meta" id="filterStatus">Showing all 5</span>
        </div>
        <div class="dispatch-list" id="dispatchList"></div>
      </aside>
    </main>

    <section class="lower-strip" aria-label="Salon and Verse">
      <div class="salon-box">
        <span class="rubric">Poem of the Week</span>
        <h3>Inventory of a Rainy Bookshop on Fourth Avenue</h3>
        <p class="poem-lines">
          Two ladders leaning toward the Latin grammars,<br>
          A radiator ticking like a pocket watch,<br>
          And in the doorway, four wet umbrellas<br>
          Keeping their own quiet parliament until dusk.
        </p>
      </div>
      <div class="salon-box">
        <span class="rubric">Talk of the Town</span>
        <h3>A Brief Defense of the Folding Wooden Map</h3>
        <p style="margin:0; font-size:16px; color:#36332F;">At the cartography table inside the municipal library’s reading room, an archivist demonstrates why linen-backed street atlases survive four generations of coffee rings—and why no pinch-to-zoom screen can replicate the pleasure of seeing an entire harbor at once.</p>
      </div>
    </section>
  </div>

  <div class="backdrop" id="backdrop"></div>
  <aside class="drawer" id="drawer" aria-hidden="true">
    <div class="drawer-top">
      <h3 class="drawer-title" id="drawerTitle">Reading Folio</h3>
      <button class="close-btn" id="closeDrawerBtn" aria-label="Close drawer">&times;</button>
    </div>
    <div id="drawerBody"></div>
  </aside>

  <script>
    const DISPATCHES = [
      {
        id: 'd1',
        section: 'criticism',
        rubric: 'The Critics · Music',
        title: 'Why Chamber Quartets Sound Clearer in Former Grain Silos',
        author: 'Julian H. Mercer',
        readTime: '8 min',
        excerpt: 'Acoustic engineers spent forty years chasing perfection in concert halls, only to discover that rough concrete cylinders carry cello overtones with startling intimacy.',
        fullText: 'Inside a decommissioned waterfront silo in Oslo, four string players set their music stands on raw timber planks. When the first chord of Schubert’s C-major Quintet leaves the bow, it does not vanish into velvet drapery; it rises sixty feet, curls gently against the curved wall, and returns as a warm halo.'
      },
      {
        id: 'd2',
        section: 'abroad',
        rubric: 'Letter from Vienna',
        title: 'The Quiet Politics of the Corner Coffeehouse Newspaper Rack',
        author: 'Klara Lindner',
        readTime: '11 min',
        excerpt: 'A single bentwood rack holding nine broadsheets on bamboo poles remains the last unhurried public square in central Europe.',
        fullText: 'To unfold a paper clipped to a varnished cane rod is to accept a certain choreography. You cannot scroll impatiently; you must clear space beside your porcelain saucer, trade glances with the waiter, and yield the arts section when the retired architect at the corner table clears his throat.'
      },
      {
        id: 'd3',
        section: 'essays',
        rubric: 'Dept. of Architecture',
        title: 'Limestone, Shadow, and the Lost Craft of the Recessed Entryway',
        author: 'David O. Kestrel',
        readTime: '9 min',
        excerpt: 'Modern curtain walls meet the sidewalk like glass cliffs, erasing the four-foot threshold where strangers once paused to fold their coats.',
        fullText: 'Walk down any avenue built before 1938 and count the tiny vestibules carved into the stone: shallow porches, brass mail drops, and terrazzo thresholds that belonged neither wholly to the street nor wholly to the lobby. They were civic shock absorbers.'
      },
      {
        id: 'd4',
        section: 'fiction',
        rubric: 'Fiction',
        title: 'The Ferryman’s Second Ledger',
        author: 'Nadia Benali',
        readTime: '16 min',
        excerpt: 'Every winter crossing brought the same seven commuters, except for the Thursday a woman boarded carrying a brass barometer wrapped in linen.',
        fullText: 'He kept the official manifest in blue ink for the harbor master and a smaller notebook in his coat pocket for the things passengers left behind: a single leather glove, a folded timetable from Marseilles, and once, an unopened letter addressed to a street that had been demolished in 1974.'
      },
      {
        id: 'd5',
        section: 'criticism',
        rubric: 'Books',
        title: 'A New Biography of the Typographer Who Refused to Design a Sans-Serif',
        author: 'Simon Alcott',
        readTime: '10 min',
        excerpt: 'Working from a cramped workshop in Antwerp, Hendrik Vermeer argued that human eyes were built for serifs—and spent five decades proving it in lead.',
        fullText: 'When modernist clients arrived from Zurich demanding geometric grotesks, Vermeer would pour them tea and slide a magnifying glass over a sixteenth-century Plantin folio. “Look at the feet of the letters,” he would say. “They are how the line remembers where it is walking.”'
      }
    ];

    const LEAD_ARTICLE = {
      id: 'lead',
      rubric: 'Department of Urban Memory',
      title: 'The Last Pneumatic Post Offices of Mid-Century Manhattan',
      author: 'Eleanor Vance-Moreau',
      fullText: 'On a damp Tuesday in November of 1953, a postal clerk named Arthur Kowalski stood in the tiled basement of the Grand Central Annex, listening to a low brass sigh rise from the floor. Between 1897 and 1953, New York’s pneumatic tube system carried up to ten million letters a day beneath congested avenues, linking twenty-two stations across Manhattan and across the Brooklyn Bridge. Engineers maintained the buried lines with obsessive care, sending greased leather swabs through the pipes at dawn and charting pressure drops on paper drums. When the compressors were finally switched off, the city gained highway trucks—and quietly lost its strangest subterranean clockwork.'
    };

    let activeSection = 'all';
    const savedIds = new Set(['d2']);

    const dispatchListEl = document.getElementById('dispatchList');
    const filterStatusEl = document.getElementById('filterStatus');
    const queueCountEl = document.getElementById('queueCount');
    const drawer = document.getElementById('drawer');
    const backdrop = document.getElementById('backdrop');
    const drawerTitle = document.getElementById('drawerTitle');
    const drawerBody = document.getElementById('drawerBody');
    const saveLeadBtn = document.getElementById('saveLeadBtn');

    function updateQueueCount() {
      queueCountEl.textContent = savedIds.size;
      const leadSaved = savedIds.has('lead');
      saveLeadBtn.classList.toggle('saved', leadSaved);
      saveLeadBtn.textContent = leadSaved ? 'Saved in Folio' : 'Save to Folio';
    }

    function renderDispatches() {
      const items = activeSection === 'all'
        ? DISPATCHES
        : DISPATCHES.filter(d => d.section === activeSection);

      filterStatusEl.textContent = `Showing ${items.length} of ${DISPATCHES.length}`;
      dispatchListEl.innerHTML = items.map(item => {
        const isSaved = savedIds.has(item.id);
        return `
          <article class="dispatch-item">
            <span class="rubric">${item.rubric}</span>
            <h4 class="dispatch-title" data-read="${item.id}">${item.title}</h4>
            <p class="dispatch-excerpt">${item.excerpt}</p>
            <div class="dispatch-footer">
              <span>${item.author} · ${item.readTime}</span>
              <button class="mini-action" data-save="${item.id}">${isSaved ? 'Saved ✓' : '+ Folio'}</button>
            </div>
          </article>
        `;
      }).join('');
    }

    function openDrawer(title, html) {
      drawerTitle.textContent = title;
      drawerBody.innerHTML = html;
      drawer.classList.add('open');
      drawer.setAttribute('aria-hidden', 'false');
      backdrop.classList.add('open');
    }

    function closeDrawer() {
      drawer.classList.remove('open');
      drawer.setAttribute('aria-hidden', 'true');
      backdrop.classList.remove('open');
    }

    function openReader(article) {
      openDrawer(article.rubric, `
        <h2 style="font-family:'Playfair Display',Georgia,serif;font-weight:400;font-size:28px;line-height:1.2;margin:0 0 10px;">${article.title}</h2>
        <p style="font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:0.08em;text-transform:uppercase;color:#66615B;margin:0 0 20px;">By ${article.author}</p>
        <p style="margin:0 0 16px;">${article.fullText}</p>
        <p style="font-style:italic;color:#66615B;font-size:15px;">From the Print &amp; Digital Edition of The Metropolitan Ledger.</p>
      `);
    }

    function openQueue() {
      const all = [LEAD_ARTICLE, ...DISPATCHES].filter(a => savedIds.has(a.id));
      if (!all.length) {
        openDrawer('Reading Folio', '<p style="font-style:italic;color:#66615B;">Your folio is empty. Save any essay or dispatch to keep it for unhurried reading.</p>');
        return;
      }
      openDrawer(`Reading Folio (${all.length})`, all.map(item => `
        <div class="queue-item">
          <div>
            <div style="font-family:'IBM Plex Mono',monospace;font-size:10px;text-transform:uppercase;letter-spacing:0.1em;color:#C41E1E;">${item.rubric}</div>
            <div style="font-family:'Playfair Display',Georgia,serif;font-size:18px;margin:4px 0;">${item.title}</div>
            <div style="font-size:13px;color:#66615B;">${item.author}</div>
          </div>
          <button class="mini-action" data-remove-queue="${item.id}">Remove</button>
        </div>
      `).join(''));
    }

    document.querySelectorAll('.rubric-btn').forEach(btn => {
      btn.addEventListener('click', () => {
        document.querySelectorAll('.rubric-btn').forEach(b => b.classList.remove('active'));
        btn.classList.add('active');
        activeSection = btn.dataset.section;
        renderDispatches();
        if (window.innerWidth <= 640) {
          document.getElementById('navBar').classList.remove('open');
          document.getElementById('mobileMenuBtn').setAttribute('aria-expanded', 'false');
          document.getElementById('mobileMenuGlyph').textContent = '+';
        }
      });
    });

    dispatchListEl.addEventListener('click', (e) => {
      const readEl = e.target.closest('[data-read]');
      if (readEl) {
        const found = DISPATCHES.find(d => d.id === readEl.dataset.read);
        if (found) openReader(found);
      }
      const saveEl = e.target.closest('[data-save]');
      if (saveEl) {
        const id = saveEl.dataset.save;
        savedIds.has(id) ? savedIds.delete(id) : savedIds.add(id);
        updateQueueCount();
        renderDispatches();
      }
    });

    drawerBody.addEventListener('click', (e) => {
      const rem = e.target.closest('[data-remove-queue]');
      if (rem) {
        savedIds.delete(rem.dataset.removeQueue);
        updateQueueCount();
        renderDispatches();
        openQueue();
      }
    });

    document.getElementById('readLeadBtn').addEventListener('click', () => openReader(LEAD_ARTICLE));
    saveLeadBtn.addEventListener('click', () => {
      savedIds.has('lead') ? savedIds.delete('lead') : savedIds.add('lead');
      updateQueueCount();
    });
    document.getElementById('openQueueBtn').addEventListener('click', openQueue);
    document.getElementById('closeDrawerBtn').addEventListener('click', closeDrawer);
    backdrop.addEventListener('click', closeDrawer);

    const mobileMenuBtn = document.getElementById('mobileMenuBtn');
    const navBar = document.getElementById('navBar');
    mobileMenuBtn.addEventListener('click', () => {
      const open = navBar.classList.toggle('open');
      mobileMenuBtn.setAttribute('aria-expanded', String(open));
      document.getElementById('mobileMenuGlyph').textContent = open ? '−' : '+';
    });

    updateQueueCount();
    renderDispatches();
  </script>
</body>
</html>
```
