/* Gigs — homepage section and /gigs page.
   Self-contained: only depends on the Oswald/Raleway fonts base.html already loads.
   The bleed is scoped to .gigs-wrap so it cannot wash over the Credits rows above. */

/* Full-bleed band for the homepage: the artwork is not clipped to the content
   column, and the radial mask fades it in every direction so there is no
   rectangular edge — it dissolves into the neighbouring bands instead. */
.gigs-band {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0;
  background: #131313;
}

/* Vertical scrim so the band has no seam against the image bands above and
   below: the artwork dissolves into the section's own black at both ends. */
.gigs-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(180deg,
    #131313 0%, rgba(19,19,19,.92) 8%, rgba(19,19,19,0) 30%,
    rgba(19,19,19,0) 72%, rgba(19,19,19,.92) 94%, #131313 100%);
}

.gigs-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-position: left 42%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: .30;
  filter: saturate(1.12);
  /* Anchored to the left edge and fading out well before the middle: whatever
     poster arrives, the right-hand side where the times and ticket buttons sit
     stays plain and legible. A horizontal fade (rather than a radial) keeps the
     falloff smooth — a radial mask produced a visible vertical cut. */
  -webkit-mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,.82) 18%,
    rgba(0,0,0,.46) 38%, rgba(0,0,0,.16) 56%, rgba(0,0,0,.03) 68%, transparent 76%);
  mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,.82) 18%,
    rgba(0,0,0,.46) 38%, rgba(0,0,0,.16) 56%, rgba(0,0,0,.03) 68%, transparent 76%);
}

/* standalone /gigs page: constrained column, clear of the fixed nav */
.gigs-page { position: relative; overflow: hidden; padding-top: 140px; padding-bottom: 96px; }
.gigs-page .head { margin-bottom: 28px; }
.gigs-page .gigs-glow { opacity: .30; }

.gigs-band .wrap-home { position: relative; z-index: 2; }
.gigs-page > * { position: relative; z-index: 1; }

.gigs-list { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.10); }

.gig {
  display: grid;
  grid-template-columns: 66px 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  text-decoration: none;
  color: inherit;
  transition: background .12s ease;
}
.gig:hover { background: rgba(255,255,255,.035); }

.gig-date { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.gig-date .wd { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: #6f6f6f; font-weight: 600; margin-bottom: 7px; }
.gig-date .d { font-family: Oswald, "Barlow Condensed", Impact, sans-serif; font-weight: 500; font-size: 30px; letter-spacing: -.01em; line-height: 1; }
.gig-date .m { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: #9a9a9a; font-weight: 600; margin-top: 5px; }

.gig-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gig-body .who {
  font-family: Oswald, "Barlow Condensed", Impact, sans-serif; font-weight: 500;
  font-size: 22px; letter-spacing: -.005em; text-transform: uppercase; line-height: 1.1;
}
.gig-body .where { font-size: 13px; color: #9a9a9a; line-height: 1.45; }

.gig-time { font-size: 12px; letter-spacing: .04em; color: #6588b1; font-weight: 500; white-space: nowrap; }

.gig-go {
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #111; background: #fff; padding: 10px 16px; border-radius: 2px; white-space: nowrap;
}
.gig:hover .gig-go { background: #6588b1; color: #fff; }

.gigs-empty { padding: 42px 0 6px; color: #9a9a9a; font-size: 14px; }

/* ---- /gigs only: PS5-style expand on hover -------------------------------
   The row keeps its top edge fixed and grows downward; the gig's own artwork
   fades in behind it and a fixed-length synopsis unrolls. Nothing moves above
   the hovered row. */
.gigs-page .gig { position: relative; overflow: hidden; }
.gigs-page .gig > * { position: relative; z-index: 2; }

.gigs-page .gig-splash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--gig-img, none);
  background-size: cover;
  background-position: center 42%;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .45s ease, transform .7s ease;
}

/* scrim keeps the text readable whatever artwork arrives */
.gigs-page .gig::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #131313 0%, rgba(19,19,19,.92) 36%,
    rgba(19,19,19,.55) 68%, rgba(19,19,19,.28) 100%);
  opacity: 0;
  transition: opacity .45s ease;
}

.gigs-page .gig:hover .gig-splash,
.gigs-page .gig:focus-visible .gig-splash { opacity: .6; transform: scale(1); }
.gigs-page .gig:hover::after,
.gigs-page .gig:focus-visible::after { opacity: 1; }

.gig-more {
  grid-column: 1 / -1;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.2,.7,.3,1), opacity .3s ease, margin-top .45s ease;
}

.gigs-page .gig:hover .gig-more,
.gigs-page .gig:focus-visible .gig-more { max-height: 220px; opacity: 1; margin-top: 16px; }

.gig-blurb {
  display: block;
  max-width: 60ch;
  font-size: 13px;
  line-height: 1.65;
  color: #c9c9c9;
}

/* touch devices have no hover: show the synopsis outright */
@media (hover: none) {
  .gig-more { max-height: none; opacity: 1; margin-top: 12px; }
  .gig-blurb { font-size: 12.5px; color: #9a9a9a; }
}

@media (max-width: 700px) {
  .gig { grid-template-columns: 52px 1fr; gap: 14px 16px; padding: 18px 2px; align-items: start; }
  .gig-date .d { font-size: 24px; }
  .gig-body .who { font-size: 18px; }
  .gig-time { grid-column: 2; }
  .gig-go { grid-column: 2; justify-self: start; padding: 9px 14px; }
  .gigs-wrap::before { width: 120%; height: 78%; opacity: .22; }
}
