/* ==========================================================================
   Event page · the template every edition uses
   hero · about · on stage · the evening · good to know · ticket box · phone buy bar
   ========================================================================== */

/* ---------- hero: full-bleed crowd photo, the edition and who is on stage ---------- */
.ev-hero { --shade: linear-gradient(180deg, rgba(11, 11, 12, .25) 0%, rgba(11, 11, 12, .1) 35%, rgba(11, 11, 12, .82) 100%); }
.ev-in { display: grid; gap: 18px; }
.back { justify-self: start; font-size: 14px; font-weight: 600; opacity: .8; }
.back:hover { opacity: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-hero h1 { max-width: 14ch; font-size: clamp(52px, 8.4vw, 136px); font-weight: 700; line-height: .92; letter-spacing: -.05em; }
.ev-hero .when { font-size: clamp(16px, 1.4vw, 19px); font-weight: 600; color: rgba(255, 255, 255, .85); }
.with { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.with b { color: var(--sun); font-weight: 600; }
.with .stack { --av: 44px; --av-ring: var(--ink); }
.ev-hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- body + ticket box ---------- */
.ev-body {
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 28vw, 360px); gap: clamp(32px, 5vw, 80px); align-items: start;
  padding-block: clamp(56px, 7vw, 100px);
}
.ev-main { min-width: 0; }
.ev-main section + section { margin-top: clamp(56px, 7vw, 96px); }
.ev-main h2 { font-size: clamp(32px, 3.6vw, 52px); }
.ev-main > section:first-child .lead { margin-top: 18px; }
.sh { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.sh p { max-width: 360px; font-size: 15px; color: var(--soft); }

.es { display: grid; grid-template-columns: clamp(150px, 16vw, 220px) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 32px); padding-block: 28px; border-top: 1px solid var(--line); }
.es img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 20px; }
.es div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.es h3 { font-size: clamp(24px, 2.3vw, 32px); letter-spacing: -.03em; }
.es .role { font-size: 14px; font-weight: 600; color: var(--soft); }
.es p { font-size: 15.5px; color: var(--soft); }
.es-session { display: grid; gap: 4px; padding: 14px 16px; border-left: 4px solid var(--sun); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--mist); }
.es-session b { font-size: 17px; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; }
.es-session span { font-size: 14.5px; color: var(--soft); }

.ag { margin-left: 6px; border-left: 2px solid var(--ink); list-style: none; }
.ag li { position: relative; display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 18px; padding: 0 0 26px 26px; }
.ag li::before { content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); }
.ag li:nth-child(5)::before { background: var(--sun); }
.ag time { padding-top: 1px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ag b { display: block; font-size: 17px; font-weight: 600; }
.ag span { font-size: 14.5px; color: var(--soft); }

.tb {
  position: sticky; top: calc(var(--nav) + 20px); display: grid; gap: 18px; padding: 28px;
  border-radius: 28px; background: var(--ink); color: var(--paper);
}
.tb .eyebrow { color: var(--sun); }
.tb .pr { display: flex; justify-content: space-between; align-items: baseline; }
.tb .pr b { font-size: 44px; font-weight: 700; letter-spacing: -.04em; }
.tb .pr span, .tb small { font-size: 13px; color: rgba(255, 255, 255, .6); }
.tb dl { display: grid; gap: 10px; font-size: 14px; }
.tb dl div { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line-inv); }
.tb dt { color: rgba(255, 255, 255, .6); }
.tb dd { font-weight: 600; text-align: right; }
.tb .pill { width: 100%; }
.tb small { text-align: center; }

.mbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .ev-body { grid-template-columns: 1fr; }
  .tb { position: static; order: -1; }
}
@media (max-width: 768px) {
  .ev-hero { min-height: calc(100svh - var(--nav) - 70px); }
  .ev-hero h1 { font-size: clamp(48px, 15vw, 72px); }
  .ev-hero .cta .line { display: none; }
  .tb { display: none; }
  .sh { flex-direction: column; align-items: flex-start; }
  .es { grid-template-columns: 1fr; }
  .es img { aspect-ratio: 4 / 3; }
  .ag li { grid-template-columns: 1fr; gap: 2px; }
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: var(--paper);
  }
  .mbar b { font-size: 18px; }
  .mbar span { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); }
  .mbar .pill { height: 46px; }
  .foot { padding-bottom: 110px; }
}

/* ---------- recap (after the night) ---------- */
.recap { margin-top: 18px; color: var(--soft); }
.recap > * + * { margin-top: 1em; }
.recap img { height: auto; border-radius: var(--r-md); }
.recap .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.recap .gallery br { display: none; }

/* ---------- ticket dialog (Fluent Forms ticket form) ---------- */
.dlg-form { width: min(560px, 100% - 24px); max-height: calc(100svh - 24px); overflow: auto; }
.dlg-form h3 { font-size: clamp(26px, 3vw, 34px); }
