# #004 — The Gentlewoman Biannual

> Authoritative tall serif masthead, monochrome portrait discipline, and crisp biannual issue indexing.

## Metadata

- **Index**: #004
- **Slug**: `the-gentlewoman-index`
- **Kind**: `style`
- **Family**: Magazine & Typography
- **Theme**: `light`
- **Mobile Strength**: `high`
- **Tags**: `monochrome`, `biannual-magazine`, `editorial-index`, `high-contrast`, `portrait-journal`, `british-print`
- **Best For**: Interview & portrait journals, Fashion & culture houses, Exhibition monographs, Curated editorial archives
- **Real-World Inspiration**: [The Gentlewoman](https://thegentlewoman.co.uk)
- **Detail Page**: https://templates.michaelpitts.net/t/the-gentlewoman-index
- **Live Demo**: https://templates.michaelpitts.net/demos/the-gentlewoman-index.html
- **JSON API**: https://templates.michaelpitts.net/api/templates/the-gentlewoman-index

## Why This Aesthetic Is Unique

Commands attention purely through typographic scale, strict black-on-porcelain contrast, and an uncompromising editorial grid that treats every interview subject like an archival monograph.

## Color Palette

| Role | Name | Hex |
|------|------|-----|
| `canvas` | Porcelain Gallery | `#FCFCFA` |
| `surface` | Archival Ash | `#F0F0EC` |
| `ink` | Carbon Black | `#0D0D0D` |
| `accent` | Deep Graphite | `#333330` |
| `muted` | Silver Slate | `#6F6F6B` |

## Typography

- **Display**: `Bodoni Moda, Didot, Georgia, serif`
- **Body**: `Source Serif 4, Georgia, serif`
- **Mono**: `Space Mono, ui-monospace, monospace`
- **Scale Notes**: Commanding Didone masthead and cover-subject titles paired with crisp transitional serif interview excerpts and monospaced issue numbers.
- **Google Fonts**: https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,600;0,6..96,700;1,6..96,400&family=Source+Serif+4:ital,wght@0,400;0,600;1,400&family=Space+Mono:wght@400&display=swap
  ```html
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,600;0,6..96,700;1,6..96,400&family=Source+Serif+4:ital,wght@0,400;0,600;1,400&family=Space+Mono:wght@400&display=swap">
  ```

## Layout Architecture

Full-bleed typographic masthead header, 2-column cover-feature spread with monochrome geometric portrait art, followed by an indexed archive table of past biannual issues and essays.

## Interaction & Micro-Motion Rules

Interactive issue-number switcher (Issues 28-31) that dynamically swaps the featured cover monograph, an alphabetical subject index filter, and a clean slide-over interview excerpt sheet.

## Mobile & Responsive Rules

Full-width masthead scales fluidly with CSS clamp(); the issue index transforms into spacious tappable rows (>=48px) with zero horizontal overflow at 390px.

## Agent Guardrails

### DO
- Rely on monochrome tonal hierarchy and hairline rules rather than decorative colors
- Feature bold, oversized Didone typography as the primary visual anchor
- Index issues clearly by volume number, season, and year

### DON'T
- Do not introduce colorful gradients, emojis, or rounded pill buttons
- Do not compress the masthead into a tiny navbar logo on the hero

## Complete Standalone Starter Code

File: `demos/the-gentlewoman-index.html`

```html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>THE MONOGRAPH — Biannual Portraits &amp; Longform Index</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=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,600;0,6..96,700;1,6..96,400&family=Source+Serif+4:ital,wght@0,400;0,600;1,400&family=Space+Mono:wght@400&display=swap" rel="stylesheet">
  <style>
    :root {
      --canvas: #FCFCFA;
      --surface: #F0F0EC;
      --ink: #0D0D0D;
      --accent: #333330;
      --muted: #6F6F6B;
      --line: #D4D4CE;
    }

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

    html, body {
      margin: 0;
      padding: 0;
      background: var(--canvas);
      color: var(--ink);
      font-family: 'Source Serif 4', Georgia, serif;
      font-size: 17px;
      line-height: 1.6;
      overflow-x: hidden;
    }

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

    .container {
      max-width: 1180px;
      margin: 0 auto;
      padding: 0 24px 72px;
    }

    /* Full-width Authoritative Masthead */
    .top-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 14px 0;
      border-bottom: 1px solid var(--ink);
      font-family: 'Space Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    .nav-links {
      display: flex;
      gap: 20px;
    }

    .nav-links button {
      min-height: 44px;
      font-family: 'Space Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .nav-links button:hover, .nav-links button.active {
      color: var(--ink);
      text-decoration: underline;
      text-underline-offset: 5px;
    }

    .mobile-nav-btn {
      display: none;
      min-height: 44px;
      padding: 0 12px;
      border: 1px solid var(--ink);
      font-family: 'Space Mono', monospace;
      font-size: 11px;
      text-transform: uppercase;
    }

    .giant-masthead {
      padding: 24px 0 20px;
      border-bottom: 1px solid var(--ink);
      text-align: center;
    }

    .giant-masthead h1 {
      font-family: 'Bodoni Moda', Didot, Georgia, serif;
      font-size: clamp(2.4rem, 7.2vw, 6.2rem);
      font-weight: 400;
      letter-spacing: -0.02em;
      line-height: 0.96;
      margin: 0;
      text-transform: uppercase;
    }

    .masthead-caption {
      display: flex;
      justify-content: space-between;
      margin-top: 14px;
      font-family: 'Space Mono', monospace;
      font-size: 11px;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    /* Biannual Issue Switcher Bar */
    .issue-strip {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid var(--line);
      padding: 12px 0;
      gap: 12px;
      flex-wrap: wrap;
    }

    .issue-pills {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
    }

    .issue-pill {
      min-height: 44px;
      padding: 0 16px;
      border: 1px solid var(--line);
      font-family: 'Space Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--muted);
      transition: background 0.15s, color 0.15s, border-color 0.15s;
    }

    .issue-pill.active, .issue-pill:hover {
      background: var(--ink);
      color: var(--canvas);
      border-color: var(--ink);
    }

    /* Cover Monograph Two-Column Spread */
    .cover-spread {
      display: grid;
      grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr);
      gap: 48px;
      padding: 44px 0 56px;
      border-bottom: 1px solid var(--ink);
      align-items: center;
    }

    .portrait-plate {
      background: var(--surface);
      border: 1px solid var(--ink);
      padding: 20px;
    }

    .portrait-plate svg {
      width: 100%;
      height: auto;
      display: block;
    }

    .plate-footer {
      display: flex;
      justify-content: space-between;
      margin-top: 12px;
      font-family: 'Space Mono', monospace;
      font-size: 10.5px;
      text-transform: uppercase;
      color: var(--muted);
    }

    .cover-editorial .issue-tag {
      font-family: 'Space Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 14px;
      display: block;
    }

    .cover-editorial h2 {
      font-family: 'Bodoni Moda', Didot, Georgia, serif;
      font-size: clamp(2.1rem, 4.2vw, 3.6rem);
      font-weight: 400;
      line-height: 1.06;
      margin: 0 0 18px;
    }

    .cover-quote {
      font-style: italic;
      font-size: 20px;
      line-height: 1.48;
      margin: 0 0 22px;
      padding-left: 18px;
      border-left: 2px solid var(--ink);
      color: var(--accent);
    }

    .cover-bio {
      margin: 0 0 26px;
      max-width: 56ch;
      color: #2A2A27;
    }

    .mono-cta {
      min-height: 46px;
      padding: 10px 22px;
      border: 1px solid var(--ink);
      font-family: 'Space Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      transition: background 0.15s, color 0.15s;
    }

    .mono-cta:hover {
      background: var(--ink);
      color: var(--canvas);
    }

    /* Indexed Subject Archive */
    .archive-section {
      padding-top: 44px;
    }

    .archive-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      margin-bottom: 24px;
    }

    .archive-head h3 {
      font-family: 'Bodoni Moda', Georgia, serif;
      font-size: 28px;
      font-weight: 400;
      margin: 0;
    }

    .discipline-bar {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
    }

    .disc-btn {
      min-height: 44px;
      padding: 0 12px;
      font-family: 'Space Mono', monospace;
      font-size: 11px;
      text-transform: uppercase;
      color: var(--muted);
      border-bottom: 1.5px solid transparent;
    }

    .disc-btn.active, .disc-btn:hover {
      color: var(--ink);
      border-bottom-color: var(--ink);
    }

    .index-table {
      width: 100%;
      border-top: 1px solid var(--ink);
    }

    .index-row {
      display: grid;
      grid-template-columns: 80px minmax(0, 2.2fr) minmax(0, 1.4fr) minmax(0, 2.6fr) 70px;
      gap: 16px;
      align-items: center;
      width: 100%;
      text-align: left;
      padding: 18px 8px;
      border-bottom: 1px solid var(--line);
      transition: background 0.15s;
    }

    .index-row:hover {
      background: var(--surface);
    }

    .idx-num {
      font-family: 'Space Mono', monospace;
      font-size: 11px;
      color: var(--muted);
    }

    .idx-subject {
      font-family: 'Bodoni Moda', Georgia, serif;
      font-size: 22px;
      font-weight: 400;
    }

    .idx-role {
      font-family: 'Space Mono', monospace;
      font-size: 11px;
      text-transform: uppercase;
      color: var(--muted);
    }

    .idx-line {
      font-style: italic;
      font-size: 15px;
      color: var(--accent);
    }

    .idx-arrow {
      text-align: right;
      font-family: 'Space Mono', monospace;
      font-size: 13px;
    }

    /* Excerpt Modal */
    .modal-bg {
      position: fixed;
      inset: 0;
      background: rgba(13, 13, 13, 0.52);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
      z-index: 50;
    }

    .modal-bg.open { display: flex; }

    .modal-sheet {
      background: var(--canvas);
      border: 1px solid var(--ink);
      max-width: 600px;
      width: 100%;
      padding: 32px;
      max-height: 90vh;
      overflow-y: auto;
    }

    .modal-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--ink);
      margin-bottom: 20px;
    }

    .modal-close {
      min-width: 44px;
      min-height: 44px;
      border: 1px solid var(--ink);
      font-family: 'Space Mono', monospace;
      font-size: 16px;
    }

    @media (max-width: 860px) {
      .cover-spread { grid-template-columns: 1fr; gap: 28px; }
      .index-row {
        grid-template-columns: 1fr auto;
        gap: 6px 12px;
      }
      .idx-num, .idx-line { grid-column: 1 / -1; }
      .idx-role { grid-column: 1; }
      .idx-arrow { grid-column: 2; grid-row: 2; }
    }

    @media (max-width: 640px) {
      .container { padding: 0 16px 48px; }
      .mobile-nav-btn { display: inline-flex; align-items: center; }
      .top-meta { flex-wrap: wrap; gap: 10px; }
      .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid var(--line);
        padding-top: 8px;
      }
      .nav-links.open { display: flex; }
      .nav-links button { text-align: left; }
      .masthead-caption { flex-direction: column; gap: 4px; align-items: center; }
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="top-meta">
      <span>London · Biannual Print</span>
      <button class="mobile-nav-btn" id="mobileNavBtn" aria-expanded="false">Index Menu</button>
      <nav class="nav-links" id="navLinks" aria-label="Primary">
        <button class="active" data-scroll="cover">Current Issue</button>
        <button data-scroll="archive">Subject Index</button>
        <button id="openColophonBtn">Colophon</button>
      </nav>
    </div>

    <header class="giant-masthead">
      <h1>The Monograph</h1>
      <div class="masthead-caption">
        <span>Portraits, Conversations &amp; Style</span>
        <span>Published Twice Yearly · Est. 2010</span>
      </div>
    </header>

    <div class="issue-strip" aria-label="Biannual issue selector">
      <span style="font-family:'Space Mono',monospace;font-size:11px;text-transform:uppercase;color:var(--muted);">Select Edition:</span>
      <div class="issue-pills" id="issuePills">
        <button class="issue-pill active" data-issue="31">No. 31 · Autumn</button>
        <button class="issue-pill" data-issue="30">No. 30 · Spring</button>
        <button class="issue-pill" data-issue="29">No. 29 · Autumn</button>
        <button class="issue-pill" data-issue="28">No. 28 · Spring</button>
      </div>
    </div>

    <section class="cover-spread" id="coverSection">
      <figure class="portrait-plate" style="margin:0;">
        <div id="coverSvgWrap"></div>
        <figcaption class="plate-footer">
          <span id="coverCredit">PORTRAIT STUDY · ISSUE 31</span>
          <span id="coverPages">PP. 84–109</span>
        </figcaption>
      </figure>

      <div class="cover-editorial">
        <span class="issue-tag" id="coverSeason">ISSUE NO. 31 · AUTUMN &amp; WINTER</span>
        <h2 id="coverName">Nadia Lindholm</h2>
        <p class="cover-quote" id="coverQuote">“Good architecture should feel as inevitable as a well-tailored wool coat—nothing superfluous, everything balanced.”</p>
        <p class="cover-bio" id="coverBio">Over three afternoons in her Antwerp studio, the Pritzker-shortlisted civic architect discusses concrete acoustics, lifelong mentors, and why she still draws initial floorplans with a 2B pencil.</p>
        <button class="mono-cta" id="readCoverBtn">Read Cover Interview</button>
      </div>
    </section>

    <section class="archive-section" id="archiveSection">
      <div class="archive-head">
        <h3>Alphabetical Subject Index</h3>
        <div class="discipline-bar" role="tablist" aria-label="Filter by discipline">
          <button class="disc-btn active" data-disc="all">All</button>
          <button class="disc-btn" data-disc="architecture">Architecture</button>
          <button class="disc-btn" data-disc="literature">Literature</button>
          <button class="disc-btn" data-disc="cinema">Cinema</button>
          <button class="disc-btn" data-disc="design">Design</button>
        </div>
      </div>

      <div class="index-table" id="indexTable"></div>
    </section>
  </div>

  <div class="modal-bg" id="modalBg" aria-hidden="true">
    <div class="modal-sheet">
      <div class="modal-head">
        <span style="font-family:'Space Mono',monospace;font-size:11px;text-transform:uppercase;letter-spacing:0.1em;" id="modalKicker">INTERVIEW EXCERPT</span>
        <button class="modal-close" id="modalClose" aria-label="Close">&times;</button>
      </div>
      <div id="modalBody"></div>
    </div>
  </div>

  <script>
    const ISSUES = {
      '31': {
        season: 'ISSUE NO. 31 · AUTUMN & WINTER',
        name: 'Nadia Lindholm',
        quote: '“Good architecture should feel as inevitable as a well-tailored wool coat—nothing superfluous, everything balanced.”',
        bio: 'Over three afternoons in her Antwerp studio, the civic architect discusses concrete acoustics, lifelong mentors, and why she still draws initial floorplans with a 2B pencil.',
        credit: 'PORTRAIT STUDY · ISSUE 31',
        pages: 'PP. 84–109',
        excerpt: 'Lindholm’s studio occupies a former bookbindery with twelve-foot north-facing windows. On the long oak table sits a single plaster model of a municipal library in Ghent. “People assume restraint is cold,” she says, pouring black tea. “In truth, restraint is what leaves room for the people who actually use the building.”',
        svg: '<svg viewBox="0 0 360 440"><rect width="360" height="440" fill="#FCFCFA"/><rect x="28" y="28" width="304" height="384" fill="#F0F0EC" stroke="#0D0D0D" stroke-width="1"/><circle cx="180" cy="176" r="78" fill="#0D0D0D"/><path d="M84 412 C94 316, 134 276, 180 276 C226 276, 266 316, 276 412 Z" fill="#1C1C1A"/><circle cx="180" cy="176" r="54" fill="#FCFCFA"/><path d="M126 176 A54 54 0 0 1 234 176" fill="#0D0D0D"/><line x1="28" y1="330" x2="332" y2="330" stroke="#0D0D0D" stroke-width="1"/></svg>'
      },
      '30': {
        season: 'ISSUE NO. 30 · SPRING & SUMMER',
        name: 'Céline Delacroix',
        quote: '“Editing a film is mostly the courage to delete the cleverest scene you shot.”',
        bio: 'The acclaimed French film editor and director reflects on thirty years in Parisian cutting rooms, analog 35mm splicers, and narrative silence.',
        credit: 'PORTRAIT STUDY · ISSUE 30',
        pages: 'PP. 62–88',
        excerpt: 'Delacroix still insists on screening rough cuts without temporary music. “Music hides weak rhythm,” she explains. “When a cut holds its breath in complete silence, you know the pacing is honest.”',
        svg: '<svg viewBox="0 0 360 440"><rect width="360" height="440" fill="#0D0D0D"/><rect x="34" y="34" width="292" height="372" fill="none" stroke="#FCFCFA" stroke-width="1"/><circle cx="180" cy="190" r="88" fill="#FCFCFA"/><rect x="132" y="138" width="96" height="148" fill="#0D0D0D"/><line x1="34" y1="220" x2="326" y2="220" stroke="#FCFCFA" stroke-width="1.2"/></svg>'
      },
      '29': {
        season: 'ISSUE NO. 29 · AUTUMN & WINTER',
        name: 'Mariko Takahashi',
        quote: '“A chair should look as poised from behind as it does from the front.”',
        bio: 'From her Osaka workshop, the industrial furniture designer talks about bent beechwood, museum commissions, and refusing seasonal trend cycles.',
        credit: 'PORTRAIT STUDY · ISSUE 29',
        pages: 'PP. 112–136',
        excerpt: 'Takahashi’s workshop smells faintly of steamed ash and linseed oil. Every prototype stays in her own dining room for six months before she approves a single production drawing.',
        svg: '<svg viewBox="0 0 360 440"><rect width="360" height="440" fill="#FCFCFA"/><g stroke="#0D0D0D" stroke-width="1.4" fill="none"><rect x="44" y="44" width="272" height="352"/><line x1="180" y1="44" x2="180" y2="396"/><circle cx="180" cy="220" r="92" fill="#0D0D0D"/><circle cx="180" cy="220" r="46" fill="#FCFCFA"/></g></svg>'
      },
      '28': {
        season: 'ISSUE NO. 28 · SPRING & SUMMER',
        name: 'Zadie Holloway',
        quote: '“I write first drafts in notebooks because paper never offers to autocomplete my sentence.”',
        bio: 'The novelist and essayist opens her London study to discuss literary friendship, archival research, and the discipline of daily pages.',
        credit: 'PORTRAIT STUDY · ISSUE 28',
        pages: 'PP. 48–74',
        excerpt: 'Stacks of fountain-pen notebooks line the mantelpiece, indexed only by year and city. Holloway believes every essay needs at least one moment where the writer changes her own mind mid-paragraph.',
        svg: '<svg viewBox="0 0 360 440"><rect width="360" height="440" fill="#F0F0EC"/><polygon points="180,58 308,368 52,368" fill="#0D0D0D"/><circle cx="180" cy="252" r="56" fill="#FCFCFA"/><line x1="40" y1="58" x2="320" y2="58" stroke="#0D0D0D" stroke-width="1.2"/></svg>'
      }
    };

    const ARCHIVE = [
      { no: 'NO. 31', subject: 'Amina Okafor', disc: 'literature', role: 'Essayist & Critic', line: 'On translating West African oral histories into print.', excerpt: 'Okafor argues that cadence matters as much as literal meaning: “When you read a translated page aloud and your breath catches in the right place, the bridge has held.”' },
      { no: 'NO. 30', subject: 'Beatrice Solari', disc: 'architecture', role: 'Landscape Architect', line: 'Designing public botanical courtyards inside Milanese blocks.', excerpt: 'Solari converts paved industrial yards into shaded gravel gardens that cool surrounding apartments by four degrees in August.' },
      { no: 'NO. 29', subject: 'Clara Lindqvist', disc: 'cinema', role: 'Cinematographer', line: 'Why black-and-white 16mm reveals character faster than color.', excerpt: 'Working almost exclusively with natural window light, Lindqvist treats shadow density as an emotional barometer for every scene.' },
      { no: 'NO. 28', subject: 'Elena Varga', disc: 'design', role: 'Book Typographer', line: 'Thirty years of setting classical art catalogues in Vienna.', excerpt: 'Varga’s studio houses four hundred metal-type specimens. “Margins are not empty space,” she insists. “They are the frame that lets the eye rest.”' },
      { no: 'NO. 27', subject: 'Sora Watanabe', disc: 'design', role: 'Textile Conservator', line: 'Preserving nineteenth-century indigo kasuri looms.', excerpt: 'At the Kyoto Textile Archive, Watanabe repairs century-old weaves under raking daylight using threads dyed in the same fermented vats.' }
    ];

    let currentIssue = '31';
    let currentDisc = 'all';

    function renderIssue(key) {
      currentIssue = key;
      const data = ISSUES[key];
      document.getElementById('coverSvgWrap').innerHTML = data.svg;
      document.getElementById('coverCredit').textContent = data.credit;
      document.getElementById('coverPages').textContent = data.pages;
      document.getElementById('coverSeason').textContent = data.season;
      document.getElementById('coverName').textContent = data.name;
      document.getElementById('coverQuote').textContent = data.quote;
      document.getElementById('coverBio').textContent = data.bio;
      document.querySelectorAll('.issue-pill').forEach(p => p.classList.toggle('active', p.dataset.issue === key));
    }

    function renderArchive() {
      const list = currentDisc === 'all' ? ARCHIVE : ARCHIVE.filter(a => a.disc === currentDisc);
      document.getElementById('indexTable').innerHTML = list.map((item, idx) => `
        <button class="index-row" data-arch="${ARCHIVE.indexOf(item)}">
          <span class="idx-num">${item.no}</span>
          <span class="idx-subject">${item.subject}</span>
          <span class="idx-role">${item.role}</span>
          <span class="idx-line">${item.line}</span>
          <span class="idx-arrow">&rarr;</span>
        </button>
      `).join('');
    }

    function openModal(kicker, title, bodyHtml) {
      document.getElementById('modalKicker').textContent = kicker;
      document.getElementById('modalBody').innerHTML = `
        <h2 style="font-family:'Bodoni Moda',Georgia,serif;font-size:32px;font-weight:400;margin:0 0 14px;">${title}</h2>
        ${bodyHtml}
      `;
      document.getElementById('modalBg').classList.add('open');
      document.getElementById('modalBg').setAttribute('aria-hidden', 'false');
    }

    function closeModal() {
      document.getElementById('modalBg').classList.remove('open');
      document.getElementById('modalBg').setAttribute('aria-hidden', 'true');
    }

    document.getElementById('issuePills').addEventListener('click', (e) => {
      const pill = e.target.closest('[data-issue]');
      if (pill) renderIssue(pill.dataset.issue);
    });

    document.querySelectorAll('.disc-btn').forEach(btn => {
      btn.addEventListener('click', () => {
        document.querySelectorAll('.disc-btn').forEach(b => b.classList.remove('active'));
        btn.classList.add('active');
        currentDisc = btn.dataset.disc;
        renderArchive();
      });
    });

    document.getElementById('indexTable').addEventListener('click', (e) => {
      const row = e.target.closest('[data-arch]');
      if (!row) return;
      const item = ARCHIVE[Number(row.dataset.arch)];
      openModal(`${item.no} · ${item.role}`, item.subject, `
        <p style="font-style:italic;color:var(--muted);margin:0 0 16px;">${item.line}</p>
        <p style="margin:0;">${item.excerpt}</p>
      `);
    });

    document.getElementById('readCoverBtn').addEventListener('click', () => {
      const d = ISSUES[currentIssue];
      openModal(d.season, d.name, `
        <p style="font-style:italic;border-left:2px solid var(--ink);padding-left:14px;margin:0 0 16px;">${d.quote}</p>
        <p style="margin:0;">${d.excerpt}</p>
      `);
    });

    document.getElementById('openColophonBtn').addEventListener('click', () => {
      openModal('COLOPHON · PRINT EDITION', 'The Monograph Biannual', `
        <p style="margin:0 0 12px;">Printed in Verona on 115gsm Arctic Volume Ivory and bound with exposed thread sewing. Published every March and September.</p>
        <p style="font-family:'Space Mono',monospace;font-size:12px;color:var(--muted);margin:0;">ISSN 2044-8910 · LONDON EC1</p>
      `);
    });

    document.querySelectorAll('[data-scroll]').forEach(btn => {
      btn.addEventListener('click', () => {
        const target = btn.dataset.scroll === 'cover' ? 'coverSection' : 'archiveSection';
        document.getElementById(target).scrollIntoView({ behavior: 'smooth' });
        document.getElementById('navLinks').classList.remove('open');
      });
    });

    document.getElementById('modalClose').addEventListener('click', closeModal);
    document.getElementById('modalBg').addEventListener('click', (e) => {
      if (e.target === e.currentTarget) closeModal();
    });

    document.getElementById('mobileNavBtn').addEventListener('click', function () {
      const open = document.getElementById('navLinks').classList.toggle('open');
      this.setAttribute('aria-expanded', String(open));
    });

    renderIssue('31');
    renderArchive();
  </script>
</body>
</html>
```
