/* ==================================================
   DeadEye Stare: schedule page (schedule.html)
   Builds on home.css (tokens, header, buttons, footer)
   ================================================== */

/* ---------- page banner ---------- */
.page-hero { position: relative; margin: 0; background: var(--charcoal); }

.page-hero__img {
  width: 100%;
  height: clamp(220px, 31vw, 520px);
  object-fit: cover;
  object-position: 72% 49%;   /* trims the top so the singer sits high with the crowd below */
  background: var(--charcoal-2);
  filter: brightness(1.18) saturate(1.08);  /* lift the dim crowd */
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(20, 18, 17, 0.85) 0%, rgba(20, 18, 17, 0.25) 22%, rgba(20, 18, 17, 0) 40%),
    radial-gradient(ellipse 34% 30% at 0% 82%, rgba(20, 18, 17, 0.55), rgba(20, 18, 17, 0));
  pointer-events: none;
}

.page-hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(20px, 4vw, 48px);
}

.page-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 9vw, 6rem);
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 2px 24px rgba(0, 0, 0, 0.85);
}

.page-hero__sub {
  margin: 8px 0 0;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 2px 16px rgba(0, 0, 0, 0.85);
}

/* photo credit sits above the gradient, lower right */
.page-hero .photo-credit { z-index: 3; }

/* phones: photo on its own, title below it (same pattern as the homepage hero) */
@media (max-width: 640px) {
  .page-hero { display: flex; flex-direction: column; }
  .page-hero::after { content: none; }
  .page-hero__img { height: auto; aspect-ratio: 16 / 9; object-position: 70% 50%; }
  /* pin credit to the photo's bottom edge (photo is full width at 16:9) */
  .page-hero .photo-credit { top: calc(100vw * 9 / 16); bottom: auto; transform: translateY(-100%); }
  .page-hero__content { position: static; padding-top: 20px; padding-bottom: 0; }
  .page-hero__title, .page-hero__sub { text-shadow: none; }
}

/* ---------- show list ---------- */
.schedule { padding: clamp(32px, 6vw, 72px) 0; }
.schedule .wrap { max-width: 880px; }

.schedule__intro {
  margin: 0 0 8px;
  color: var(--paper-muted);
}

.shows--full {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 0;
}

.shows__month { list-style: none; }
.shows__month h2 {
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper);
}
.shows__month:first-child h2 { margin-top: 0; }

.show-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 12px;
  padding: 18px;
  background: var(--charcoal-2);
  border: 1px solid var(--charcoal-3);
}

/* calendar-style date tile: readable at a glance on a phone */
.show-card__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 10px 4px;
  background: var(--charcoal);
  border: 1px solid var(--charcoal-3);
  border-top: 4px solid var(--amber);
  text-align: center;
  line-height: 1;
}
.show-card__dow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-muted); }
.show-card__num { margin: 6px 0 4px; font-family: var(--font-display); font-size: 2.6rem; color: var(--amber); }
.show-card__mon { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper); }

.show-card__body { min-width: 0; }
.show-card__note {
  display: inline-block;
  margin: 0 0 8px;
  padding: 2px 8px;
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.show-card__venue {
  margin: 0 0 4px;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--paper);
  overflow-wrap: anywhere;
}
.show-card__city { margin: 0; font-size: 1.05rem; color: var(--paper); }
.show-card__time { margin: 2px 0 12px; font-size: 1.05rem; font-weight: 500; color: var(--amber); }

.show-card .show__link { margin-top: 2px; }

@media (max-width: 420px) {
  .show-card { grid-template-columns: 72px 1fr; gap: 14px; padding: 14px; }
  .show-card__num { font-size: 2.2rem; }
  .show-card__venue { font-size: 1.2rem; }
}

/* ---------- past shows ---------- */
.past-shows {
  margin-top: 48px;
  padding: 24px;
  border: 1px solid var(--charcoal-3);
  text-align: center;
}
.past-shows p { margin: 0 0 16px; color: var(--paper-muted); }

/* ---------- current page in nav ---------- */
.site-nav a[aria-current="page"] { color: var(--amber); border-bottom-color: var(--amber); }
