Monocle Global Dispatch
Crisp international affairs briefing with condensed Swiss grids, matte obsidian ink, and signature mustard gold.
Inspired by Monocle ↗
WHY THIS AESTHETIC IS UNIQUE
Merges cosmopolitan print-magazine warmth with Swiss utility: live bureau world-clocks, tight hairline-ruled dispatch grids, matte charcoal audio bars, and unmistakable mustard-gold editorial accents.
BEST FOR
TAGS
COLOR PALETTE (CLICK TO COPY HEX)
TYPOGRAPHY
- Display
- Libre Baskerville, Georgia, serif
- Body
- Work Sans, -apple-system, BlinkMacSystemFont, sans-serif
- Mono
- JetBrains Mono, ui-monospace, monospace
- Scale
- Authoritative serif headlines paired with disciplined geometric sans decks and crisp tabular monospace timestamps for global bureaus.
ARCHITECTURE & MOBILE NOTES
LAYOUT
Matte black live-radio utility strip at top, bureau ticker (London, Tokyo, Zurich, Toronto), 3-column hairline dispatch grid with a featured dark briefing card and quarterly print-issue shelf.
INTERACTION
Interactive live bureau timezone switcher, simulated radio briefing play/pause bar with active show switcher, and bureau filter tabs (Affairs, Design, Culture, Business).
MOBILE
Bureau clocks scroll smoothly inside a contained flex row or toggle cleanly; radio strip anchors compactly with >=44px controls and dispatches stack into crisp full-width editorial rows.
AI AGENT GUARDRAILS
DO
- Pair high-contrast white editorial grids with a single matte-black audio or briefing bar
- Use Mustard Gold sparingly for active indicators, issue badges, and rule highlights
- Keep corner radii at 0px-2px to preserve crisp Swiss print authority
DON'T
- Do not flood large backgrounds with bright yellow; keep mustard as a razor-sharp accent
- Do not use playful or bubbly display fonts
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>MERIDIAN — Global Affairs, Design & Bureau Dispatch</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=JetBrains+Mono:wght@400;500&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Work+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
:root {
--canvas: #FFFFFF;
--surface: #F5F4F0;
--ink: #191919;
--accent: #E5A910;
--muted: #6E6D68;
--border: #DDDAD2;
}
*, *::before, *::after { box-sizing: border-box; }
html, body {
margin: 0;
padding: 0;
background: var(--canvas);
color: var(--ink);
font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
font-size: 15px;
line-height: 1.55;
overflow-x: hidden;
}
button {
font-family: inherit;
cursor: pointer;
border: none;
background: none;
color: inherit;
}
/* Matte Obsidian Radio Utility Bar */
.radio-bar {
background: var(--ink);
color: #FFFFFF;
border-bottom: 2px solid var(--accent);
}
.radio-inner {
max-width: 1240px;
margin: 0 auto;
padding: 8px 20px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
flex-wrap: wrap;
}
.radio-live {
display: flex;
align-items: center;
gap: 12px;
min-width: 0;
}
.play-btn {
min-width: 44px;
min-height: 44px;
background: var(--accent);
color: var(--ink);
font-weight: 700;
font-size: 13px;
display: inline-flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
transition: filter 0.15s;
}
.play-btn:hover { filter: brightness(1.08); }
.on-air-pill {
font-family: 'JetBrains Mono', monospace;
font-size: 10px;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--accent);
display: inline-flex;
align-items: center;
gap: 6px;
}
.eq-bars {
display: inline-flex;
align-items: flex-end;
gap: 2px;
height: 12px;
}
.eq-bars span {
width: 2.5px;
background: var(--accent);
height: 4px;
transition: height 0.15s;
}
.eq-bars.playing span:nth-child(1) { animation: eq 0.7s infinite alternate; }
.eq-bars.playing span:nth-child(2) { animation: eq 0.45s infinite alternate 0.15s; }
.eq-bars.playing span:nth-child(3) { animation: eq 0.6s infinite alternate 0.3s; }
@keyframes eq {
from { height: 3px; }
to { height: 12px; }
}
.radio-show-title {
font-weight: 600;
font-size: 14px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.show-switcher {
display: flex;
gap: 6px;
flex-wrap: wrap;
}
.show-btn {
min-height: 36px;
padding: 6px 10px;
font-family: 'JetBrains Mono', monospace;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.06em;
color: #B7B6B0;
border: 1px solid #383834;
}
.show-btn.active {
border-color: var(--accent);
color: #FFFFFF;
background: #282722;
}
/* Bureau World Clocks */
.clock-strip {
background: var(--surface);
border-bottom: 1px solid var(--border);
}
.clock-inner {
max-width: 1240px;
margin: 0 auto;
padding: 0 20px;
display: flex;
align-items: stretch;
justify-content: space-between;
gap: 0;
overflow-x: auto;
scrollbar-width: none;
}
.clock-inner::-webkit-scrollbar { display: none; }
.bureau-clock {
flex: 1 0 auto;
min-height: 44px;
padding: 10px 14px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
border-right: 1px solid var(--border);
font-family: 'JetBrains Mono', monospace;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--muted);
}
.bureau-clock:last-child { border-right: none; }
.bureau-clock.active {
background: var(--canvas);
color: var(--ink);
box-shadow: inset 0 -2px 0 var(--accent);
}
.clock-time { color: var(--ink); font-weight: 500; }
/* Header & Navigation */
.site-container {
max-width: 1240px;
margin: 0 auto;
padding: 0 20px 60px;
}
.masthead-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 24px 0 18px;
border-bottom: 2px solid var(--ink);
gap: 16px;
}
.brand-mark {
display: flex;
align-items: center;
gap: 12px;
}
.brand-dot {
width: 14px;
height: 14px;
background: var(--accent);
border-radius: 50%;
flex-shrink: 0;
}
.brand-word {
font-family: 'Work Sans', sans-serif;
font-weight: 700;
font-size: clamp(1.5rem, 3.2vw, 2.2rem);
letter-spacing: 0.22em;
text-transform: uppercase;
margin: 0;
}
.nav-tabs {
display: flex;
align-items: center;
gap: 4px;
}
.nav-tab {
min-height: 44px;
padding: 8px 14px;
font-size: 12px;
font-weight: 600;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--muted);
border-bottom: 2px solid transparent;
}
.nav-tab.active, .nav-tab:hover {
color: var(--ink);
border-bottom-color: var(--accent);
}
.mobile-toggle {
display: none;
min-width: 44px;
min-height: 44px;
border: 1px solid var(--ink);
font-family: 'JetBrains Mono', monospace;
font-size: 12px;
text-transform: uppercase;
padding: 0 12px;
}
/* Bureau Focus Banner */
.bureau-note {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 0;
border-bottom: 1px solid var(--border);
font-size: 13px;
color: var(--muted);
gap: 12px;
flex-wrap: wrap;
}
.bureau-note strong { color: var(--ink); }
/* Main Swiss Dispatch Grid */
.dispatch-stage {
display: grid;
grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
gap: 28px;
margin-top: 28px;
}
/* Left Matte-Obsidian Feature Card */
.obsidian-brief {
background: var(--ink);
color: #FFFFFF;
padding: 28px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.tag-mustard {
display: inline-block;
background: var(--accent);
color: var(--ink);
font-family: 'JetBrains Mono', monospace;
font-size: 10px;
font-weight: 600;
letter-spacing: 0.12em;
text-transform: uppercase;
padding: 4px 8px;
margin-bottom: 16px;
}
.obsidian-brief h2 {
font-family: 'Libre Baskerville', Georgia, serif;
font-size: clamp(1.5rem, 2.4vw, 2rem);
font-weight: 400;
line-height: 1.28;
margin: 0 0 14px;
}
.obsidian-brief p {
color: #D2D0C8;
font-size: 15px;
margin: 0 0 22px;
}
.svg-frame-dark {
background: #232320;
border: 1px solid #383833;
padding: 16px;
margin-bottom: 20px;
}
.svg-frame-dark svg { width: 100%; height: auto; display: block; }
.brief-meta {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 16px;
border-top: 1px solid #353531;
font-family: 'JetBrains Mono', monospace;
font-size: 11px;
color: #A6A49C;
}
/* Right 2x2 Crisp Bureau Grid */
.bureau-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 20px;
}
.story-card {
border-top: 2px solid var(--ink);
padding-top: 14px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.story-kicker {
display: flex;
justify-content: space-between;
font-family: 'JetBrains Mono', monospace;
font-size: 10.5px;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--muted);
margin-bottom: 8px;
}
.story-kicker .cat { color: var(--ink); font-weight: 600; }
.story-art {
background: var(--surface);
border: 1px solid var(--border);
padding: 12px;
margin-bottom: 12px;
}
.story-art svg { width: 100%; height: 96px; display: block; }
.story-card h3 {
font-family: 'Libre Baskerville', Georgia, serif;
font-size: 17px;
font-weight: 400;
line-height: 1.35;
margin: 0 0 8px;
}
.story-card p {
font-size: 14px;
color: var(--muted);
margin: 0 0 12px;
}
.story-foot {
font-family: 'JetBrains Mono', monospace;
font-size: 11px;
color: var(--muted);
}
/* Quarterly Print Issue Shelf */
.print-shelf {
margin-top: 44px;
padding-top: 28px;
border-top: 2px solid var(--ink);
}
.shelf-head {
display: flex;
align-items: baseline;
justify-content: space-between;
margin-bottom: 20px;
gap: 12px;
flex-wrap: wrap;
}
.shelf-head h2 {
font-size: 13px;
font-weight: 700;
letter-spacing: 0.16em;
text-transform: uppercase;
margin: 0;
}
.issue-row {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 20px;
}
.issue-card {
background: var(--surface);
border: 1px solid var(--border);
padding: 20px;
display: flex;
gap: 16px;
align-items: center;
text-align: left;
transition: border-color 0.15s;
}
.issue-card:hover, .issue-card.selected {
border-color: var(--ink);
box-shadow: inset 3px 0 0 var(--accent);
}
.issue-cover {
width: 68px;
height: 88px;
flex-shrink: 0;
border: 1px solid var(--ink);
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 8px 6px;
font-family: 'JetBrains Mono', monospace;
font-size: 9px;
text-transform: uppercase;
}
.issue-info h4 {
font-family: 'Libre Baskerville', Georgia, serif;
font-size: 15px;
margin: 0 0 4px;
}
.issue-info p {
font-size: 13px;
color: var(--muted);
margin: 0;
}
.issue-preview {
margin-top: 16px;
padding: 18px 22px;
background: var(--surface);
border-left: 4px solid var(--accent);
font-size: 14px;
display: flex;
justify-content: space-between;
align-items: center;
gap: 16px;
flex-wrap: wrap;
}
@media (max-width: 960px) {
.dispatch-stage { grid-template-columns: 1fr; }
.issue-row { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
.site-container { padding: 0 16px 48px; }
.bureau-grid { grid-template-columns: 1fr; }
.mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
.masthead-row { flex-wrap: wrap; }
.nav-tabs {
display: none;
width: 100%;
flex-direction: column;
align-items: stretch;
padding-top: 12px;
border-top: 1px solid var(--border);
}
.nav-tabs.open { display: flex; }
.nav-tab { text-align: left; }
.show-switcher { width: 100%; }
.show-btn { flex: 1; text-align: center; min-height: 44px; }
}
</style>
</head>
<body>
<div class="radio-bar">
<div class="radio-inner">
<div class="radio-live">
<button class="play-btn" id="playToggle" aria-label="Play or pause radio briefing">▶</button>
<div style="min-width:0;">
<div class="on-air-pill">
<span>MERIDIAN 24 RADIO</span>
<span class="eq-bars" id="eqBars"><span></span><span></span><span></span></span>
</div>
<div class="radio-show-title" id="radioShowTitle">The Morning Briefing — Zurich & London Desk</div>
</div>
</div>
<div class="show-switcher" role="tablist" aria-label="Radio programmes">
<button class="show-btn active" data-show="The Morning Briefing — Zurich & London Desk">Briefing</button>
<button class="show-btn" data-show="The Urbanist — Night Trains & Timber Stations">Urbanist</button>
<button class="show-btn" data-show="Section D — Kyoto Craft & Architecture">Section D</button>
</div>
</div>
</div>
<div class="clock-strip" aria-label="Global bureau clocks">
<div class="clock-inner" id="clockStrip"></div>
</div>
<div class="site-container">
<header class="masthead-row">
<div class="brand-mark">
<span class="brand-dot" aria-hidden="true"></span>
<h1 class="brand-word">Meridian</h1>
</div>
<button class="mobile-toggle" id="mobileToggle" aria-expanded="false">Menu</button>
<nav class="nav-tabs" id="navTabs" aria-label="Editorial desks">
<button class="nav-tab active" data-desk="all">All Desks</button>
<button class="nav-tab" data-desk="affairs">Affairs</button>
<button class="nav-tab" data-desk="design">Design</button>
<button class="nav-tab" data-desk="business">Business</button>
<button class="nav-tab" data-desk="culture">Culture</button>
</nav>
</header>
<div class="bureau-note">
<span id="bureauStatus"><strong>London HQ Dispatch:</strong> Filed from Midori House · 18°C Overcast</span>
<span style="font-family:'JetBrains Mono',monospace;font-size:11px;">ISSUE 184 · PRINT & AUDIO</span>
</div>
<main class="dispatch-stage">
<article class="obsidian-brief">
<div>
<span class="tag-mustard">Lead Briefing · Zurich</span>
<h2>How Alpine Rail Timetables Became Europe’s Quietest Diplomatic Tool</h2>
<p>Cross-border night sleepers from Zurich to Milan and Vienna are outpacing regional flights—and forcing mayors to redesign station districts around slow hospitality.</p>
<div class="svg-frame-dark">
<svg viewBox="0 0 360 160" role="img" aria-label="Swiss schematic transit map of Alpine rail corridors">
<rect width="360" height="160" fill="#1C1C19"/>
<g stroke="#2F2F2A" stroke-width="1">
<line x1="0" y1="40" x2="360" y2="40"/><line x1="0" y1="80" x2="360" y2="80"/><line x1="0" y1="120" x2="360" y2="120"/>
<line x1="90" y1="0" x2="90" y2="160"/><line x1="180" y1="0" x2="180" y2="160"/><line x1="270" y1="0" x2="270" y2="160"/>
</g>
<path d="M24 126 L112 78 L210 88 L328 36" fill="none" stroke="#E5A910" stroke-width="3"/>
<path d="M112 78 L180 34 L300 44" fill="none" stroke="#FFFFFF" stroke-width="1.6" stroke-dasharray="5 4"/>
<path d="M210 88 L268 134 L336 124" fill="none" stroke="#9B9990" stroke-width="1.6"/>
<circle cx="24" cy="126" r="5" fill="#FFFFFF"/><circle cx="112" cy="78" r="6" fill="#E5A910" stroke="#191919" stroke-width="2"/>
<circle cx="210" cy="88" r="5" fill="#FFFFFF"/><circle cx="328" cy="36" r="5" fill="#E5A910"/>
<text x="104" y="64" fill="#FFFFFF" font-family="JetBrains Mono, monospace" font-size="9">ZURICH HB</text>
<text x="200" y="106" fill="#D2D0C8" font-family="JetBrains Mono, monospace" font-size="9">INNSBRUCK</text>
<text x="292" y="24" fill="#E5A910" font-family="JetBrains Mono, monospace" font-size="9">VIENNA</text>
</svg>
</div>
</div>
<div class="brief-meta">
<span>BY LUKAS STEINER</span>
<span>6 MIN BRIEFING</span>
</div>
</article>
<section class="bureau-grid" id="bureauGrid" aria-label="Bureau stories"></section>
</main>
<section class="print-shelf" aria-label="Quarterly Print Editions">
<div class="shelf-head">
<h2>In Print — Quarterly Editions</h2>
<span style="font-family:'JetBrains Mono',monospace;font-size:11px;color:var(--muted);">SELECT AN ISSUE TO INSPECT</span>
</div>
<div class="issue-row" id="issueRow">
<button class="issue-card selected" data-issue="184">
<div class="issue-cover" style="background:#191919;color:#FFF;">
<span style="color:#E5A910;">NO. 184</span>
<span>GLOBAL</span>
</div>
<div class="issue-info">
<h4>The Civic Infrastructure Issue</h4>
<p>Rail corridors, timber libraries, and resilient port cities.</p>
</div>
</button>
<button class="issue-card" data-issue="183">
<div class="issue-cover" style="background:#E5A910;color:#191919;">
<span>NO. 183</span>
<span>DESIGN</span>
</div>
<div class="issue-info">
<h4>Design Directory Annual</h4>
<p>Fifty small-batch industrial studios from Osaka to Basel.</p>
</div>
</button>
<button class="issue-card" data-issue="182">
<div class="issue-cover" style="background:#FFFFFF;color:#191919;">
<span style="color:#6E6D68;">NO. 182</span>
<span>WINTER</span>
</div>
<div class="issue-info">
<h4>The Northern Craft Report</h4>
<p>Wool mills, alpine workshops, and independent bookshops.</p>
</div>
</button>
</div>
<div class="issue-preview" id="issuePreview">
<span><strong>Issue 184 · 224 Pages:</strong> Printed in Bavaria on uncoated Munken stock. Includes 36-page Zurich Mobility Dossier.</span>
<span style="font-family:'JetBrains Mono',monospace;font-size:11px;">£9.00 / €12.00</span>
</div>
</section>
</div>
<script>
const BUREAUS = [
{ city: 'London', tz: 'Europe/London', note: 'London HQ Dispatch: Filed from Midori House · Thames Maritime Summit' },
{ city: 'Zurich', tz: 'Europe/Zurich', note: 'Zurich Bureau: Alpine Rail Dossier & Swiss Industrial Exports' },
{ city: 'Tokyo', tz: 'Asia/Tokyo', note: 'Tokyo Bureau: Tomigaya Desk · Craft Manufacturing & Retail' },
{ city: 'Toronto', tz: 'America/Toronto', note: 'Toronto Bureau: Great Lakes Civic Transit & Timber Housing' },
{ city: 'Milan', tz: 'Europe/Rome', note: 'Milan Bureau: Salone Preview & Family-Owned Furniture Mills' }
];
const STORIES = [
{
desk: 'design',
city: 'TOKYO',
cat: 'Design',
title: 'Why Kyoto’s Cedar Joiners Are Partnering with Acoustic Architects',
summary: 'Zero-nail mortise-and-tenon halls are finding new life inside listening bars and neighborhood libraries.',
time: '4 MIN',
svg: '<svg viewBox="0 0 240 96"><rect width="240" height="96" fill="#F5F4F0"/><g stroke="#191919" stroke-width="1.5" fill="none"><rect x="24" y="16" width="56" height="64"/><rect x="92" y="16" width="56" height="64"/><rect x="160" y="16" width="56" height="64"/><line x1="24" y1="48" x2="216" y2="48" stroke="#E5A910" stroke-width="2.5"/></g></svg>'
},
{
desk: 'affairs',
city: 'HELSINKI',
cat: 'Affairs',
title: 'The Quiet Diplomacy of Baltic Ferry Terminals',
summary: 'How two-hour electric crossings between Helsinki and Tallinn knit two tech economies into one commuter belt.',
time: '5 MIN',
svg: '<svg viewBox="0 0 240 96"><rect width="240" height="96" fill="#F5F4F0"/><path d="M16 66 Q60 52 120 66 T224 66" fill="none" stroke="#191919" stroke-width="1.8"/><polygon points="72,56 168,56 156,36 86,36" fill="#191919"/><rect x="106" y="24" width="28" height="12" fill="#E5A910"/></svg>'
},
{
desk: 'business',
city: 'MILAN',
cat: 'Business',
title: 'Inside the Family-Run Wool Mills Supplying Independent Tailors',
summary: 'Biella’s third-generation weavers are bypassing luxury conglomerates to ship small runs directly to ateliers.',
time: '6 MIN',
svg: '<svg viewBox="0 0 240 96"><rect width="240" height="96" fill="#F5F4F0"/><g stroke="#191919" stroke-width="1.3"><line x1="30" y1="20" x2="210" y2="20"/><line x1="30" y1="38" x2="210" y2="38"/><line x1="30" y1="56" x2="210" y2="56"/><line x1="30" y1="74" x2="210" y2="74"/></g><rect x="86" y="14" width="16" height="68" fill="#E5A910"/><rect x="138" y="14" width="16" height="68" fill="#191919"/></svg>'
},
{
desk: 'culture',
city: 'LISBON',
cat: 'Culture',
title: 'Neighborhood Print Kiosks Reborn as Evening Espresso Counters',
summary: 'Municipal tenders in Baixa are preserving century-old iron newsstands by pairing print dailies with local roasters.',
time: '3 MIN',
svg: '<svg viewBox="0 0 240 96"><rect width="240" height="96" fill="#F5F4F0"/><circle cx="120" cy="48" r="28" fill="none" stroke="#191919" stroke-width="2"/><circle cx="120" cy="48" r="14" fill="#E5A910"/><line x1="32" y1="48" x2="78" y2="48" stroke="#191919" stroke-width="1.5"/><line x1="162" y1="48" x2="208" y2="48" stroke="#191919" stroke-width="1.5"/></svg>'
}
];
const ISSUES = {
'184': '<strong>Issue 184 · 224 Pages:</strong> Printed in Bavaria on uncoated Munken stock. Includes 36-page Zurich Mobility Dossier.',
'183': '<strong>Issue 183 · 248 Pages:</strong> Annual industrial & furniture design directory profiling 50 independent workshops.',
'182': '<strong>Issue 182 · 212 Pages:</strong> Winter dispatch covering Nordic textile mills, bookshops, and mountain architecture.'
};
let activeBureau = 0;
let activeDesk = 'all';
let isPlaying = false;
function formatClock(tz) {
try {
return new Intl.DateTimeFormat('en-GB', { hour: '2-digit', minute: '2-digit', timeZone: tz }).format(new Date());
} catch {
return '12:00';
}
}
function renderClocks() {
const strip = document.getElementById('clockStrip');
strip.innerHTML = BUREAUS.map((b, idx) => `
<button class="bureau-clock ${idx === activeBureau ? 'active' : ''}" data-bureau="${idx}">
<span>${b.city}</span>
<span class="clock-time">${formatClock(b.tz)}</span>
</button>
`).join('');
}
function renderStories() {
const list = activeDesk === 'all' ? STORIES : STORIES.filter(s => s.desk === activeDesk);
document.getElementById('bureauGrid').innerHTML = list.map(s => `
<article class="story-card">
<div>
<div class="story-kicker"><span class="cat">${s.cat}</span><span>${s.city}</span></div>
<div class="story-art">${s.svg}</div>
<h3>${s.title}</h3>
<p>${s.summary}</p>
</div>
<div class="story-foot">${s.time} READ · PRINT & WEB</div>
</article>
`).join('');
}
document.getElementById('clockStrip').addEventListener('click', (e) => {
const btn = e.target.closest('[data-bureau]');
if (!btn) return;
activeBureau = Number(btn.dataset.bureau);
document.getElementById('bureauStatus').innerHTML = `<strong>${BUREAUS[activeBureau].city} Desk:</strong> ${BUREAUS[activeBureau].note}`;
renderClocks();
});
document.querySelectorAll('.nav-tab').forEach(tab => {
tab.addEventListener('click', () => {
document.querySelectorAll('.nav-tab').forEach(t => t.classList.remove('active'));
tab.classList.add('active');
activeDesk = tab.dataset.desk;
renderStories();
document.getElementById('navTabs').classList.remove('open');
});
});
const playToggle = document.getElementById('playToggle');
const eqBars = document.getElementById('eqBars');
playToggle.addEventListener('click', () => {
isPlaying = !isPlaying;
playToggle.innerHTML = isPlaying ? '❚❚' : '▶';
eqBars.classList.toggle('playing', isPlaying);
});
document.querySelectorAll('.show-btn').forEach(btn => {
btn.addEventListener('click', () => {
document.querySelectorAll('.show-btn').forEach(b => b.classList.remove('active'));
btn.classList.add('active');
document.getElementById('radioShowTitle').textContent = btn.dataset.show;
if (!isPlaying) {
isPlaying = true;
playToggle.innerHTML = '❚❚';
eqBars.classList.add('playing', true);
}
});
});
document.querySelectorAll('.issue-card').forEach(card => {
card.addEventListener('click', () => {
document.querySelectorAll('.issue-card').forEach(c => c.classList.remove('selected'));
card.classList.add('selected');
document.getElementById('issuePreview').innerHTML = `
<span>${ISSUES[card.dataset.issue]}</span>
<span style="font-family:'JetBrains Mono',monospace;font-size:11px;">£9.00 / €12.00</span>
`;
});
});
document.getElementById('mobileToggle').addEventListener('click', function () {
const open = document.getElementById('navTabs').classList.toggle('open');
this.setAttribute('aria-expanded', String(open));
this.textContent = open ? 'Close' : 'Menu';
});
renderClocks();
renderStories();
setInterval(renderClocks, 30000);
</script>
</body>
</html>