@import url("../styles.css?v=20261007-homogeneous");

body.event-page {
  padding-bottom: 0;
  background: var(--ivory);
}

.event-page .site-header { background: rgba(244, 240, 230, .96); }
.event-page main { padding: 0; }

.event-layout {
  min-height: 100svh;
  max-width: var(--max);
  margin: auto;
  padding: clamp(145px, 14vw, 205px) var(--pad) clamp(78px, 9vw, 130px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  align-items: center;
  gap: clamp(52px, 7vw, 110px);
}

.event-copy { position: relative; z-index: 2; }
.event-copy h1 { max-width: 840px; margin-bottom: 30px; font-size: clamp(54px, 6.2vw, 100px); }
.event-copy .lede { max-width: 690px; margin: 0 0 38px; font-size: clamp(18px, 1.5vw, 23px); line-height: 1.55; }

.event-page .facts {
  max-width: 760px;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.event-page .facts > div { min-width: 0; padding: 18px 20px 18px 0; display: block; }
.event-page .facts > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.event-page .facts dt { margin-bottom: 5px; font-size: 11px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.event-page .facts dd { margin: 0; font-family: var(--serif); font-size: clamp(18px, 1.45vw, 23px); line-height: 1.25; overflow-wrap: anywhere; }
.venue-link { text-underline-offset: 4px; }

.event-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.event-actions .button { width: auto; }
.button-whatsapp { border-color: var(--neon); background: var(--neon); color: var(--ink); }
.button-whatsapp:hover, .button-whatsapp:focus-visible { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.button-secondary { border-color: var(--ink); background: transparent; color: var(--ink); }
.button-secondary:hover, .button-secondary:focus-visible { background: var(--ink); color: var(--ivory); }
.button-disabled { border-color: var(--ink); background: var(--ink); color: var(--ivory); cursor: default; }
.button-disabled:hover { transform: none; }
.availability { display: inline-flex; align-items: center; width: max-content; min-height: 28px; padding: 6px 10px; border-radius: 100px; font-family: var(--sans); font-size: 10px; font-weight: 600; line-height: 1; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.availability-sold-out { background: var(--ink); color: var(--ivory); }
.availability-open { background: var(--neon); color: var(--ink); }
.facts dd > .availability { margin-top: 9px; }
.event-single-session { display: grid !important; gap: 7px; }
.event-session-list { display: grid !important; gap: 13px; }
.event-session-list > span { display: grid; gap: 7px; }

.event-image { position: relative; z-index: 1; margin: 0; aspect-ratio: 4 / 5; overflow: visible; }
.event-image::before { content: ""; position: absolute; z-index: -1; width: 78%; aspect-ratio: 1; left: -22%; top: -7%; border: 30px solid var(--neon); border-radius: 50%; }
.event-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 48% 48% 4px 4px; box-shadow: 0 30px 80px rgba(10, 10, 10, .13); }
.event-image figcaption { position: absolute; inset: auto 18px 18px; padding: 13px 16px; background: rgba(244, 240, 230, .94); backdrop-filter: blur(10px); font-size: 14px; }
.event-page .ticker { margin-bottom: clamp(80px, 10vw, 150px); }

.event-details {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 11vw, 150px) var(--pad);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr);
  gap: clamp(55px, 9vw, 145px);
  background: #ddd6ca;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.event-details::after { content: "&"; position: absolute; z-index: 0; right: -4vw; top: -20vw; color: transparent; -webkit-text-stroke: 1px rgba(10, 10, 10, .12); font-family: var(--serif); font-size: 58vw; font-style: italic; line-height: 1; }
.event-details > div { position: relative; z-index: 1; }
.event-details h2 { max-width: 780px; }
.event-details > div:last-child > p { margin-bottom: 30px; font-size: clamp(18px, 1.4vw, 22px); }
.included-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.included-list li { position: relative; padding: 17px 0 17px 34px; border-bottom: 1px solid rgba(10, 10, 10, .28); }
.included-list li::before { content: ""; position: absolute; left: 0; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--neon); }

.closing-cta {
  max-width: var(--max);
  margin: clamp(75px, 9vw, 130px) auto;
  padding: clamp(52px, 7vw, 95px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  align-items: center;
  gap: clamp(45px, 7vw, 90px);
  background: #ddd6ca;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.closing-cta::after { content: ""; position: absolute; width: 380px; height: 380px; right: -190px; bottom: -220px; border: 50px solid rgba(183, 255, 0, .82); border-radius: 50%; }
.closing-cta > div { position: relative; z-index: 1; }
.closing-cta h2 { max-width: 800px; font-size: clamp(45px, 4.7vw, 76px); }
.closing-cta p:not(.eyebrow) { max-width: 660px; }
.closing-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.event-page .site-footer { background: var(--ivory); }

@media (max-width: 980px) {
  .event-layout { grid-template-columns: 1fr 390px; }
  .event-details, .closing-cta { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  body.event-page { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .event-layout { min-height: auto; grid-template-columns: 1fr; padding-top: 125px; }
  .event-copy { order: 1; }
  .event-image { order: 2; width: min(90%, 520px); margin: 25px auto 0; }
  .event-page .ticker { margin-bottom: 0; }
  .event-details { padding-left: var(--pad); padding-right: var(--pad); }
  .closing-cta { margin-left: var(--pad); margin-right: var(--pad); }
}

@media (max-width: 520px) {
  .event-layout { padding-left: 20px; padding-right: 20px; }
  .event-copy h1 { font-size: clamp(43px, 13vw, 56px); }
  .event-page .facts { grid-template-columns: 1fr; }
  .event-page .facts > div, .event-page .facts > div:nth-child(even) { padding: 15px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .event-page .facts > div:last-child { border-bottom: 0; }
  .event-actions, .closing-actions { width: 100%; }
  .event-actions .button, .closing-actions .button { width: 100%; }
  .event-image { width: 100%; }
  .event-details { padding: 72px 20px; }
  .closing-cta { margin: 60px 0 0; padding: 70px 20px; border-left: 0; border-right: 0; }
}
