{
  "id": 28,
  "slug": "subway-wayfinding-manual",
  "name": "Subway Wayfinding Manual",
  "kind": "style",
  "family": "Transit & Signage",
  "sourceSite": {
    "name": "Standards Manual",
    "url": "https://standardsmanual.com/",
    "verifiedStatus": 200
  },
  "tagline": "Massimo Vignelli 1970 NYC transit signage: stark black bands, thick white rules, Helvetica grids, and colored route bullets.",
  "whyUnique": "Brings the clarity of iconic municipal wayfinding to the web with unmistakable circular line bullets, directional arrows, and uncompromising black-and-white signage grids.",
  "theme": "mixed",
  "mobileStrength": "native-first",
  "tags": [
    "transit-signage",
    "vignelli",
    "wayfinding",
    "swiss-grotesque",
    "route-bullets"
  ],
  "bestFor": [
    "Public transit & mobility apps",
    "Design system archives",
    "City guides & event schedules",
    "High-legibility directional dashboards"
  ],
  "palette": [
    {
      "role": "canvas",
      "hex": "#FFFFFF",
      "name": "Enamel Sign White"
    },
    {
      "role": "surface",
      "hex": "#111111",
      "name": "Signage Black"
    },
    {
      "role": "ink",
      "hex": "#111111",
      "name": "Standard Black"
    },
    {
      "role": "accent",
      "hex": "#EE352E",
      "name": "IRT Broadway Red"
    },
    {
      "role": "muted",
      "hex": "#6E6E6E",
      "name": "Platform Concrete"
    }
  ],
  "typography": {
    "display": "Inter",
    "body": "Inter",
    "mono": "IBM Plex Mono",
    "googleFontsUrl": "https://fonts.googleapis.com/css2?family=Inter:wght@500;700;800&family=IBM+Plex+Mono:wght@500&display=swap",
    "scaleNotes": "Tight-tracked grotesque sans (Helvetica/Inter 700–800) with strict top-rule alignment, large circular route glyphs, and crisp directional arrows."
  },
  "layoutNotes": "Authentic overhead subway sign preview banner anchored by thick 4px horizontal rules, followed by an interactive station directory and route-line bullet filter grid.",
  "interactionNotes": "Interactive overhead sign specimen builder and route-line filter (1/2/3, A/C/E, 4/5/6, N/Q/R, L) that dynamically updates the live black-enamel station sign and transfer list.",
  "mobileNotes": "Route bullets remain large >=44px circular tap targets on 390px screens, while the live overhead sign scales fluidly without horizontal overflow.",
  "agentGuardrails": {
    "do": [
      "Anchor black signage headers with a crisp horizontal white stripe above the primary station name.",
      "Use authentic solid circular route bullets with high-contrast centered single letters or numerals.",
      "Align every column to a strict left-flushed Swiss typographic baseline."
    ],
    "dont": [
      "Never use serif fonts, soft gradients, or playful hand-drawn illustrations.",
      "Avoid low-contrast pastel route badges; transit colors must be vivid and immediately scannable."
    ]
  },
  "demoFile": "demos/subway-wayfinding-manual.html",
  "thumbDesktop": "thumbs/subway-wayfinding-manual-desktop.webp",
  "thumbMobile": "thumbs/subway-wayfinding-manual-mobile.webp",
  "urls": {
    "page": "https://templates.michaelpitts.net/t/subway-wayfinding-manual",
    "markdown": "https://templates.michaelpitts.net/t/subway-wayfinding-manual.md",
    "api": "https://templates.michaelpitts.net/api/templates/subway-wayfinding-manual",
    "demo": "https://templates.michaelpitts.net/demos/subway-wayfinding-manual.html",
    "thumbDesktop": "https://templates.michaelpitts.net/thumbs/subway-wayfinding-manual-desktop.webp",
    "thumbMobile": "https://templates.michaelpitts.net/thumbs/subway-wayfinding-manual-mobile.webp"
  },
  "agentPrompt": "Design & build using template #028 \"Subway Wayfinding Manual\" (style / Transit & Signage, mixed theme).\nFull AI blueprint & standalone starter code: https://templates.michaelpitts.net/t/subway-wayfinding-manual.md\nLive demo: https://templates.michaelpitts.net/demos/subway-wayfinding-manual.html\nReal-world inspiration: Standards Manual (https://standardsmanual.com/)\n\nCore aesthetic: Brings the clarity of iconic municipal wayfinding to the web with unmistakable circular line bullets, directional arrows, and uncompromising black-and-white signage grids.\nPalette: canvas: #FFFFFF (Enamel Sign White), surface: #111111 (Signage Black), ink: #111111 (Standard Black), accent: #EE352E (IRT Broadway Red), muted: #6E6E6E (Platform Concrete)\nTypography: Display=\"Inter\", Body=\"Inter\", Mono=\"IBM Plex Mono\"\nLayout: Authentic overhead subway sign preview banner anchored by thick 4px horizontal rules, followed by an interactive station directory and route-line bullet filter grid.\nInteractions: Interactive overhead sign specimen builder and route-line filter (1/2/3, A/C/E, 4/5/6, N/Q/R, L) that dynamically updates the live black-enamel station sign and transfer list.\nMobile: Route bullets remain large >=44px circular tap targets on 390px screens, while the live overhead sign scales fluidly without horizontal overflow.\n\nGuardrails:\n- DO: Anchor black signage headers with a crisp horizontal white stripe above the primary station name.\n- DO: Use authentic solid circular route bullets with high-contrast centered single letters or numerals.\n- DO: Align every column to a strict left-flushed Swiss typographic baseline.\n- DON'T: Never use serif fonts, soft gradients, or playful hand-drawn illustrations.\n- DON'T: Avoid low-contrast pastel route badges; transit colors must be vivid and immediately scannable.",
  "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>NYC Transit Graphics Standards Manual — 1970 Edition</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=Inter:wght@400;500;600;700;800&display=swap\" rel=\"stylesheet\">\n<style>\n  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }\n  :root {\n    --white: #ffffff;\n    --paper: #f7f7f5;\n    --black: #0a0a0a;\n    --gray-dark: #262626;\n    --gray-mid: #666666;\n    --rule: #d4d4d0;\n    --irt-red: #ee352e;\n    --ind-blue: #0039a6;\n    --lex-green: #00933c;\n    --bmt-yellow: #fccc0a;\n    --canarsie-gray: #808183;\n    --font: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;\n  }\n  html, body {\n    background: var(--white);\n    color: var(--black);\n    font-family: var(--font);\n    line-height: 1.45;\n    overflow-x: hidden;\n    -webkit-font-smoothing: antialiased;\n  }\n\n  /* Signature Vignelli Top Rule & Masthead */\n  .top-rule {\n    height: 10px;\n    background: var(--black);\n    width: 100%;\n  }\n  header {\n    border-bottom: 2px solid var(--black);\n    background: var(--white);\n    position: sticky;\n    top: 0;\n    z-index: 40;\n  }\n  .header-inner {\n    max-width: 1180px;\n    margin: 0 auto;\n    padding: 14px 20px;\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    gap: 12px;\n  }\n  .masthead {\n    text-decoration: none;\n    color: var(--black);\n    display: flex;\n    align-items: center;\n    gap: 12px;\n  }\n  .masthead-mark {\n    display: flex;\n    gap: 3px;\n  }\n  .mini-dot {\n    width: 12px;\n    height: 12px;\n    border-radius: 50%;\n    display: inline-block;\n  }\n  .masthead-text {\n    font-weight: 800;\n    font-size: 0.92rem;\n    letter-spacing: -0.02em;\n    line-height: 1.1;\n  }\n  .masthead-text span {\n    display: block;\n    font-weight: 500;\n    font-size: 0.68rem;\n    color: var(--gray-mid);\n    letter-spacing: 0.04em;\n    text-transform: uppercase;\n  }\n  .nav-links {\n    display: none;\n    list-style: none;\n    gap: 24px;\n  }\n  .nav-links a {\n    text-decoration: none;\n    color: var(--black);\n    font-size: 0.8rem;\n    font-weight: 600;\n    padding: 10px 0;\n    border-bottom: 2px solid transparent;\n  }\n  .nav-links a:hover { border-bottom-color: var(--black); }\n  .menu-toggle {\n    min-width: 44px;\n    min-height: 44px;\n    border: 2px solid var(--black);\n    background: var(--white);\n    color: var(--black);\n    font-family: var(--font);\n    font-weight: 700;\n    font-size: 0.76rem;\n    text-transform: uppercase;\n    padding: 0 12px;\n    cursor: pointer;\n  }\n  .mobile-menu {\n    display: none;\n    flex-direction: column;\n    background: var(--white);\n    border-bottom: 2px solid var(--black);\n    padding: 0 20px 12px;\n  }\n  .mobile-menu.open { display: flex; }\n  .mobile-menu a {\n    min-height: 44px;\n    display: flex;\n    align-items: center;\n    text-decoration: none;\n    color: var(--black);\n    font-weight: 700;\n    font-size: 0.86rem;\n    border-top: 1px solid var(--rule);\n  }\n\n  /* Main Container */\n  .container {\n    max-width: 1180px;\n    margin: 0 auto;\n    padding: 28px 20px 72px;\n  }\n  .plate-bar {\n    display: flex;\n    flex-wrap: wrap;\n    justify-content: space-between;\n    align-items: baseline;\n    gap: 8px;\n    padding-bottom: 12px;\n    border-bottom: 4px solid var(--black);\n    margin-bottom: 24px;\n  }\n  .plate-id {\n    font-size: 0.76rem;\n    font-weight: 700;\n    text-transform: uppercase;\n    letter-spacing: 0.06em;\n  }\n  .plate-meta {\n    font-size: 0.76rem;\n    color: var(--gray-mid);\n  }\n  h1 {\n    font-size: clamp(2rem, 5.5vw, 3.6rem);\n    font-weight: 800;\n    letter-spacing: -0.035em;\n    line-height: 1.02;\n    margin-bottom: 14px;\n    max-width: 18ch;\n  }\n  .intro-grid {\n    display: grid;\n    grid-template-columns: minmax(0, 1fr);\n    gap: 20px;\n    margin-bottom: 36px;\n  }\n  .intro-copy {\n    font-size: 0.96rem;\n    color: var(--gray-dark);\n    max-width: 58ch;\n  }\n  .bullet-strip {\n    display: flex;\n    flex-wrap: wrap;\n    gap: 8px;\n    align-items: center;\n  }\n\n  /* Authentic Circular Route Bullets */\n  .bullet {\n    width: 34px;\n    height: 34px;\n    border-radius: 50%;\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    font-weight: 700;\n    font-size: 1.05rem;\n    line-height: 1;\n    color: var(--white);\n    flex-shrink: 0;\n    user-select: none;\n  }\n  .bullet.sm { width: 26px; height: 26px; font-size: 0.82rem; }\n  .bullet.lg { width: 46px; height: 46px; font-size: 1.45rem; }\n  .b-red { background: var(--irt-red); }\n  .b-blue { background: var(--ind-blue); }\n  .b-green { background: var(--lex-green); }\n  .b-yellow { background: var(--bmt-yellow); color: var(--black); }\n  .b-gray { background: var(--canarsie-gray); }\n\n  /* Live Overhead Sign Specimen */\n  .specimen-section {\n    margin-bottom: 48px;\n  }\n  .sign-frame {\n    background: #e9e9e6;\n    padding: 20px 14px;\n    border: 1px solid var(--black);\n    margin-bottom: 20px;\n  }\n  .overhead-sign {\n    background: var(--black);\n    color: var(--white);\n    border-top: 6px solid var(--white);\n    padding: 18px 20px 24px;\n    box-shadow: 0 12px 28px rgba(0,0,0,0.22);\n    transition: background 0.2s, color 0.2s;\n  }\n  .overhead-sign.classic-white {\n    background: var(--white);\n    color: var(--black);\n    border: 2px solid var(--black);\n    border-top: 10px solid var(--black);\n  }\n  .sign-rule {\n    height: 2px;\n    background: currentColor;\n    margin-bottom: 14px;\n    opacity: 0.9;\n  }\n  .sign-top-row {\n    display: flex;\n    align-items: flex-start;\n    justify-content: space-between;\n    gap: 12px;\n    margin-bottom: 14px;\n  }\n  .sign-station {\n    font-size: clamp(1.55rem, 4.8vw, 2.85rem);\n    font-weight: 700;\n    letter-spacing: -0.025em;\n    line-height: 1.06;\n    word-break: break-word;\n  }\n  .sign-arrow {\n    font-size: clamp(1.6rem, 4.5vw, 2.75rem);\n    font-weight: 700;\n    line-height: 1;\n    flex-shrink: 0;\n  }\n  .sign-bottom-row {\n    display: flex;\n    flex-wrap: wrap;\n    align-items: center;\n    justify-content: space-between;\n    gap: 12px;\n  }\n  .sign-bullets {\n    display: flex;\n    flex-wrap: wrap;\n    gap: 8px;\n    align-items: center;\n  }\n  .sign-direction {\n    font-size: 0.92rem;\n    font-weight: 600;\n    letter-spacing: -0.01em;\n    opacity: 0.9;\n  }\n\n  /* Builder Controls */\n  .builder-grid {\n    display: grid;\n    grid-template-columns: minmax(0, 1fr);\n    gap: 18px;\n    padding: 20px;\n    border: 1px solid var(--black);\n    background: var(--paper);\n  }\n  .field-label {\n    display: block;\n    font-size: 0.72rem;\n    font-weight: 700;\n    text-transform: uppercase;\n    letter-spacing: 0.06em;\n    margin-bottom: 8px;\n  }\n  .text-input, .select-input {\n    width: 100%;\n    min-height: 44px;\n    padding: 10px 12px;\n    border: 2px solid var(--black);\n    background: var(--white);\n    color: var(--black);\n    font-family: var(--font);\n    font-size: 0.92rem;\n    font-weight: 600;\n  }\n  .toggle-row {\n    display: flex;\n    flex-wrap: wrap;\n    gap: 8px;\n  }\n  .style-btn {\n    min-height: 44px;\n    padding: 0 14px;\n    border: 2px solid var(--black);\n    background: var(--white);\n    color: var(--black);\n    font-family: var(--font);\n    font-size: 0.78rem;\n    font-weight: 700;\n    cursor: pointer;\n  }\n  .style-btn.active {\n    background: var(--black);\n    color: var(--white);\n  }\n  .bullet-picker {\n    display: flex;\n    flex-wrap: wrap;\n    gap: 8px;\n  }\n  .bullet-pick-btn {\n    min-width: 44px;\n    min-height: 44px;\n    border: 2px solid transparent;\n    background: var(--white);\n    display: grid;\n    place-items: center;\n    cursor: pointer;\n    padding: 3px;\n  }\n  .bullet-pick-btn[aria-pressed=\"true\"] {\n    border-color: var(--black);\n    background: #e4e4df;\n  }\n  .bullet-pick-btn[aria-pressed=\"false\"] .bullet {\n    opacity: 0.35;\n  }\n\n  /* Station Directory Filter */\n  .directory-section {\n    margin-bottom: 48px;\n  }\n  .filter-bar {\n    display: flex;\n    flex-wrap: wrap;\n    gap: 8px;\n    margin-bottom: 16px;\n  }\n  .filter-btn {\n    min-height: 44px;\n    padding: 0 14px;\n    border: 1.5px solid var(--black);\n    background: var(--white);\n    color: var(--black);\n    font-family: var(--font);\n    font-size: 0.78rem;\n    font-weight: 700;\n    display: inline-flex;\n    align-items: center;\n    gap: 8px;\n    cursor: pointer;\n  }\n  .filter-btn.active {\n    background: var(--black);\n    color: var(--white);\n  }\n  .station-table {\n    border-top: 3px solid var(--black);\n  }\n  .station-row {\n    width: 100%;\n    min-height: 58px;\n    padding: 12px 10px;\n    background: var(--white);\n    border: none;\n    border-bottom: 1px solid var(--rule);\n    display: grid;\n    grid-template-columns: minmax(0, 1fr) auto;\n    gap: 10px;\n    align-items: center;\n    text-align: left;\n    cursor: pointer;\n    font-family: var(--font);\n    color: var(--black);\n    transition: background 0.12s;\n  }\n  .station-row:hover { background: var(--paper); }\n  .station-name {\n    font-size: 0.98rem;\n    font-weight: 700;\n    letter-spacing: -0.015em;\n  }\n  .station-borough {\n    display: block;\n    font-size: 0.74rem;\n    color: var(--gray-mid);\n    font-weight: 500;\n  }\n  .station-lines {\n    display: flex;\n    flex-wrap: wrap;\n    gap: 5px;\n    justify-content: flex-end;\n  }\n\n  /* Grid Standards Plate */\n  .plate-grid {\n    display: grid;\n    grid-template-columns: minmax(0, 1fr);\n    gap: 20px;\n    border-top: 3px solid var(--black);\n    padding-top: 24px;\n  }\n  .plate-card {\n    border: 1px solid var(--black);\n    padding: 18px;\n    background: var(--white);\n  }\n  .plate-card h3 {\n    font-size: 0.86rem;\n    font-weight: 800;\n    text-transform: uppercase;\n    letter-spacing: 0.04em;\n    margin-bottom: 10px;\n  }\n  .plate-card p {\n    font-size: 0.86rem;\n    color: var(--gray-dark);\n    margin-bottom: 14px;\n  }\n  .plate-card svg {\n    width: 100%;\n    height: auto;\n    display: block;\n  }\n\n  footer {\n    border-top: 4px solid var(--black);\n    padding: 24px 20px;\n    max-width: 1180px;\n    margin: 0 auto;\n    display: flex;\n    flex-wrap: wrap;\n    justify-content: space-between;\n    gap: 10px;\n    font-size: 0.76rem;\n    font-weight: 600;\n  }\n\n  @media (min-width: 760px) {\n    .nav-links { display: flex; }\n    .menu-toggle { display: none; }\n    .mobile-menu { display: none !important; }\n    .intro-grid { grid-template-columns: 1.2fr 1fr; align-items: end; }\n    .builder-grid { grid-template-columns: 1fr 1fr; }\n    .builder-full { grid-column: 1 / -1; }\n    .plate-grid { grid-template-columns: 1fr 1fr; }\n    .sign-frame { padding: 32px; }\n    .overhead-sign { padding: 24px 32px 30px; }\n  }\n</style>\n</head>\n<body>\n<div class=\"top-rule\"></div>\n<header>\n  <div class=\"header-inner\">\n    <a href=\"#top\" class=\"masthead\">\n      <div class=\"masthead-mark\" aria-hidden=\"true\">\n        <span class=\"mini-dot b-red\"></span>\n        <span class=\"mini-dot b-blue\"></span>\n        <span class=\"mini-dot b-green\"></span>\n        <span class=\"mini-dot b-yellow\"></span>\n      </div>\n      <div class=\"masthead-text\">\n        NYCTA Graphics Standards\n        <span>Unimark International &middot; 1970</span>\n      </div>\n    </a>\n    <nav>\n      <ul class=\"nav-links\">\n        <li><a href=\"#builder\">Sign Builder</a></li>\n        <li><a href=\"#directory\">Station Directory</a></li>\n        <li><a href=\"#standards\">Grid Plates</a></li>\n      </ul>\n    </nav>\n    <button class=\"menu-toggle\" id=\"menuToggle\" aria-expanded=\"false\" aria-controls=\"mobileMenu\">Menu</button>\n  </div>\n  <div class=\"mobile-menu\" id=\"mobileMenu\">\n    <a href=\"#builder\">Sign Specimen Builder</a>\n    <a href=\"#directory\">Station Directory</a>\n    <a href=\"#standards\">Typography &amp; Grid Plates</a>\n  </div>\n</header>\n\n<main class=\"container\" id=\"top\">\n  <div class=\"plate-bar\">\n    <span class=\"plate-id\">Section 01 &middot; Visual Identification System</span>\n    <span class=\"plate-meta\">New York City Transit Authority &middot; Standard Medium</span>\n  </div>\n\n  <section class=\"intro-grid\">\n    <div>\n      <h1>Subway Wayfinding Manual</h1>\n      <p class=\"intro-copy\">\n        Designed by Massimo Vignelli and Bob Noorda to bring modular order to 468 stations. Every porcelain-enamel sign is constructed from a single typographic grid, directional arrow set, and color-coded trunk line bullet.\n      </p>\n    </div>\n    <div class=\"bullet-strip\" aria-label=\"Primary NYC Subway Route Bullets\">\n      <span class=\"bullet b-red\">1</span>\n      <span class=\"bullet b-red\">2</span>\n      <span class=\"bullet b-red\">3</span>\n      <span class=\"bullet b-blue\">A</span>\n      <span class=\"bullet b-blue\">C</span>\n      <span class=\"bullet b-blue\">E</span>\n      <span class=\"bullet b-green\">4</span>\n      <span class=\"bullet b-green\">5</span>\n      <span class=\"bullet b-green\">6</span>\n      <span class=\"bullet b-yellow\">N</span>\n      <span class=\"bullet b-yellow\">Q</span>\n      <span class=\"bullet b-yellow\">R</span>\n      <span class=\"bullet b-gray\">L</span>\n    </div>\n  </section>\n\n  <!-- Interactive Sign Specimen Builder -->\n  <section class=\"specimen-section\" id=\"builder\">\n    <div class=\"plate-bar\">\n      <span class=\"plate-id\">Plate 04 &middot; Live Overhead Sign Specimen</span>\n      <span class=\"plate-meta\">Porcelain Enamel on 16-Gauge Steel</span>\n    </div>\n\n    <div class=\"sign-frame\">\n      <div class=\"overhead-sign\" id=\"overheadSign\" aria-live=\"polite\">\n        <div class=\"sign-rule\"></div>\n        <div class=\"sign-top-row\">\n          <div class=\"sign-station\" id=\"signStation\">14 St–Union Sq</div>\n          <div class=\"sign-arrow\" id=\"signArrow\">&rarr;</div>\n        </div>\n        <div class=\"sign-bottom-row\">\n          <div class=\"sign-bullets\" id=\"signBullets\"></div>\n          <div class=\"sign-direction\" id=\"signDirection\">Downtown &amp; Brooklyn</div>\n        </div>\n      </div>\n    </div>\n\n    <div class=\"builder-grid\">\n      <div>\n        <label class=\"field-label\" for=\"stationInput\">Station Legend</label>\n        <input type=\"text\" id=\"stationInput\" class=\"text-input\" value=\"14 St–Union Sq\" maxlength=\"32\">\n      </div>\n      <div>\n        <label class=\"field-label\" for=\"directionSelect\">Directional Copy &amp; Arrow</label>\n        <select id=\"directionSelect\" class=\"select-input\">\n          <option value=\"Downtown & Brooklyn|→\">→ Downtown &amp; Brooklyn</option>\n          <option value=\"Uptown & The Bronx|←\">← Uptown &amp; The Bronx</option>\n          <option value=\"Manhattan & Queens|↑\">↑ Manhattan &amp; Queens</option>\n          <option value=\"Express Platform|↓\">↓ Express Platform</option>\n          <option value=\"Street Exit|↗\">↗ Street Exit</option>\n        </select>\n      </div>\n      <div class=\"builder-full\">\n        <span class=\"field-label\">Active Route Bullets (Tap to Toggle)</span>\n        <div class=\"bullet-picker\" id=\"bulletPicker\"></div>\n      </div>\n      <div class=\"builder-full\">\n        <span class=\"field-label\">Enamel Plate Polarity</span>\n        <div class=\"toggle-row\">\n          <button type=\"button\" class=\"style-btn active\" id=\"modeBlack\">1979 Black Enamel</button>\n          <button type=\"button\" class=\"style-btn\" id=\"modeWhite\">1970 Vignelli White</button>\n        </div>\n      </div>\n    </div>\n  </section>\n\n  <!-- Interactive Station Directory Filter -->\n  <section class=\"directory-section\" id=\"directory\">\n    <div class=\"plate-bar\">\n      <span class=\"plate-id\">Plate 12 &middot; Station Directory Index</span>\n      <span class=\"plate-meta\">Select any station to load onto overhead sign</span>\n    </div>\n\n    <div class=\"filter-bar\" role=\"group\" aria-label=\"Filter stations by trunk line\">\n      <button type=\"button\" class=\"filter-btn active\" data-filter=\"all\">All Lines</button>\n      <button type=\"button\" class=\"filter-btn\" data-filter=\"red\"><span class=\"bullet sm b-red\">1</span> Broadway–7 Av</button>\n      <button type=\"button\" class=\"filter-btn\" data-filter=\"blue\"><span class=\"bullet sm b-blue\">A</span> 8 Av Express</button>\n      <button type=\"button\" class=\"filter-btn\" data-filter=\"green\"><span class=\"bullet sm b-green\">4</span> Lexington Av</button>\n      <button type=\"button\" class=\"filter-btn\" data-filter=\"yellow\"><span class=\"bullet sm b-yellow\">N</span> Broadway BMT</button>\n      <button type=\"button\" class=\"filter-btn\" data-filter=\"gray\"><span class=\"bullet sm b-gray\">L</span> 14 St–Canarsie</button>\n    </div>\n\n    <div class=\"station-table\" id=\"stationList\"></div>\n  </section>\n\n  <!-- Standards Manual Grid Plates -->\n  <section id=\"standards\">\n    <div class=\"plate-bar\">\n      <span class=\"plate-id\">Plate 18 &middot; Modular Construction Grids</span>\n      <span class=\"plate-meta\">Unit Module = 1&frac12; Inches (38.1 mm)</span>\n    </div>\n    <div class=\"plate-grid\">\n      <div class=\"plate-card\">\n        <h3>Typographic Proportion (Standard Medium)</h3>\n        <p>Cap height is fixed at 2 units above baseline; circular route discs occupy exactly 3 vertical units aligned beneath the primary horizontal rule.</p>\n        <svg viewBox=\"0 0 360 150\" role=\"img\" aria-label=\"Typographic proportion diagram\">\n          <rect x=\"0\" y=\"0\" width=\"360\" height=\"150\" fill=\"#f7f7f5\" stroke=\"#0a0a0a\" stroke-width=\"1.5\"/>\n          <g stroke=\"#d4d4d0\" stroke-width=\"1\">\n            <line x1=\"0\" y1=\"30\" x2=\"360\" y2=\"30\"/>\n            <line x1=\"0\" y1=\"60\" x2=\"360\" y2=\"60\"/>\n            <line x1=\"0\" y1=\"90\" x2=\"360\" y2=\"90\"/>\n            <line x1=\"0\" y1=\"120\" x2=\"360\" y2=\"120\"/>\n            <line x1=\"60\" y1=\"0\" x2=\"60\" y2=\"150\"/>\n            <line x1=\"120\" y1=\"0\" x2=\"120\" y2=\"150\"/>\n            <line x1=\"180\" y1=\"0\" x2=\"180\" y2=\"150\"/>\n            <line x1=\"240\" y1=\"0\" x2=\"240\" y2=\"150\"/>\n            <line x1=\"300\" y1=\"0\" x2=\"300\" y2=\"150\"/>\n          </g>\n          <rect x=\"16\" y=\"18\" width=\"328\" height=\"6\" fill=\"#0a0a0a\"/>\n          <text x=\"16\" y=\"76\" font-family=\"Inter, Helvetica, Arial, sans-serif\" font-size=\"38\" font-weight=\"700\" letter-spacing=\"-1.5\" fill=\"#0a0a0a\">Canal St</text>\n          <circle cx=\"38\" cy=\"114\" r=\"19\" fill=\"#0039a6\"/>\n          <text x=\"38\" y=\"122\" text-anchor=\"middle\" font-family=\"Inter, Helvetica, sans-serif\" font-size=\"22\" font-weight=\"700\" fill=\"#ffffff\">A</text>\n          <circle cx=\"84\" cy=\"114\" r=\"19\" fill=\"#0039a6\"/>\n          <text x=\"84\" y=\"122\" text-anchor=\"middle\" font-family=\"Inter, Helvetica, sans-serif\" font-size=\"22\" font-weight=\"700\" fill=\"#ffffff\">C</text>\n          <text x=\"242\" y=\"118\" font-family=\"Inter, Helvetica, sans-serif\" font-size=\"11\" font-weight=\"700\" fill=\"#666666\">3U DISC / 2U CAP</text>\n        </svg>\n      </div>\n      <div class=\"plate-card\">\n        <h3>Directional Arrow Geometry</h3>\n        <p>45-degree chamfered heads constructed on a 7&times;7 square grid ensure immediate legibility at 60 feet along poorly lit station platforms.</p>\n        <svg viewBox=\"0 0 360 150\" role=\"img\" aria-label=\"Directional arrow geometric grid\">\n          <rect x=\"0\" y=\"0\" width=\"360\" height=\"150\" fill=\"#0a0a0a\"/>\n          <g stroke=\"#2a2a2a\" stroke-width=\"1\">\n            <line x1=\"40\" y1=\"25\" x2=\"320\" y2=\"25\"/>\n            <line x1=\"40\" y1=\"50\" x2=\"320\" y2=\"50\"/>\n            <line x1=\"40\" y1=\"75\" x2=\"320\" y2=\"75\"/>\n            <line x1=\"40\" y1=\"100\" x2=\"320\" y2=\"100\"/>\n            <line x1=\"40\" y1=\"125\" x2=\"320\" y2=\"125\"/>\n            <line x1=\"90\" y1=\"15\" x2=\"90\" y2=\"135\"/>\n            <line x1=\"180\" y1=\"15\" x2=\"180\" y2=\"135\"/>\n            <line x1=\"270\" y1=\"15\" x2=\"270\" y2=\"135\"/>\n          </g>\n          <!-- Authentic Vignelli Arrow -->\n          <polygon points=\"86,65 232,65 196,29 224,29 270,75 224,121 196,121 232,85 86,85\" fill=\"#ffffff\"/>\n          <text x=\"20\" y=\"138\" font-family=\"Inter, Helvetica, sans-serif\" font-size=\"10\" font-weight=\"600\" fill=\"#a3a3a3\">ANGLE 45° &middot; STROKE 20% HEIGHT</text>\n        </svg>\n      </div>\n    </div>\n  </section>\n</main>\n\n<footer>\n  <span>NEW YORK CITY TRANSIT AUTHORITY GRAPHICS STANDARDS MANUAL</span>\n  <span>ARCHIVE SPECIMEN &middot; 1970 / 1979</span>\n</footer>\n\n<script>\n(function () {\n  const menuToggle = document.getElementById('menuToggle');\n  const mobileMenu = document.getElementById('mobileMenu');\n  menuToggle.addEventListener('click', () => {\n    const open = mobileMenu.classList.toggle('open');\n    menuToggle.setAttribute('aria-expanded', String(open));\n  });\n  mobileMenu.querySelectorAll('a').forEach(a => a.addEventListener('click', () => {\n    mobileMenu.classList.remove('open');\n    menuToggle.setAttribute('aria-expanded', 'false');\n  }));\n\n  const routes = [\n    { id: '1', cls: 'b-red', trunk: 'red' },\n    { id: '2', cls: 'b-red', trunk: 'red' },\n    { id: '3', cls: 'b-red', trunk: 'red' },\n    { id: 'A', cls: 'b-blue', trunk: 'blue' },\n    { id: 'C', cls: 'b-blue', trunk: 'blue' },\n    { id: 'E', cls: 'b-blue', trunk: 'blue' },\n    { id: '4', cls: 'b-green', trunk: 'green' },\n    { id: '5', cls: 'b-green', trunk: 'green' },\n    { id: '6', cls: 'b-green', trunk: 'green' },\n    { id: 'N', cls: 'b-yellow', trunk: 'yellow' },\n    { id: 'Q', cls: 'b-yellow', trunk: 'yellow' },\n    { id: 'R', cls: 'b-yellow', trunk: 'yellow' },\n    { id: 'L', cls: 'b-gray', trunk: 'gray' }\n  ];\n\n  const stations = [\n    { name: '14 St–Union Sq', borough: 'Manhattan · Transfer Hub', lines: ['4','5','6','N','Q','R','L'], dir: 'Downtown & Brooklyn|→' },\n    { name: 'Times Sq–42 St', borough: 'Manhattan · Midtown West', lines: ['1','2','3','N','Q','R'], dir: 'Uptown & The Bronx|←' },\n    { name: '34 St–Penn Station', borough: 'Manhattan · 8 Av / 7 Av', lines: ['1','2','3','A','C','E'], dir: 'Express Platform|↓' },\n    { name: 'Grand Central–42 St', borough: 'Manhattan · Lexington Av', lines: ['4','5','6'], dir: 'Uptown & The Bronx|←' },\n    { name: 'West 4 St–Wash Sq', borough: 'Manhattan · Greenwich Village', lines: ['A','C','E'], dir: 'Downtown & Brooklyn|→' },\n    { name: 'Bedford Av', borough: 'Brooklyn · Williamsburg', lines: ['L'], dir: 'Manhattan & Queens|↑' },\n    { name: 'Canal St', borough: 'Manhattan · SoHo / Chinatown', lines: ['A','C','E','N','Q','R','6'], dir: 'Downtown & Brooklyn|→' },\n    { name: 'Fulton St', borough: 'Manhattan · Financial District', lines: ['2','3','4','5','A','C'], dir: 'Street Exit|↗' }\n  ];\n\n  const routeMap = Object.fromEntries(routes.map(r => [r.id, r]));\n  let selectedRoutes = new Set(['4', '5', '6', 'N', 'Q', 'R', 'L']);\n  let activeFilter = 'all';\n\n  const overheadSign = document.getElementById('overheadSign');\n  const signStation = document.getElementById('signStation');\n  const signArrow = document.getElementById('signArrow');\n  const signDirection = document.getElementById('signDirection');\n  const signBullets = document.getElementById('signBullets');\n  const stationInput = document.getElementById('stationInput');\n  const directionSelect = document.getElementById('directionSelect');\n  const bulletPicker = document.getElementById('bulletPicker');\n  const stationList = document.getElementById('stationList');\n\n  function renderSign() {\n    signStation.textContent = stationInput.value.trim() || 'Station Name';\n    const [dirText, arrow] = directionSelect.value.split('|');\n    signDirection.textContent = dirText;\n    signArrow.textContent = arrow;\n\n    signBullets.innerHTML = '';\n    routes.forEach(r => {\n      if (selectedRoutes.has(r.id)) {\n        const span = document.createElement('span');\n        span.className = `bullet lg ${r.cls}`;\n        span.textContent = r.id;\n        signBullets.appendChild(span);\n      }\n    });\n  }\n\n  function renderPicker() {\n    bulletPicker.innerHTML = '';\n    routes.forEach(r => {\n      const btn = document.createElement('button');\n      btn.type = 'button';\n      btn.className = 'bullet-pick-btn';\n      btn.setAttribute('aria-pressed', String(selectedRoutes.has(r.id)));\n      btn.setAttribute('aria-label', `Toggle route ${r.id}`);\n      btn.innerHTML = `<span class=\"bullet ${r.cls}\">${r.id}</span>`;\n      btn.addEventListener('click', () => {\n        if (selectedRoutes.has(r.id) && selectedRoutes.size > 1) {\n          selectedRoutes.delete(r.id);\n        } else {\n          selectedRoutes.add(r.id);\n        }\n        renderPicker();\n        renderSign();\n      });\n      bulletPicker.appendChild(btn);\n    });\n  }\n\n  function renderDirectory() {\n    stationList.innerHTML = '';\n    const filtered = stations.filter(st => {\n      if (activeFilter === 'all') return true;\n      return st.lines.some(id => routeMap[id] && routeMap[id].trunk === activeFilter);\n    });\n\n    filtered.forEach(st => {\n      const btn = document.createElement('button');\n      btn.type = 'button';\n      btn.className = 'station-row';\n      const bulletsHtml = st.lines.map(id => `<span class=\"bullet sm ${routeMap[id].cls}\">${id}</span>`).join('');\n      btn.innerHTML = `\n        <div>\n          <span class=\"station-name\">${st.name}</span>\n          <span class=\"station-borough\">${st.borough}</span>\n        </div>\n        <div class=\"station-lines\">${bulletsHtml}</div>\n      `;\n      btn.addEventListener('click', () => {\n        stationInput.value = st.name;\n        directionSelect.value = st.dir;\n        selectedRoutes = new Set(st.lines);\n        renderPicker();\n        renderSign();\n        document.getElementById('builder').scrollIntoView({ behavior: 'smooth', block: 'start' });\n      });\n      stationList.appendChild(btn);\n    });\n  }\n\n  stationInput.addEventListener('input', renderSign);\n  directionSelect.addEventListener('change', renderSign);\n\n  const modeBlack = document.getElementById('modeBlack');\n  const modeWhite = document.getElementById('modeWhite');\n  modeBlack.addEventListener('click', () => {\n    overheadSign.classList.remove('classic-white');\n    modeBlack.classList.add('active');\n    modeWhite.classList.remove('active');\n  });\n  modeWhite.addEventListener('click', () => {\n    overheadSign.classList.add('classic-white');\n    modeWhite.classList.add('active');\n    modeBlack.classList.remove('active');\n  });\n\n  document.querySelectorAll('.filter-btn').forEach(btn => {\n    btn.addEventListener('click', () => {\n      activeFilter = btn.dataset.filter;\n      document.querySelectorAll('.filter-btn').forEach(b => b.classList.toggle('active', b === btn));\n      renderDirectory();\n    });\n  });\n\n  renderPicker();\n  renderSign();\n  renderDirectory();\n})();\n</script>\n</body>\n</html>\n"
}
