/* Stidham's Lounge — Events page (pages/events.html)
   Hero framing (layout: components.css .photo-hero), upcoming events
   (sections/events/upcoming.html, filled by js/events.js), the nights we host
   (sections/events/whats-on.html). Cards are the shared .experience
   (components.css); the closing lamp band is the shared .cta-band.
   Entrance motion: animations.css. Tablet/phone layouts: responsive.css. */

/* =========================================================
   HERO
   The shared photo hero, as on Services and Menu. Its own: the bar photo
   (already a dark scene, so graded down less), with the edges darkened.
   ========================================================= */
.events-hero .photo-hero-media img {
  object-position: 50% 30%;
  filter: brightness(.7) saturate(.8) contrast(1.1) sepia(.18);
}
.events-hero .photo-hero-media::after {
  background:
    radial-gradient(ellipse 55% 50% at 50% 55%, rgba(15, 14, 12, .7), rgba(15, 14, 12, 0) 76%),
    linear-gradient(to right, rgba(15, 14, 12, .75), rgba(15, 14, 12, 0) 24%, rgba(15, 14, 12, 0) 76%, rgba(15, 14, 12, .75)),
    linear-gradient(to bottom,
      rgba(15, 14, 12, .85) 0%,
      rgba(15, 14, 12, .3) 26%,
      rgba(15, 14, 12, .42) 60%,
      rgba(15, 14, 12, .92) 88%,
      var(--charcoal) 100%);
}

/* =========================================================
   WEEKLY SPECIALS (sections/events/weekly.html)
   The first section after the hero. One walnut .panel per special: a day badge
   (styled as the event cards' date badge), the copy, and the price in amber.
   ========================================================= */
.events-weekly { padding-block: clamp(24px, 4vw, 48px); }
.weekly-list { display: grid; gap: clamp(10px, 1.3vw, 16px); }
.weekly-special {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
}
.weekly-day {
  display: grid;
  justify-items: center;
  align-self: start;
  min-width: 72px;
  padding: 10px 12px 11px;
  border: 1px solid rgba(217, 163, 91, .45);
  border-radius: var(--radius);
  background: rgba(15, 14, 12, .55);
  color: var(--amber);
  text-align: center;
}
.weekly-every { font: 700 .66rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; }
.weekly-dayname { margin-top: 5px; font: 400 2.2rem/.9 var(--font-display); letter-spacing: .04em; text-transform: uppercase; color: var(--cream); }
.weekly-body h3 {
  position: relative;
  padding-bottom: 18px;
  font: 400 clamp(2.4rem, 4.4vw, 3.6rem)/.92 var(--font-display);
  letter-spacing: .025em;
  text-transform: uppercase;
  color: var(--cream);
}
.weekly-body h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 48px;
  height: 2px;
  background: var(--olive-text);
}
.weekly-body > p:not([class]) {
  max-width: 52ch;
  margin-top: 16px;
  color: rgba(241, 234, 219, .78);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
}
.weekly-body .text-link { margin-top: 18px; }
/* The price, set large in amber with a soft lamp glow. Decorative: the title says it. */
.weekly-price {
  padding-right: clamp(0px, 1vw, 12px);
  font: 400 clamp(5rem, 11vw, 9rem)/.8 var(--font-display);
  color: var(--amber);
  text-shadow: 0 0 42px rgba(217, 163, 91, .28);
  white-space: nowrap;
}
.weekly-price span { font-size: .55em; vertical-align: .62em; margin-left: .04em; }

/* =========================================================
   UPCOMING EVENTS
   ========================================================= */
.events-upcoming { padding-block: clamp(24px, 4vw, 48px) clamp(56px, 8vw, 96px); }
#weekly, #upcoming, #whats-on { scroll-margin-top: calc(var(--header-h, 82px) + 24px); }

/* Photo cards (.experience) in date order. The soonest is the featured card,
   two columns by two rows; the rest fill in beside and below it. */
.gig-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(clamp(236px, 22vw, 290px), auto);   /* grows with a long title */
  grid-auto-flow: dense;
  gap: clamp(10px, 1.3vw, 16px);
  --stagger: 90ms;
}
.gig-grid > .experience--feature { grid-column: span 2; grid-row: span 2; }
.gig-grid > :only-child { grid-column: 1 / -1; }
/* Exactly two events: the second fills the column beside the featured one. */
.gig-grid > .experience--feature:first-child:nth-last-child(2) + * { grid-row: span 2; }

/* Date badge, top left: where the Services cards carry their number. */
.gig-date {
  position: absolute;
  top: clamp(18px, 2vw, 26px);
  left: clamp(20px, 2.2vw, 30px);
  display: grid;
  justify-items: center;
  min-width: 58px;
  padding: 8px 10px 9px;
  border: 1px solid rgba(217, 163, 91, .45);
  border-radius: var(--radius);
  background: rgba(15, 14, 12, .72);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  color: var(--amber);
  text-align: center;
}
.experience--feature .gig-date { top: clamp(22px, 2.6vw, 36px); left: clamp(24px, 3vw, 44px); }
.gig-month { font: 700 .66rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; }
.gig-day { margin-top: 4px; font: 400 2rem/.9 var(--font-display); color: var(--cream); }
.gig-weekday { margin-top: 4px; font: 500 .6rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.experience--feature .gig-day { font-size: 2.6rem; }

/* Keep the text clear of the badge, however much of it there is. */
.gig { padding-top: calc(clamp(18px, 2vw, 26px) + 96px); }
.gig.experience--feature { padding-top: calc(clamp(22px, 2.6vw, 36px) + 116px); }
.gig .experience-meta { margin-top: 14px; }
.gig .text-link { margin-top: 16px; }

/* ---------- Empty state: no upcoming events in events.json ----------
   On the shared walnut .panel (components.css). */
.gig-empty {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(18px, 3vw, 36px);
  align-items: start;
}
.gig-empty .service-icon { width: 56px; height: 56px; color: var(--amber); border-color: rgba(217, 163, 91, .55); }
.gig-empty .service-icon .icon { width: 24px; height: 24px; }
.gig-empty-tag {
  font: 400 clamp(1.35rem, 2vw, 1.75rem)/1.2 var(--font-script);
  color: var(--olive-text);
  transform: rotate(-3deg);
  transform-origin: left bottom;
}
.gig-empty h3 {
  position: relative;
  padding-bottom: 18px;
  font: 400 clamp(2.4rem, 4.4vw, 3.6rem)/.92 var(--font-display);
  letter-spacing: .025em;
  text-transform: uppercase;
  color: var(--cream);
}
.gig-empty h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 48px;
  height: 2px;
  background: var(--olive-text);
}
.gig-empty-body > p:not([class]) {
  max-width: 52ch;
  margin-top: 16px;
  color: rgba(241, 234, 219, .78);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
}
.gig-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  margin-top: 24px;
}

/* =========================================================
   NIGHTS WE HOST
   Three equal photo cards, a little taller than the Services small cards.
   ========================================================= */
.events-whats-on { padding-bottom: clamp(72px, 10vw, 128px); }
.whats-on-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: clamp(320px, 30vw, 400px);
  gap: clamp(10px, 1.3vw, 16px);
  --stagger: 90ms;
}
.whats-on-note {
  margin-top: clamp(20px, 2.6vw, 28px);
  color: var(--muted);
  font-size: .92rem;
  text-align: center;
}
.whats-on-note a { color: var(--olive-text); text-underline-offset: 3px; }
.whats-on-note a:hover { color: var(--cream); }
