```html
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Natick Mall Billboard Studio — Body A.R.T. Studio 13</title>
<!-- Tailwind CSS -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- Real Scannable QR Code Generator (with offline canvas fallback) -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/qrcode-generator/1.4.4/qrcode.min.js"></script>
<!-- Google Fonts: Inter (UI) + Oswald (High-Impact Billboard Display) -->
<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=Inter:wght@400;500;600;700;800&family=Oswald:wght@500;600;700&display=swap" rel="stylesheet" />
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
fontFamily: {
sans: ['Inter', 'system-ui', 'sans-serif'],
display: ['Oswald', 'Impact', 'sans-serif'],
},
},
},
};
</script>
<style>
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: #0b0b0e;
}
::-webkit-scrollbar-thumb {
background: #27272a;
border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
background: #3f3f46;
}
/* Timeline Scrubber */
input[type='range'].studio-slider {
-webkit-appearance: none;
appearance: none;
background: transparent;
cursor: pointer;
}
input[type='range'].studio-slider::-webkit-slider-runnable-track {
height: 8px;
border-radius: 9999px;
background: transparent;
}
input[type='range'].studio-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
height: 18px;
width: 18px;
border-radius: 9999px;
background: #f8f7f4;
border: 3px solid #c81e2b;
margin-top: -5px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
transition: transform 0.12s ease;
}
input[type='range'].studio-slider::-webkit-slider-thumb:hover {
transform: scale(1.14);
}
input[type='range'].studio-slider::-moz-range-thumb {
height: 18px;
width: 18px;
border-radius: 9999px;
background: #f8f7f4;
border: 3px solid #c81e2b;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
/* Physical Mall Display Bezel */
.billboard-bezel {
box-shadow:
0 28px 65px -16px rgba(0, 0, 0, 0.92),
0 0 0 1px rgba(255, 255, 255, 0.08),
inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
</style>
</head>
<body class="bg-[#08080A] text-[#F8F7F4] font-sans antialiased min-h-screen flex flex-col selection:bg-[#C81E2B] selection:text-white">
<!-- Studio Header -->
<header class="border-b border-zinc-800/80 bg-[#0D0D11]/95 backdrop-blur-md sticky top-0 z-30">
<div class="max-w-[1460px] mx-auto px-4 sm:px-6 py-3 flex flex-wrap items-center justify-between gap-3">
<div class="flex items-center gap-3">
<div class="w-9 h-9 rounded-full bg-[#C81E2B] border-2 border-[#F8F7F4]/90 flex items-center justify-center font-display font-bold text-base tracking-wider text-white shadow-md">
13
</div>
<div>
<h1 class="text-sm sm:text-base font-bold tracking-tight text-white leading-tight">
Natick Mall Billboard Studio
</h1>
<p class="text-[11px] sm:text-xs text-zinc-400">
Lord & Taylor Center Court • Body A.R.T. Studio 13 — Holiday Gift Certificates
</p>
</div>
</div>
<!-- Natick Mall Spec Badges -->
<div class="flex flex-wrap items-center gap-1.5 text-[11px] font-medium">
<span class="px-2.5 py-1 rounded-md bg-zinc-900 border border-zinc-800 text-zinc-200">576 × 816 px</span>
<span class="px-2.5 py-1 rounded-md bg-zinc-900 border border-zinc-800 text-zinc-200">15.0s Loop</span>
<span class="px-2.5 py-1 rounded-md bg-zinc-900 border border-zinc-800 text-zinc-200">30 FPS</span>
<span class="px-2.5 py-1 rounded-md bg-zinc-900 border border-zinc-800 text-zinc-400">Silent H.264 / MOV</span>
</div>
</div>
</header>
<!-- Inline Toast Notification Stack (No alert()/confirm()) -->
<div id="toastContainer" class="fixed bottom-4 right-4 z-50 flex flex-col gap-2 pointer-events-none max-w-sm w-[calc(100%-2rem)]"></div>
<!-- Main Workspace -->
<main class="flex-1 max-w-[1460px] w-full mx-auto px-4 sm:px-6 py-5 sm:py-6 flex flex-col lg:flex-row gap-6 items-start">
<!-- LEFT / CENTER: Live 576×816 Billboard Preview & Playback Deck -->
<section class="w-full lg:flex-1 flex flex-col items-center gap-4">
<!-- Phase Indicator & Timecode -->
<div class="w-full max-w-[500px] flex items-center justify-between text-xs px-1">
<div class="flex items-center gap-2">
<span id="phaseDot" class="w-2.5 h-2.5 rounded-full bg-[#C81E2B]"></span>
<span id="phaseBadge" class="font-semibold tracking-wider uppercase text-zinc-200">Phase 1: Opener (0.0s – 3.0s)</span>
</div>
<div class="font-mono text-zinc-400">
<span id="timecodeDisplay" class="text-white font-semibold">00.0s</span> / 15.0s
</div>
</div>
<!-- Billboard Bezel & Locked 576×816 Internal Canvas -->
<div class="relative w-full max-w-[430px] sm:max-w-[456px] bg-[#141419] p-2.5 sm:p-3.5 rounded-2xl billboard-bezel">
<!-- Live Recording Overlay Badge -->
<div id="recordingBadge" class="hidden absolute top-5 left-5 z-20 flex items-center gap-2 px-3 py-1.5 rounded-full bg-[#C81E2B]/95 text-white text-xs font-bold tracking-wider uppercase shadow-lg">
<span class="w-2 h-2 rounded-full bg-white animate-ping"></span>
<span>REC 576×816 @ 30fps</span>
</div>
<div class="relative w-full overflow-hidden rounded-lg bg-[#0B0B0E]" style="aspect-ratio: 576 / 816;">
<canvas
id="billboardCanvas"
width="576"
height="816"
class="w-full h-full block"
></canvas>
</div>
<div class="mt-2.5 flex items-center justify-between px-1 text-[10px] uppercase tracking-widest text-zinc-500 font-medium">
<span>Physical Display: 14' H × 10' W</span>
<span id="safeZoneStatusText">Safe Zones: Visible</span>
</div>
</div>
<!-- Playback Controls, Scrubber & Preview Toggles -->
<div class="w-full max-w-[500px] bg-[#111116] border border-zinc-800/90 rounded-2xl p-4 flex flex-col gap-3.5">
<!-- Timeline Scrubber -->
<div class="flex flex-col gap-1.5">
<div class="relative h-6 flex items-center">
<!-- 3 Phase Track Segments: 0-3s (20%), 3-7.5s (30%), 7.5-15s (50%) -->
<div class="absolute inset-x-0 h-2 rounded-full overflow-hidden flex bg-zinc-800 pointer-events-none">
<div class="h-full bg-[#C81E2B]/55 border-r border-zinc-950" style="width: 20%;"></div>
<div class="h-full bg-amber-400/45 border-r border-zinc-950" style="width: 30%;"></div>
<div class="h-full bg-cyan-400/45" style="width: 50%;"></div>
</div>
<div id="scrubberProgress" class="absolute left-0 h-2 rounded-l-full bg-[#F8F7F4]/90 pointer-events-none" style="width: 0%;"></div>
<input
id="timelineScrubber"
type="range"
min="0"
max="15"
step="0.033"
value="0"
aria-label="15 second timeline scrubber"
class="studio-slider relative z-10 w-full"
/>
</div>
<!-- Quick-Jump Phase Buttons -->
<div class="grid grid-cols-3 gap-1.5 pt-0.5">
<button type="button" data-jump="0.8" class="px-2 py-2 rounded-lg bg-zinc-900 hover:bg-zinc-800 border border-zinc-800 text-[11px] font-semibold text-zinc-300 hover:text-white transition">
Opener (0–3s)
</button>
<button type="button" data-jump="5.2" class="px-2 py-2 rounded-lg bg-zinc-900 hover:bg-zinc-800 border border-zinc-800 text-[11px] font-semibold text-zinc-300 hover:text-white transition">
3 Deals (3–7.5s)
</button>
<button type="button" data-jump="8.0" class="px-2 py-2 rounded-lg bg-zinc-900 hover:bg-zinc-800 border border-zinc-800 text-[11px] font-semibold text-zinc-300 hover:text-white transition">
End Card (7.5–15s)
</button>
</div>
</div>
<!-- Transport Buttons -->
<div class="flex flex-wrap items-center justify-between gap-2 pt-1 border-t border-zinc-800/80">
<div class="flex items-center gap-2">
<button
id="playPauseBtn"
type="button"
class="px-4 py-2 rounded-xl bg-[#F8F7F4] text-zinc-950 hover:bg-zinc-200 active:scale-[0.98] font-semibold text-xs flex items-center gap-2 transition"
>
<svg id="playIcon" class="w-4 h-4 hidden" fill="currentColor" viewBox="0 0 24 24"><path d="M8 5v14l11-7z"/></svg>
<svg id="pauseIcon" class="w-4 h-4" fill="currentColor" viewBox="0 0 24 24"><path d="M6 19h4V5H6v14zm8-14v14h4V5h-4z"/></svg>
<span id="playPauseLabel">Pause</span>
</button>
<button
id="restartBtn"
type="button"
class="px-3.5 py-2 rounded-xl bg-zinc-800 hover:bg-zinc-700 text-zinc-200 font-medium text-xs flex items-center gap-1.5 transition"
>
<svg class="w-4 h-4" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"/></svg>
Restart
</button>
</div>
<label class="inline-flex items-center gap-2 text-xs text-zinc-300 cursor-pointer select-none px-2 py-1 rounded-lg hover:bg-zinc-800/60 transition">
<input id="loopToggle" type="checkbox" checked class="w-4 h-4 rounded accent-[#C81E2
```lp