/* Demon Alcohol. See notes-design.md for the reasoning behind these choices. */
:root {
  --plum-black: #22182a;
  --plum: #2e2236;
  --bone: #ece4d4;
  --dusk: #a593b2;
  --brass: #c39d55;
  --brass-hi: #d9b56d;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --gutter: clamp(16px, 5vw, 64px);
  --measure: 36rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--plum-black);
  color: var(--bone);
  font: 400 1.125rem/1.6 var(--serif);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brass); text-underline-offset: 0.18em; }
a:hover { color: var(--brass-hi); }
:focus-visible { outline: 3px solid var(--brass-hi); outline-offset: 3px; }

h1, h2 { font-family: var(--display); font-weight: 800; line-height: 0.9; margin: 0; }
h2 { font-size: clamp(2.6rem, 7vw, 4.5rem); letter-spacing: 0.01em; margin-bottom: 1.5rem; }

/* ---- Hero: the photo, with the name set big at bottom-left ---------------- */
.hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--plum);
}
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  filter: saturate(0.85) contrast(1.05);
}
.hero::after {               /* darken the bottom so the name stays readable on any photo */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(34, 24, 42, 0.92) 0%, rgba(34, 24, 42, 0.35) 45%, rgba(34, 24, 42, 0) 70%);
}
.hero-text { position: relative; z-index: 1; padding: 0 var(--gutter) clamp(28px, 6vh, 64px); }
/* Wide screens: sit the crest over the singer, clear of the bassist on the left. */
@media (min-width: 900px) {
  .hero-text { padding-left: max(var(--gutter), 15vw); }
  .crest { width: min(460px, 36vw); }
}
.hero h1 { line-height: 0; }
.wordmark { display: block; width: min(860px, 88vw); height: auto; filter: drop-shadow(0 2px 14px rgba(20, 10, 26, 0.7)); }
.crest { display: block; width: min(520px, 86vw); height: auto; filter: drop-shadow(0 2px 18px rgba(20, 10, 26, 0.85)); }
.tagline { margin: 0.9rem 0 0; font-style: italic; color: var(--bone); font-size: clamp(1.1rem, 2.2vw, 1.4rem); }
.next {
  display: inline-block; margin-top: 1.4rem;
  font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.02em;
  color: var(--bone); text-decoration: none;
  border-bottom: 2px solid var(--brass); padding-bottom: 2px;
}
.next:hover { color: var(--brass-hi); }

main > section { padding: clamp(56px, 10vw, 112px) var(--gutter) 0; max-width: 1180px; }

/* ---- Shows: set like the back of a tour shirt ------------------------------- */
.dates { list-style: none; margin: 0; padding: 0; }
.date {
  display: grid;
  grid-template-columns: 11.5rem 1fr auto;
  column-gap: 2rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(236, 228, 212, 0.14);
}
.date:last-child { border-bottom: 1px solid rgba(236, 228, 212, 0.14); }
.when {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 2rem; line-height: 1; letter-spacing: 0.01em; color: var(--bone);
}
.when small { display: block; font-weight: 600; font-size: 1.05rem; color: var(--dusk); letter-spacing: 0.03em; margin-top: 0.25rem; }
.where { min-width: 0; }
.venue, .show-title { font-family: var(--display); font-weight: 700; font-size: 1.7rem; line-height: 1.05; }
.venue-line { color: var(--dusk); font-size: 1.02rem; margin-top: 0.25rem; }
.venue-line .venue-link, .venue-line .venue-name { color: var(--bone); font-weight: 600; }
.venue-line .venue-link { text-decoration: underline; text-decoration-color: rgba(195, 157, 85, 0.6); }
.venue-line .map { margin-left: 0.5rem; font-size: 0.95rem; }
.venue a { color: inherit; text-decoration: none; }
.venue a:hover { color: var(--brass-hi); }
.city { color: var(--dusk); font-size: 1rem; margin-top: 0.2rem; }
.city .map { margin-left: 0.5rem; font-size: 0.95rem; }
.bill { color: var(--dusk); font-size: 1rem; font-style: italic; }
.desc { margin: 0.45rem 0 0; max-width: 34rem; font-size: 1.02rem; line-height: 1.5; color: var(--bone); }
.tix {
  font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: 0.04em;
  color: var(--plum-black); background: var(--brass);
  padding: 0.5rem 1.1rem 0.45rem; text-decoration: none; border-radius: 2px; white-space: nowrap;
}
.tix:hover { background: var(--brass-hi); color: var(--plum-black); }
.at-door { color: var(--dusk); font-size: 0.95rem; white-space: nowrap; }
.date:first-child .when { font-size: 2.6rem; }
.date:first-child .show-title { font-size: 2.1rem; }
.dates-note { color: var(--dusk); max-width: var(--measure); }
.dates-note:empty { display: none; }

