/* Layout: black-and-white gig poster. The night-window photo stays fixed behind the whole page;
   name, icon row and menu on the dark left side; each section is a heading on the photo with its content in a black box.
   Colour appears only in the cover art. */
:root {
  --black: #000;
  --panel: rgba(0, 0, 0, .86);
  --white: #fafafa;
  --grey: #a7a7a7;
  --line: rgba(250, 250, 250, .16);
  --red: #ff4b3e;          /* the red man; used once, for "new" */
  --head: "Montserrat", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --text: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font: 400 1.0625rem/1.65 var(--text); }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }

/* fixed photo behind everything */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--black); }
.backdrop img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 68% 50%; }
.backdrop::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 50%, rgba(0,0,0,0) 70%);
}

.pad {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap { max-width: 1120px; margin: 0 auto; }

h1, h2, h3, .caps { font-family: var(--head); text-transform: uppercase; }
h2 { margin: 0 0 24px; font-size: clamp(2rem, 4.4vw, 2.75rem); font-weight: 800; letter-spacing: .02em; line-height: 1; }
.caps { font-size: .74rem; font-weight: 700; letter-spacing: .16em; }
.grey { color: var(--grey); }

/* icon row */
.icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.icons a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--white); opacity: .9; transition: opacity .2s, background .2s;
}
.icons a:hover { opacity: 1; background: rgba(250,250,250,.12); }
.icons svg { width: 22px; height: 22px; fill: currentColor; }

/* hero */
.hero {
  min-height: min(100vh, 900px);
  display: grid; align-items: center;
  padding-block: 48px;
}
.hero .wrap { width: 100%; display: grid; justify-items: start; gap: clamp(20px, 3vw, 32px); }
.hero .wrap > * { max-width: 560px; }
.hero .icons { justify-content: flex-start; margin-left: -10px; }
.hero .menu { justify-content: flex-start; }
h1 span { display: block; }
h1 {
  margin: 0; font-weight: 700; line-height: 1.02;
  font-size: clamp(2.6rem, 7vw, 5.4rem); letter-spacing: .2em;
  text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.6);
}
.menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; }
.menu a { text-decoration: none; padding-block: 6px; border-bottom: 1px solid transparent; }
.menu a:hover { border-bottom-color: var(--white); }
.new {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: rgba(0,0,0,.5);
}
.new:hover { border-color: var(--white); }
.new i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }

/* sections */
.section { padding-block: clamp(56px, 8vw, 104px) 0; }
.section:last-of-type { padding-bottom: clamp(56px, 8vw, 104px); }
.box { background: var(--panel); padding: clamp(24px, 4vw, 48px); }
.lead { margin: -8px 0 24px; color: var(--grey); }

/* latest track */
.latest { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.latest img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.latest h3 { margin: 0 0 4px; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: .04em; line-height: 1.05; }
.latest .by { margin: 0 0 18px; color: var(--grey); }
.latest p.blurb { margin: 0 0 24px; max-width: 46ch; font-size: 1.15rem; }
.player { margin: 0 0 20px; max-width: 520px; }
.player iframe { display: block; width: 100%; height: 42px; border: 0; background: #111; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; text-decoration: none;
  font: 700 .74rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--white); transition: background .2s, color .2s;
}
.btn:hover, .btn.solid { background: var(--white); color: var(--black); }
.btn.solid:hover { background: transparent; color: var(--white); }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.quote { display: grid; gap: 10px; text-decoration: none; min-width: 0; }
.quote blockquote { margin: 0; font: 600 1.25rem/1.35 var(--text); }
.quote:hover blockquote { text-decoration: underline; text-underline-offset: 5px; }

/* singles */
.strip-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.arrows { display: flex; gap: 8px; margin-bottom: 24px; }
.arrows button {
  width: 44px; height: 44px; border: 1px solid var(--white); background: rgba(0,0,0,.5); color: var(--white);
  font: 700 1rem/1 var(--head); cursor: pointer;
}
.arrows button:hover { background: var(--white); color: var(--black); }
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(200px, 23vw, 250px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
  scrollbar-width: thin; scrollbar-color: var(--grey) transparent;
}
.single { scroll-snap-align: start; display: grid; gap: 10px; align-content: start; text-decoration: none; min-width: 0; }
.single img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .35s; }
.single:hover img, .single:focus-visible img { filter: none; }
.single h3 { margin: 0; font-size: .95rem; font-weight: 700; letter-spacing: .06em; line-height: 1.25; }
.single .meta { display: flex; justify-content: space-between; gap: 8px; font-size: .9rem; color: var(--grey); font-variant-numeric: tabular-nums; }

