/* ==========================================================================
   IGNITION — the event landing page, where campaign traffic lands.
   One template, every upcoming show (tools/build_ignition.py landing()).
   Order: sell it, the lineup, the schedule, the experience, the Pit Party,
   the questions, the close. A buy bar rides along once the hero is gone.
   ========================================================================== */

/* The masthead keeps the brand and the ask, and drops the site nav. */
.lp-mast__when {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lp-mast__when strong { padding: 6px 9px 5px; color: var(--acid); background: var(--ink); }
.lp-mast__all { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   Sell it
   -------------------------------------------------------------------------- */
.page-open--lp { min-height: min(100svh, 980px); }
.page-open--lp .page-open__title { font-size: clamp(64px, 8.2vw, 156px); }
.page-open--lp .page-open__foot { grid-column: 1 / span 7; }
.page-open--lp .lede { max-width: 40ch; }

.lp-pick { margin: 0 0 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; max-width: 640px; }
.lp-pick__label { grid-column: 1 / -1; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.lp-pill {
  padding: 12px 14px 11px;
  display: grid;
  gap: 4px;
  border: 2px solid var(--ink);
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.lp-pill span { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lp-pill strong { font-family: var(--display); font-size: clamp(26px, 2.2vw, 34px); font-weight: 400; line-height: 1; }
.lp-pill small { font-size: 12px; font-weight: 700; }
.lp-pill:hover, .lp-pill:focus-visible { color: var(--acid); background: var(--ink); transform: translate(-2px, -2px); }

.lp-price { margin-bottom: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 15px; font-weight: 700; }
.lp-price strong { font-family: var(--display); font-size: 30px; font-weight: 400; line-height: 1; }

.lp-urgency {
  padding: 7px 10px 6px;
  display: inline-flex;
  gap: 8px;
  color: var(--acid);
  background: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lp-urgency [data-countdown]:empty { display: none; }

/* Pre-sale: the alert lives in the hero, one field and one button. */
.lp-hero-form { max-width: 560px; margin-bottom: 18px; }
.lp-hero-form .form { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.lp-hero-form .field input { font-size: 22px; }
.lp-hero-form .form__note { grid-column: 1 / -1; font-size: 13px; font-weight: 700; }

/* --------------------------------------------------------------------------
   The lineup
   -------------------------------------------------------------------------- */
.lp-lineup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.lp-feature { font-family: var(--display); font-size: clamp(70px, 9vw, 168px); font-weight: 400; letter-spacing: -.03em; line-height: .84; text-transform: uppercase; }
.lp-feature small { display: block; margin-bottom: 14px; font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--acid); }
.lp-lineup__photo { height: clamp(380px, 40vw, 640px); }
.lp-also { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-also li { padding: 8px 12px 7px; border: 1px solid var(--acid); color: var(--acid); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.lp-strip { margin-top: clamp(48px, 6vw, 96px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.lp-strip .photo { height: clamp(260px, 26vw, 420px); }

/* --------------------------------------------------------------------------
   The schedule
   -------------------------------------------------------------------------- */
.lp-sessions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2vw, 32px); }

.lp-session {
  padding: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 3px solid var(--ink);
}

.lp-session__label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.lp-session__day { font-family: var(--display); font-size: clamp(30px, 2.6vw, 40px); line-height: 1; text-transform: uppercase; }
.lp-session__time { font-family: var(--display); font-size: clamp(76px, 7.4vw, 124px); line-height: .84; text-transform: uppercase; }
.lp-session dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; padding: 14px 0; border-block: 1px solid var(--line); }
.lp-session dt { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.lp-session dd { margin-top: 3px; font-size: 19px; font-weight: 700; line-height: 1.2; }
.lp-session__note { font-size: 15px; }
.lp-session .button { width: 100%; margin-top: auto; }
.lp-session__save { font-size: 13px; font-weight: 700; }

.lp-tickets { margin-top: clamp(64px, 8vw, 120px); padding: clamp(24px, 3vw, 48px); color: var(--paper); background: var(--ink); --focus-ring: var(--acid); }
.lp-tickets__head { margin-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px 32px; }
.lp-tickets__head h3 { font-family: var(--display); font-size: clamp(44px, 5vw, 84px); font-weight: 400; line-height: .9; text-transform: uppercase; }
.lp-tickets__urgent { max-width: 420px; color: var(--acid); font-size: 15px; font-weight: 700; }

.lp-where { margin-top: clamp(48px, 6vw, 88px); }

/* Pre-sale: the building's own rules, each with the page it came from. */
.lp-venue { margin-top: clamp(56px, 7vw, 104px); padding-top: clamp(28px, 3vw, 44px); border-top: 3px solid var(--ink); }
.lp-src { margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.lp-src a { color: var(--muted); }

/* Pre-sale: how the last show in this city ran, labelled as history. */
.lp-last { margin-top: clamp(56px, 7vw, 104px); }
.lp-last__head { margin-bottom: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; }
.lp-last__head h3 { font-family: var(--display); font-size: clamp(40px, 4.4vw, 72px); font-weight: 400; line-height: .9; text-transform: uppercase; }
.lp-last__head p { max-width: 52ch; }

.lp-tbd {
  padding: clamp(24px, 3vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  border: 3px solid var(--ink);
}

.lp-tbd h3 { font-family: var(--display); font-size: clamp(44px, 5vw, 84px); font-weight: 400; line-height: .9; text-transform: uppercase; }
.lp-tbd h3 + p { margin-top: 16px; max-width: 46ch; }
.lp-tbd .actions { margin-top: 22px; }

/* --------------------------------------------------------------------------
   The experience: the show's own footage
   -------------------------------------------------------------------------- */
.lp-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #111 center / cover no-repeat; }
.lp-video video { width: 100%; height: 100%; object-fit: cover; display: block; }

.lp-video__toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--acid);
  color: var(--ink);
  background: var(--acid);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

.lp-video figcaption { position: absolute; left: 0; top: 0; padding: 10px 14px; color: var(--ink); background: var(--acid); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lp-exp { margin-top: clamp(48px, 6vw, 96px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 88px); align-items: start; }
.lp-exp .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-exp .card { border-color: var(--acid); }
.lp-exp .card__n { color: var(--acid); }

/* --------------------------------------------------------------------------
   Sell the Pit Party
   -------------------------------------------------------------------------- */
.lp-pit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 108px); align-items: start; }
.lp-pit__price { display: flex; flex-wrap: wrap; align-items: end; gap: 6px 22px; }
.lp-pit__price strong { font-family: var(--display); font-size: clamp(120px, 14vw, 240px); font-weight: 400; line-height: .8; text-transform: uppercase; }
.lp-pit__price span { max-width: 22ch; padding-bottom: 10px; font-size: 16px; font-weight: 700; line-height: 1.3; }

.lp-gets { margin-top: 34px; border-top: 2px solid var(--ink); }
.lp-gets li { padding: 14px 0 12px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: baseline; border-bottom: 1px solid var(--ink); }
.lp-gets li > span { font-size: 11px; font-weight: 700; }
.lp-gets strong { display: block; font-family: var(--display); font-size: clamp(30px, 3vw, 46px); font-weight: 400; line-height: .95; text-transform: uppercase; }
.lp-gets small { display: block; margin-top: 4px; font-size: 15px; }

.lp-pit__photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 20px); }
.lp-pit__photos .photo:first-child { grid-column: 1 / -1; height: clamp(300px, 30vw, 480px); }
.lp-pit__photos .photo { height: clamp(200px, 18vw, 300px); }
.lp-pit .roster { margin-top: 30px; }

/* --------------------------------------------------------------------------
   The close
   -------------------------------------------------------------------------- */
.lp-close { padding-top: 0; }
.lp-close .closing { min-height: 0; padding-top: clamp(84px, 9vw, 140px); padding-bottom: clamp(48px, 6vw, 80px); }
.lp-close .closing h2 { font-size: clamp(84px, 12.5vw, 200px); }
.lp-close .lp-pick { max-width: none; margin-top: 8px; grid-column: 1 / -1; }

/* --------------------------------------------------------------------------
   The buy bar: once the hero is gone, the ask stays on screen.
   -------------------------------------------------------------------------- */
.lp-bar {
  position: fixed;
  z-index: 90;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--paper);
  background: var(--ink);
  border-top: 1px solid var(--acid);
  transform: translateY(110%);
  transition: transform 260ms var(--ease);
  --focus-ring: var(--acid);
}

.lp-bar.is-shown { transform: none; }
.lp-bar__what { display: grid; line-height: 1.2; }
.lp-bar__what strong { font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); font-weight: 400; text-transform: uppercase; }
.lp-bar__what span { color: var(--chrome); font-size: 13px; font-weight: 700; }
.lp-bar .button { min-height: 48px; padding: 13px 18px; white-space: nowrap; }
.has-lp-bar .client-review-link { bottom: 86px; }
.has-lp-bar .footer { padding-bottom: 110px; }

/* --------------------------------------------------------------------------
   Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .lp-mast__all { display: none; }
}

@media (max-width: 899px) {
  .lp-mast__when { display: none; }
  .page-open--lp .page-open__title { font-size: clamp(56px, 13vw, 110px); }
  .lp-lineup, .lp-exp, .lp-pit, .lp-tbd, .lp-last__head { grid-template-columns: 1fr; }
  .lp-lineup__photo { height: min(80vw, 520px); }
  .lp-strip { grid-template-columns: 1fr 1fr; }
  .lp-strip .photo:last-child { display: none; }
}

@media (max-width: 620px) {
  .lp-pick { grid-template-columns: 1fr 1fr; }
  .lp-pill:first-of-type:nth-last-of-type(odd) { grid-column: 1 / -1; }
  .lp-hero-form .form__foot .button { width: 100%; }
  .lp-exp .cards { grid-template-columns: 1fr; }
  .lp-pit__price strong { font-size: 120px; }
  .lp-close .closing h2 { font-size: clamp(54px, 18.5vw, 110px); }
  .lp-bar__what span { display: none; }
  .lp-bar .button { padding-inline: 14px; font-size: 12px; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-bar { transition: none; }
}