@media (max-width: 640px) {
  .date { grid-template-columns: 1fr auto; row-gap: 0.4rem; }
  .when { grid-column: 1 / -1; font-size: 1.7rem; }
  .date:first-child .when { font-size: 2.1rem; }
  .show-title, .date:first-child .show-title { font-size: 1.45rem; }
  .tix { align-self: center; }
}

/* ---- About ---------------------------------------------------------------- */
.about-body { max-width: var(--measure); }
.about-body p { margin: 0 0 1.1rem; }
/* The band: four portraits in a row, name and instrument underneath */
.members {
  list-style: none; padding: 0; margin: 2.5rem 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 2vw, 24px);
}
.members li { color: var(--dusk); font-size: 1rem; }
.members img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%;
  margin-bottom: 0.7rem; filter: saturate(0.9);
}
.members strong { display: block; color: var(--bone); font-family: var(--display); font-weight: 700; font-size: 1.45rem; line-height: 1.05; }
@media (max-width: 640px) { .members { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.6rem; } }

/* ---- Photos: one big, the rest smaller ------------------------------------ */
.photos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.photos:empty { display: none; }
.photos img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; aspect-ratio: 4 / 3; }
/* Tall photos in wide slots: keep the people's heads, not just the guitars */
.photos img.tall { object-position: center 12%; }
.photos img:first-child { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; }
.photos img:not(:first-child) { grid-column: span 2; }
.photos img:nth-child(n+4) { grid-column: span 3; aspect-ratio: 16 / 10; }
@media (max-width: 640px) {
  .photos { grid-template-columns: 1fr 1fr; }
  .photos img:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .photos img:not(:first-child) { grid-column: span 1; }
  .photos img:nth-child(n+4) { grid-column: span 1; aspect-ratio: 4 / 3; }
  .photos img:last-child:nth-child(even) { grid-column: 1 / -1; }
}

/* ---- Booking -------------------------------------------------------------- */
.booking p { max-width: var(--measure); margin: 0 0 0.6rem; }
.contact { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 4.5vw, 2.6rem); line-height: 1.1; overflow-wrap: anywhere; }
.contact a { text-decoration: none; border-bottom: 2px solid var(--brass); }

/* ---- Footer --------------------------------------------------------------- */
.site-foot { padding: clamp(64px, 10vw, 120px) var(--gutter) 40px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 1.6rem; font-family: var(--display); font-weight: 700; font-size: 1.3rem; }
.site-foot nav a { color: var(--bone); text-decoration: none; }
.site-foot nav a:hover { color: var(--brass-hi); }
.fine { color: var(--dusk); font-size: 0.85rem; margin: 1.6rem 0 0; max-width: var(--measure); }

/* ---- Past shows: a quiet list under the upcoming ones -------------------- */
.past { margin-top: 3rem; max-width: 46rem; }
.past h3 { font-family: var(--display); font-weight: 700; font-size: 1.6rem; margin: 0 0 0.6rem; color: var(--dusk); }
.past-dates { list-style: none; margin: 0; padding: 0; }
.past-row { display: grid; grid-template-columns: 8.5rem 1fr; column-gap: 1.2rem; padding: 0.4rem 0; color: var(--dusk); font-size: 1rem; }
.past-row strong { color: var(--bone); font-weight: 600; }
@media (max-width: 640px) { .past-row { grid-template-columns: 1fr; } }

/* ---- Video: a phone-shaped Facebook reel ----------------------------------- */
.video-frame { width: min(340px, 100%); aspect-ratio: 9 / 16; background: var(--plum); }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-link { margin: 0.8rem 0 0; font-size: 1rem; }
.contact-alt { color: var(--dusk); font-size: 1rem; margin-top: 0.9rem; }

/* Video and Booking side by side on wide screens */
.live-book { padding: clamp(56px, 10vw, 112px) var(--gutter) 0; max-width: 1180px; display: grid; row-gap: clamp(56px, 10vw, 96px); }
.live-book > section { padding: 0; }
@media (min-width: 900px) {
  .live-book { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); column-gap: clamp(48px, 7vw, 112px); align-items: start; }
}

.video-intro { color: var(--dusk); margin: 0 0 1rem; max-width: 22rem; }
.video-cta a {
  display: inline-block; font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: 0.03em;
  color: var(--plum-black); background: var(--brass); padding: 0.6rem 1.2rem 0.55rem; border-radius: 2px; text-decoration: none;
}
.video-cta a:hover { background: var(--brass-hi); color: var(--plum-black); }
