:root { --blue: #2e73b9; --ink: #111; --muted: #666; --line: #e5e5e5; }
* { box-sizing: border-box; }
html, body { margin: 0; background: #fff; color: var(--ink); }
body { border-top: 10px solid var(--blue); border-bottom: 20px solid var(--blue); min-height: 100vh; }
body { font: 17px/1.6 Futura, 'Century Gothic', AppleGothic, 'Trebuchet MS', sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

header { text-align: center; padding: 48px 0 0; margin-bottom: 3em; }
header .logo img { width: 1001px; max-width: 100%; margin: 0 auto; }
nav ul { list-style: none; margin: 32px 0 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 8px; }
nav a { display: inline-block; padding: 1em 2em; font-size: 1.4em; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; font-weight: bold; color: var(--blue); }
nav a:hover, nav a:active { color: #000; background: #eee; }
nav a[aria-current='page'] { color: #000; }

main { padding: 0 20px 64px; }
h1, h2 { text-transform: uppercase; letter-spacing: 2px; font-weight: bold; text-align: center; }
h1 { font-size: 28px; margin: 0 0 16px; }
h2 { font-size: 22px; margin: 56px 0 20px; }
.intro { max-width: 640px; margin: 0 auto; text-align: center; font-size: 19px; }

.grid { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.grid button { all: unset; cursor: zoom-in; display: block; }
.grid button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.grid img { height: 180px; width: auto; }
@media (max-width: 700px) { .grid img { height: 120px; } }
@media (max-width: 420px) { .grid img { height: 96px; } }

.lightbox { position: fixed; inset: 0; z-index: 10; background: rgba(255,255,255,.97); display: none; flex-direction: column; align-items: center; justify-content: center; padding: 56px 12px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; }
.lightbox p { color: var(--muted); font-size: 14px; margin: 10px 0 0; text-align: center; }
.lightbox button { position: absolute; background: none; border: 0; font-size: 32px; width: 48px; height: 48px; cursor: pointer; color: var(--ink); }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; }
.lb-next { right: 4px; top: 50%; }

.store { max-width: 720px; margin: 0 auto; list-style: none; padding: 0; }
.store li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.store .title { flex: 1; }
.store .price { white-space: nowrap; }
.btn { display: inline-block; background: var(--blue); color: #fff; text-decoration: none; padding: 10px 18px; border: 0; border-radius: 4px; font: inherit; font-size: 15px; cursor: pointer; }
.btn:hover { background: #245c94; }
.note { text-align: center; color: var(--muted); }

form { max-width: 560px; margin: 0 auto; display: grid; gap: 16px; }
label { display: grid; gap: 4px; }
input, textarea { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #ccc; border-radius: 4px; width: 100%; }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.status { text-align: center; }
.links { list-style: none; padding: 0; margin: 40px 0 0; text-align: center; line-height: 2.2; }

footer { text-align: center; color: var(--muted); font-size: 14px; padding: 24px 0 40px; border-top: 1px solid var(--line); }
@media (max-width: 750px) { nav a { padding: 1em 1em; } }
@media (max-width: 575px) { nav ul { flex-direction: column; } nav a { display: block; padding: 0.8em 0; } }
.store.venues a.title { color: var(--blue); text-decoration: none; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; padding: 6px 0; }
.store.venues a.title:hover { color: #000; }
.store.venues .price { color: var(--muted); }
.store form { display: block; max-width: none; margin: 0; }

/* Store: a venue's shows as square tiles */
.tiles { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 20px; max-width: 1400px; }
.tiles a { display: block; text-decoration: none; color: var(--ink); text-align: center; }
.tiles img, .tile-blank { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #f2f2f2; }
.tiles a:hover img { opacity: .85; }
.tile-title { display: block; margin-top: 10px; font-weight: bold; color: var(--blue); }
.tile-meta { display: block; color: var(--muted); font-size: 15px; }
.tiles .note { grid-column: 1 / -1; }

/* Store: one show */
.show { display: flex; gap: 40px; max-width: 1000px; margin: 0 auto; align-items: flex-start; }
.show-tile { width: 420px; max-width: 100%; flex-shrink: 0; }
.show-info { flex: 1; }
.show-info h1 { text-align: left; }
.show-facts { color: var(--muted); margin: 0 0 16px; }
.show-price { font-size: 22px; font-weight: bold; margin: 20px 0 10px; }
.show-info .note { text-align: left; }
form.buy { display: block; max-width: none; margin: 0; }
@media (max-width: 760px) { .show { flex-direction: column; align-items: center; } .show-info, .show-info h1, .show-info .note { text-align: center; } }
