:root {
  --ink: #111;
  --muted: #777;
  --line: #e8e8e8;
  --brand: #8cbfe6;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 15px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.hidden, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px clamp(16px, 4vw, 40px);
  background: #fff;
}
.brand { font-weight: 700; letter-spacing: .2em; font-size: 14px; color: var(--brand); }
.nav-links { display: flex; gap: 24px; font-size: 14px; }

/* Album */
.hero { padding: 24px 16px 72px; text-align: center; }
.cover { display: block; width: min(820px, 100%); margin: 0 auto; }
.release { margin: 28px 0 6px; font-size: 15px; }
.links { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin: 0; font-size: 14px; }
.links a { text-decoration: underline; text-underline-offset: 3px; }

/* Sections */
.section { padding: 64px 16px; text-align: center; }
h2 { font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 28px; }

/* Listen */
.spotify { display: block; width: min(640px, 100%); margin: 0 auto; border: 0; border-radius: 12px; }
#listen { padding-top: 0; }

/* Shows */
.shows { list-style: none; margin: 0 auto; padding: 0; width: min(640px, 100%); font-size: 14px; }
.shows li { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); text-align: left; }
.shows li:last-child { border-bottom: 1px solid var(--line); }
.shows .tba { display: block; text-align: center; color: var(--muted); }

/* Gallery wall */
.gallery-feature { width: min(1080px, 100%); margin: 0 auto 10px; }
.gallery { width: min(1080px, 100%); margin: 0 auto; columns: 3; column-gap: 10px; }
.gallery a { display: block; margin: 0 0 10px; break-inside: avoid; background: #f2f2f2; }
.gallery-feature a { display: block; }
.gallery img, .gallery-feature img { width: 100%; height: auto; transition: opacity .2s ease; }
.gallery a:hover img, .gallery-feature a:hover img { opacity: .85; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(255,255,255,.97); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; width: auto; }
.lightbox-close { position: absolute; top: 10px; right: 16px; background: none; border: 0; font-size: 34px; line-height: 1; cursor: pointer; color: var(--ink); }

/* Contact */
#contact p { margin: 0 0 32px; font-size: 15px; }
#contact a { text-decoration: underline; text-underline-offset: 3px; }
.signup { display: flex; justify-content: center; width: min(400px, 100%); margin: 0 auto; }
.signup input[type="email"] {
  flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--ink); border-right: 0;
  font: inherit; font-size: 14px; border-radius: 0; background: #fff; color: var(--ink);
}
.signup button {
  padding: 10px 16px; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  font: inherit; font-size: 14px; cursor: pointer; border-radius: 0;
}
.signup button:hover { background: #fff; color: var(--ink); }

/* Footer */
.footer { padding: 48px 16px 40px; text-align: center; }
.about { width: min(520px, 100%); margin: 0 auto 28px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.footer .links a { text-decoration: none; }
.footer .links a:hover { text-decoration: underline; }
.fine { margin: 14px 0 0; color: var(--muted); font-size: 12px; }

/* Simple pages */
.page { min-height: 100svh; display: grid; place-content: center; gap: 12px; text-align: center; padding: 24px; }

@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .shows li { grid-template-columns: 1fr; gap: 0; }
  .gallery { columns: 2; column-gap: 6px; }
  .gallery a { margin-bottom: 6px; }
  .gallery-feature { margin-bottom: 6px; }
}
