/* ---------------------------------------------
   brit-182 — tokens
   Colour (pulled from the logo — grunge Union Jack):
     bg      #262626  dark grey background
     cream   #F0EAE0  primary text (distressed flag white)
     muted   #B7B2A8  secondary text (warm grey)
     blue    #5B93C4  primary accent — labels, dates, links
     red     #D6534B  secondary accent — hover states only, used sparingly
     hairline #4A4A4A divider lines
   Type:
     display — Big Shoulders Display (condensed poster face)
     body    — Inter (clean, no slashed zero)
--------------------------------------------- */

:root {
  --bg: #262626;
  --cream: #F0EAE0;
  --muted: #B7B2A8;
  --blue: #5B93C4;
  --red: #D6534B;
  --hairline: #4A4A4A;

  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--cream);
  text-decoration-color: var(--blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover { color: var(--red); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.label {
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 14px;
}

/* ---------------- Promo bar ---------------- */

.promo-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: block;
  text-align: center;
  background: var(--blue);
  color: var(--bg);
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 10px 16px;
}
.promo-bar:hover {
  background: var(--cream);
}

/* ---------------- Hero ---------------- */

.hero {
  padding: 40px 0 32px;
  animation: rise 0.5s ease-out both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 20px;
  color: inherit;
  text-decoration: none;
}
.brand:hover {
  color: inherit;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 28px;
}
.site-nav a {
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--blue);
}

.logo-badge {
  display: block;
  width: clamp(56px, 10vw, 88px);
  height: clamp(56px, 10vw, 88px);
  flex-shrink: 0;
}

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 11vw, 84px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  margin: 0;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px, 4.2vw, 34px);
  line-height: 1.15;
  margin: 0 0 22px;
  max-width: 24ch;
}

.cta {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 2px solid var(--cream);
  padding: 12px 22px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.cta:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--bg);
}

/* ---------------- Sections ---------------- */

section {
  padding: 36px 0;
}

.body-text {
  max-width: 52ch;
  margin: 0 0 18px;
}

.body-text:last-child {
  margin-bottom: 0;
}

.about .body-text {
  color: var(--muted);
}

.about-link {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  margin-top: 4px;
}

/* ---------------- Gigs: ticket-stub rows ---------------- */

.gigs-panel {
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--blue);
  border-radius: 4px;
  padding: 28px 24px 4px;
}

#gigs-status {
  color: var(--muted);
  margin: 0 0 20px;
}

.next-gig {
  text-align: center;
  padding: 0 0 28px;
  margin-bottom: 24px;
  border-bottom: 1px dashed var(--hairline);
}

.next-gig-eyebrow {
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 10px;
}

.next-gig-date {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--blue);
  margin: 0 0 6px;
}

.next-gig-venue {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  margin: 0;
}

.next-gig-subtitle {
  font-style: italic;
  color: var(--blue);
  margin: 4px 0 0;
}

.next-gig-city {
  color: var(--muted);
  margin: 2px 0 0;
}

.next-gig .cta {
  margin-top: 20px;
}

.gig-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.gig-list:empty {
  margin: 0;
}

.gig-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 6px 16px;
  padding: 18px 0;
  border-top: 1px dashed var(--hairline);
  position: relative;
}
.gig-row::before {
  content: "";
  position: absolute;
  left: -4px;
  top: -5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--hairline);
}
.gig-list li:first-child { border-top: 1px dashed var(--hairline); }

.gig-date {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--blue);
  white-space: nowrap;
}

.gig-venue {
  font-weight: 700;
}
.gig-subtitle {
  display: block;
  font-weight: 400;
  font-style: italic;
  font-size: 14px;
  color: var(--blue);
}

.gig-city {
  display: block;
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
}

.gig-link a {
  font-size: 14px;
  white-space: nowrap;
}

.gig-row-loading,
.gig-row-empty {
  grid-template-columns: 1fr;
  color: var(--muted);
}

/* ---------------- Downloads (for-venues.html) ---------------- */

.download-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.download-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px dashed var(--hairline);
}
.download-list li:first-child {
  border-top: 1px dashed var(--hairline);
}

.download-row-loading,
.download-row-empty {
  color: var(--muted);
}

.download-label {
  font-weight: 700;
}

.download-link {
  font-size: 14px;
  white-space: nowrap;
}

/* ---------------- Bio page ---------------- */

.member-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0 0 48px;
}
.member-row:nth-child(even) {
  flex-direction: row-reverse;
}
.member-row:last-child {
  margin-bottom: 0;
}

.member-photo {
  flex: 0 0 40%;
  aspect-ratio: 1;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hairline);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-photo-placeholder {
  font-family: var(--display);
  font-weight: 800;
  font-size: 64px;
  color: var(--blue);
}

.member-text {
  flex: 1;
  min-width: 0;
}

.member-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 4px;
}

.member-role {
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}

.member-bio {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 600px) {
  .member-row,
  .member-row:nth-child(even) {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .member-photo {
    flex-basis: auto;
    max-width: 220px;
    margin: 0 auto;
  }
  .member-text {
    text-align: center;
  }
}

/* ---------------- Photo carousel ---------------- */

.carousel {
  position: relative;
  border: 1px solid var(--bg);
  border-radius: 4px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 16 / 10;
  /* Matches the page background so a portrait photo's letterboxed sides
     blend in rather than showing as a visibly different grey box. */
  background: var(--bg);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  /* contain, not cover — portrait photos in this landscape box would
     otherwise get their tops/bottoms cropped off to fill the frame. */
  object-fit: contain;
  display: block;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: rgba(23, 23, 26, 0.7);
  color: var(--cream);
  font-size: 18px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.carousel-arrow:hover {
  border-color: var(--blue);
  background: rgba(23, 23, 26, 0.9);
}

.carousel-prev {
  left: 12px;
}
.carousel-next {
  right: 12px;
}


.gigs-note {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* ---------------- Contact ---------------- */

.email-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0 28px;
}

.email {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
}

.copy-btn {
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--hairline);
  padding: 6px 12px;
  cursor: pointer;
  appearance: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.copy-btn:hover {
  color: var(--cream);
  border-color: var(--blue);
}

.social-list {
  list-style: none;
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.social-instagram {
  background: linear-gradient(45deg, #f9ce34 0%, #ee2a7b 55%, #6228d7 100%);
}

.social-facebook {
  background: #1877f2;
}

.social-youtube {
  background: #ff0000;
}

.social-lemonrock {
  background: #f5d000;
}

/* ---------------- Contact form ---------------- */

.contact-form {
  margin-top: 40px;
  max-width: 46ch;
}

.botcheck {
  position: absolute;
  left: -9999px;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  background: transparent;
  color: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  border: 1px solid var(--hairline);
  padding: 10px 12px;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.contact-form .cta {
  background: transparent;
  color: var(--cream);
  appearance: none;
  cursor: pointer;
}

.form-status {
  color: var(--muted);
  font-size: 14px;
  margin: 14px 0 0;
  min-height: 1.4em;
}

/* ---------------- Footer ---------------- */

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 28px 0 32px;
}
.site-footer .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.site-footer p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.footer-link {
  color: var(--muted);
  font-size: 13px;
  text-decoration-color: var(--hairline);
}
.footer-link:hover {
  color: var(--blue);
  text-decoration-color: var(--blue);
}

/* ---------------- Small screens ---------------- */

@media (max-width: 480px) {
  .gig-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .gig-link { margin-top: 4px; }
}