/* shows */
.shows-note { margin: 0 0 28px; }
.shows-note a { text-underline-offset: 4px; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; padding: 0 16px 12px 0; color: var(--grey); }
td { padding: 16px 16px 16px 0; border-top: 1px solid var(--line); vertical-align: top; font-variant-numeric: tabular-nums; }
td:first-child { font-weight: 600; white-space: nowrap; }
td .past { margin-left: 8px; color: var(--grey); }
.table-wrap { overflow-x: auto; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.about img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1); }
.about h3 { margin: 0 0 6px; font-size: clamp(1.4rem, 2.6vw, 1.75rem); font-weight: 600; letter-spacing: .02em; }
.about .sub { margin: 0 0 20px; }
.about p { margin: 0 0 14px; max-width: 58ch; }

footer { text-align: center; padding-block: 0 48px; }
footer .wrap { display: grid; justify-items: center; gap: 16px; }
footer small { color: var(--grey); font-size: .85rem; }
footer small a { text-underline-offset: 3px; }

@media (max-width: 760px) {
  .latest, .about, .quotes { grid-template-columns: minmax(0, 1fr); }
  .latest img { max-width: 320px; }
  .arrows { display: none; }
  h1 { letter-spacing: .14em; }
  .hero { align-items: end; min-height: min(92vh, 820px); }
  .backdrop img { object-position: 74% 50%; }
  .backdrop::after { background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.2) 45%, rgba(0,0,0,0) 70%); }
  .strip-head h2 { margin-bottom: 24px; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero { min-height: min(88vh, 720px); padding-block: 32px; }
  .hero .wrap { gap: 18px; }
  .hero .icons { gap: 0; margin-left: -12px; }
  .icons a { width: 42px; height: 42px; }
  h1 { font-size: clamp(2.4rem, 13vw, 3.2rem); }
  .menu { gap: 4px 20px; }
  .new .wide { display: none; }
  .section { padding-block: 48px 0; }
  h2 { margin-bottom: 16px; }
  .box { padding: 20px 16px; }
  .latest { gap: 20px; }
  .latest img { max-width: 100%; }
  .btns .btn { flex: 1 1 auto; justify-content: center; }
  .quote blockquote { font-size: 1.1rem; }
  /* singles: two-column grid instead of a sideways strip */
  .strip { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; gap: 20px 14px; padding-bottom: 0; }
  .single h3 { font-size: .82rem; }
  .single .meta { font-size: .8rem; flex-direction: column; gap: 0; }
  /* shows: one block per date */
  .table-wrap { overflow: visible; }
  table, tbody, tr, td { display: block; }
  thead { display: none; }
  tr { padding: 14px 0; border-top: 1px solid var(--line); }
  td { padding: 0; border: 0; }
  td:first-child { margin-bottom: 2px; }
  td.loc { color: var(--grey); }
  .about img { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .single img, .btn, .icons a { transition: none; }
}

/* tagline under the band name */
.tagline { margin: -6px 0 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--white); opacity: .85; text-shadow: 0 1px 12px rgba(0,0,0,.7); }

/* song pages and 404: compact header instead of the full-screen hero */
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-block: 18px; }
.topbar .home { text-decoration: none; font-size: .8rem; }
.topbar .home:hover { text-decoration: underline; text-underline-offset: 4px; }
.topbar .icons { justify-content: flex-end; }
.song-page .section:first-of-type { padding-top: clamp(24px, 4vw, 48px); }
.crumbs { margin: 0 0 14px; color: var(--grey); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); }
h1.song-title {
  font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: .04em; line-height: 1.05; margin: 0 0 6px;
  text-shadow: none;
}
.song-desc { margin: 0 0 24px; max-width: 52ch; font-size: 1.15rem; }
.notfound { text-align: center; display: grid; justify-items: center; gap: 18px; }
.notfound h1 { font-size: clamp(2rem, 6vw, 3.2rem); letter-spacing: .1em; }

@media (max-width: 560px) {
  .topbar .icons { display: none; }
  .song-desc { font-size: 1.05rem; }
}
