/* /events/: the page's own rules (prefix evx-). Its stories run on site.js's [data-sequence]
   engine; every mock-up is drawn in CSS, in em from its device's width, and quotes the product's
   own words. The event page mock (partials/events-page-mock.html) takes its colours from a theme
   class, .evt-<id>, generated from @tuppence/event-themes into event-themes.css. */

/* ---------- Hero ---------- */
.evx-hero {
  padding-bottom: 120px;
}
.evx-hero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

/* ---------- The event page mock, in any theme ---------- */
/* Each device is the size container, so a screen's own font size (and every em inside it) follows
   the device's width: one drawing at every size. */
.evx-phone,
.evx-door,
.evx-ci-phone {
  container-type: inline-size;
}
.evx-screen {
  font-size: calc(100cqw / 21);
  background: var(--ev-bg, #fff);
}
.evx-ev {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--ev-ink);
  transition: color 0.4s ease;
}
.evx-ev .evx-bg {
  z-index: 0;
}
.evx-ev__cover {
  position: relative;
  z-index: 1;
  height: 36%;
  margin: 2.2em 0.9em 0;
  overflow: hidden;
  border-radius: 1em;
  background: #0b1020;
  box-shadow: 0 0.6em 1.6em -0.6em rgba(5, 8, 20, 0.45);
}
.evx-ev__cover i {
  position: absolute;
  width: 48%;
  height: 130%;
  border-radius: 1.2em;
  transform: skewX(-14deg);
}
.evx-ev__cover i:nth-child(1) {
  left: 6%;
  top: 28%;
  background: #3b5bff;
}
.evx-ev__cover i:nth-child(2) {
  left: 40%;
  top: -58%;
  background: #00d1a7;
}
.evx-ev__cover i:nth-child(3) {
  left: 74%;
  top: 42%;
  width: 32%;
  background: #ff8a5b;
}
.evx-ev__body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  padding: 0.9em 1.1em 1em;
}
.evx-ev__host {
  font-size: 0.75em;
  font-weight: 600;
  color: var(--ev-muted);
}
.evx-ev__title {
  font-family: var(--ev-font-title, var(--font-display));
  font-size: 1.55em;
  line-height: 1.05;
  letter-spacing: var(--ev-title-tracking, -0.02em);
  text-transform: var(--ev-title-case, none);
}
.evx-ev__when {
  font-size: 0.75em;
  color: var(--ev-muted);
}
.evx-ev__going {
  display: flex;
  align-items: center;
  gap: 0.25em;
  font-size: 0.65em;
  color: var(--ev-muted);
}
.evx-ev__going i {
  width: 1.4em;
  height: 1.4em;
  margin-right: -0.55em;
  border-radius: 50%;
  border: 0.15em solid var(--ev-bg);
  background: var(--ev-decor-2, #ff8a5b);
}
.evx-ev__going i:nth-child(2) {
  background: var(--ev-decor-3, #00d1a7);
}
.evx-ev__going i:nth-child(3) {
  margin-right: 0.3em;
  background: var(--ev-accent);
}
.evx-ev__types {
  display: grid;
  gap: 0.4em;
  margin-top: 0.5em;
}
.evx-ev__type {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5em 0.75em;
  border-radius: 0.65em;
  background: var(--ev-card);
  box-shadow: 0 0 0 0.08em var(--ev-line);
  font-size: 0.8em;
  font-weight: 600;
  transition:
    transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.3s;
}
.evx-ev__type small {
  display: block;
  font-size: 0.82em;
  font-weight: 400;
  color: var(--ev-muted);
}
.evx-ev__type.is-picked {
  box-shadow: 0 0 0 0.14em var(--ev-accent);
}
.evx-ev__type.is-at {
  transform: scale(0.96);
}
.evx-ev__type.is-out {
  opacity: 0.55;
}
.evx-ev__type.is-out > span:last-child {
  text-decoration: line-through;
}
.evx-ev__btn {
  margin-top: auto;
  padding: 0.75em;
  border-radius: 0.75em;
  background: var(--ev-accent);
  color: var(--ev-accent-ink);
  font-weight: 700;
  font-size: 0.85em;
  text-align: center;
}
.evx-ev__fee {
  font-size: 0.62em;
  color: var(--ev-muted);
  text-align: center;
}

/* ---------- S1: the hero story ---------- */
.evx-hero-stage {
  position: relative;
  max-width: 560px;
  margin: 0 0 0 auto;
  padding: 0 34% 6% 0;
}
.evx-phone {
  width: 100%;
}
.evx-sheet {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  background: rgba(11, 16, 32, 0.45);
}
.evx-sheet__panel {
  width: 100%;
  display: grid;
  gap: 0.55em;
  padding: 1.2em 1.2em 1.6em;
  border-radius: 1.2em 1.2em 0 0;
  background: #fff;
  color: #0b1020;
  font-size: 0.85em;
  transition: transform 0.55s cubic-bezier(0.2, 0.9, 0.25, 1.1);
}
[data-sequence][data-step] .evx-sheet:not(.is-on) .evx-sheet__panel {
  transform: translateY(100%);
}
.evx-sheet__title {
  font-size: 1.2em;
}
.evx-sheet__row {
  display: flex;
  justify-content: space-between;
  font-variant-numeric: tabular-nums;
}
.evx-sheet__row--soft {
  color: #007a62;
  font-weight: 600;
}
.evx-sheet__total {
  padding-top: 0.55em;
  border-top: 0.08em solid #dce0ec;
  font-weight: 700;
}
.evx-sheet__pay {
  margin-top: 0.3em;
  padding: 0.85em;
  border-radius: 0.7em;
  background: #000;
  color: #fff;
  font-weight: 600;
  text-align: center;
  transition: transform 0.2s;
}
.evx-sheet__pay.is-at {
  animation: evx-press 0.5s 0.9s both;
}
@keyframes evx-press {
  50% {
    transform: scale(0.95);
  }
}
.evx-sheet__alt {
  font-size: 0.8em;
  color: #6b7190;
  text-align: center;
}
.evx-done {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.86);
  color: #0b1020;
  font-size: 1.4em;
}
.evx-done b {
  font-family: var(--font-display);
}
.evx-done__bits i {
  position: absolute;
  top: 45%;
  left: 50%;
  width: 0.45em;
  height: 0.7em;
  border-radius: 0.1em;
  background: #3b5bff;
  opacity: 0;
}
.evx-done.is-on .evx-done__bits i {
  animation: evx-burst 1.4s cubic-bezier(0.15, 0.7, 0.3, 1) both;
}
.evx-done__bits i:nth-child(3n + 2) {
  background: #00d1a7;
}
.evx-done__bits i:nth-child(3n) {
  background: #ff8a5b;
}
.evx-done__bits i:nth-child(1) {
  --x: -5em;
  --y: -6em;
  --r: -40deg;
}
.evx-done__bits i:nth-child(2) {
  --x: 5em;
  --y: -5.5em;
  --r: 60deg;
}
.evx-done__bits i:nth-child(3) {
  --x: -6.5em;
  --y: -1em;
  --r: 120deg;
}
.evx-done__bits i:nth-child(4) {
  --x: 6.5em;
  --y: -1.5em;
  --r: -90deg;
}
.evx-done__bits i:nth-child(5) {
  --x: -3em;
  --y: -8em;
  --r: 30deg;
}
.evx-done__bits i:nth-child(6) {
  --x: 3em;
  --y: -8.5em;
  --r: -60deg;
}
.evx-done__bits i:nth-child(7) {
  --x: -7em;
  --y: 3em;
  --r: 80deg;
}
.evx-done__bits i:nth-child(8) {
  --x: 7em;
  --y: 2.5em;
  --r: -30deg;
}
.evx-done__bits i:nth-child(9) {
  --x: -1em;
  --y: -9em;
  --r: 150deg;
}
.evx-done__bits i:nth-child(10) {
  --x: 1.5em;
  --y: 5em;
  --r: -120deg;
}
.evx-done__bits i:nth-child(11) {
  --x: -4.5em;
  --y: 6em;
  --r: 45deg;
}
.evx-done__bits i:nth-child(12) {
  --x: 4.5em;
  --y: 6.5em;
  --r: -45deg;
}
@keyframes evx-burst {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.4);
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--r));
  }
}

/* The ticket, beside the phone */
.evx-tix {
  position: absolute;
  top: 16%;
  right: 4%;
  z-index: 2;
  width: 36%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
  padding: 1em 0.9em 0.85em;
  border-radius: 1.1em;
  background: #0b1020;
  color: #fff;
  font-size: clamp(10px, 1.05vw, 14px);
  box-shadow: 0 30px 60px -20px rgba(5, 10, 30, 0.75);
  transform: rotate(4deg);
}
[data-sequence][data-step] .evx-tix:not(.is-on) {
  transform: translate(-40%, 12%) rotate(-6deg) scale(0.8);
}
.evx-tix__kind {
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4de2c3;
}
.evx-tix__name {
  font-size: 1.05em;
}
.evx-tix__event {
  font-size: 0.75em;
  color: #b8bed6;
}
.evx-tix__qr {
  position: relative;
  display: grid;
  width: 82%;
  margin-top: 0.3em;
  padding: 0.4em;
  border-radius: 0.6em;
  background: #fff;
  overflow: hidden;
}
.evx-tix__qr > span {
  grid-area: 1 / 1;
}
.evx-tix__qr .qr {
  display: block;
  width: 100%;
  height: auto;
}
.evx-tix__code-b {
  background: #fff;
}
.evx-tix__code-b .qr {
  transform: scaleX(-1) rotate(90deg);
}
.evx-tix__code-b.is-on {
  animation: evx-redraw 1.6s steps(1) infinite;
}
@keyframes evx-redraw {
  50% {
    opacity: 0;
  }
}
.evx-tix__short {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.75em;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.evx-tix__live {
  display: flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.68em;
  color: #b8bed6;
}
.evx-ring {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  border-radius: 50%;
  border: 0.15em solid #00d1a7;
  border-right-color: transparent;
}
.evx-tix__live.is-on .evx-ring {
  animation: evx-spin 1.6s linear infinite;
}
@keyframes evx-spin {
  to {
    transform: rotate(360deg);
  }
}

/* The door phone */
.evx-door {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: 34%;
}
[data-sequence][data-step] .evx-door:not(.is-on) {
  transform: translateY(14%);
}
.evx-door__screen {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  padding: 2.2em 0.8em 1em;
  background: #0b1020;
  color: #fff;
  font-size: calc(100cqw / 13);
}
.evx-door__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85em;
}
.evx-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.2em 0.6em;
  border-radius: 99em;
  background: rgba(0, 209, 167, 0.16);
  color: #4de2c3;
  font-size: 0.75em;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}
.evx-pill--off {
  background: rgba(255, 138, 91, 0.18);
  color: #ffa67f;
}
.evx-pill .icon {
  width: 1em;
  height: 1em;
}
.evx-door__cam {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.8em;
  background: #1d2338;
}
.evx-door__cam::before {
  content: "";
  position: absolute;
  inset: 22%;
  border: 0.14em solid rgba(255, 255, 255, 0.55);
  border-radius: 0.5em;
}
.evx-door__cam i {
  position: absolute;
  left: 22%;
  right: 22%;
  top: 50%;
  height: 0.14em;
  background: #00d1a7;
  animation: evx-scan 1.6s ease-in-out infinite alternate;
}
@keyframes evx-scan {
  from {
    transform: translateY(-2.2em);
  }
  to {
    transform: translateY(2.2em);
  }
}
.evx-door__ok {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.5em;
  align-items: center;
  padding: 0.6em;
  border-radius: 0.7em;
  background: #00d1a7;
  color: #0b1020;
  font-size: 0.85em;
}
.evx-door__ok small {
  grid-column: 2;
  font-size: 0.8em;
}
.evx-door__ok.is-at {
  animation: evx-pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}
@keyframes evx-pop {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
}
.evx-door__tick {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 1.8em;
  height: 1.8em;
  border-radius: 50%;
  background: #0b1020;
  color: #00d1a7;
}
.evx-door__tick .icon {
  width: 1em;
  height: 1em;
}
.evx-door__count {
  font-size: 0.75em;
  color: #b8bed6;
}
.evx-door__count b {
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.evx-admit {
  display: none;
}
.evx-toggle {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 5;
}
.evx-toggle--light {
  border-color: var(--ink-200);
  background: #fff;
  color: var(--ink-700);
}
.evx-toggle--light:hover {
  background: var(--ink-50);
}

/* ---------- Proof strip ---------- */
.evx-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}
.evx-proof__grid > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--surface-card, #fff);
  box-shadow: 0 0 0 1px var(--ink-100);
}
.evx-proof__grid dt {
  font-size: var(--fs-label);
  color: var(--text-secondary);
}
.evx-proof__grid dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.1;
  text-wrap: balance;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}

/* ---------- The fee sum ---------- */
.evx-sum__title {
  padding: 0 4px 8px;
  font-size: var(--fs-label);
  font-weight: 600;
  color: var(--ink-900);
}
.evx-sum__rows {
  display: grid;
}
.evx-sum__rows > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 4px;
  border-top: 1px solid var(--ink-100);
  font-size: var(--fs-label);
}
.evx-sum__rows dt {
  color: var(--text-secondary);
}
.evx-sum__rows dd {
  font-weight: 600;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}
.evx-sum__rows > .evx-sum__total {
  border-top: 2px solid var(--ink-900);
}
.evx-sum__total dt,
.evx-sum__total dd {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--ink-900);
}

/* ---------- S2: the theme studio ---------- */
.evx-studio__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 64px;
  align-items: center;
}
.evx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.evx-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px 0 10px;
  border: 0;
  border-radius: 99px;
  background: var(--surface-card, #fff);
  box-shadow: 0 0 0 1px var(--ink-200);
  color: var(--ink-800);
  font: inherit;
  font-size: var(--fs-label);
  font-weight: 600;
  cursor: pointer;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.evx-chip:hover {
  box-shadow: 0 0 0 1px var(--ink-400);
}
.evx-chip:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}
.evx-chip[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--ink-900);
}
.evx-chip__dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ev-bg) 50%, var(--ev-accent) 50%);
  box-shadow: 0 0 0 1px rgba(11, 16, 32, 0.15) inset;
}
.evx-studio__ratio {
  margin-top: 16px;
  font-size: var(--fs-label);
  color: var(--text-secondary);
}
.evx-studio__ratio b {
  color: var(--mint-700);
  font-variant-numeric: tabular-nums;
}
.evx-studio__list {
  margin-top: 24px;
}
.evx-studio__stage {
  position: relative;
  display: grid;
  justify-items: center;
  padding-bottom: 48px;
}
.evx-studio__phone {
  width: min(320px, 100%);
}
.evx-studio__stage .evx-toggle {
  left: auto;
  right: 0;
}
.evx-studio__phone .evx-screen {
  transition: background-color 0.4s ease;
}

/* ---------- S4: the door ---------- */
.evx-doorsec__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.evx-ci-stage {
  position: relative;
  display: grid;
  justify-items: center;
  margin: 0;
  padding-bottom: 48px;
}
.evx-ci-phone {
  width: min(320px, 100%);
}
.evx-ci {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  padding: 2.4em 1em 1em;
  background: #0b1020;
  color: #fff;
  font-size: calc(100cqw / 19);
}
.evx-ci__top > span {
  display: grid;
}
.evx-ci__top small {
  font-size: 0.72em;
  color: #9096b0;
}
.evx-ci__top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 0.5em;
}
.evx-ci__top .evx-pill {
  grid-area: 1 / 2;
  justify-self: end;
}
.evx-ci__count {
  display: grid;
  font-size: 0.8em;
  color: #b8bed6;
}
.evx-ci__count > span {
  grid-area: 1 / 1;
}
.evx-ci__count b {
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.evx-ci__cam {
  position: relative;
  aspect-ratio: 1.3;
  border-radius: 0.8em;
  background: #1d2338;
}
.evx-ci__cam::before {
  content: "";
  position: absolute;
  inset: 20% 30%;
  border: 0.14em solid rgba(255, 255, 255, 0.55);
  border-radius: 0.5em;
}
.evx-ci__cam i {
  position: absolute;
  left: 30%;
  right: 30%;
  top: 50%;
  height: 0.14em;
  background: #00d1a7;
  animation: evx-scan 1.6s ease-in-out infinite alternate;
}
.evx-ci__results {
  display: grid;
}
.evx-ci__res {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.6em;
  align-items: center;
  padding: 0.7em;
  border-radius: 0.8em;
  background: #00d1a7;
  color: #0b1020;
  font-size: 0.9em;
}
.evx-ci__res small {
  grid-column: 2;
  font-size: 0.8em;
}
.evx-ci__res--dup {
  background: #ffc6aa;
}
.evx-ci__res--dup .evx-door__tick {
  color: #ffc6aa;
}
.evx-ci__res.is-on {
  animation: evx-pop 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}
.evx-ci__queue {
  display: grid;
  gap: 0.4em;
}
.evx-ci__row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55em 0.7em;
  border-radius: 0.6em;
  background: #141a2e;
  font-size: 0.8em;
}
.evx-ci__row i {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-style: normal;
  font-size: 0.85em;
  color: #ffa67f;
}
.evx-ci__row i.is-sent {
  color: #4de2c3;
}
.evx-ci__row i {
  position: absolute;
  right: 0.7em;
}
.evx-ci__row .icon {
  width: 1em;
  height: 1em;
}

/* ---------- S5: fair tickets ---------- */
.evx-fair {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 0;
  padding-bottom: 52px;
}
.evx-fair__step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 20px;
  background: var(--surface-card, #fff);
  box-shadow: 0 0 0 1px var(--ink-100);
}
[data-sequence][data-step] .evx-fair__step[data-seq-from]:not(.is-on) {
  opacity: 0.35;
  visibility: visible;
  transform: translateY(6px);
}
.evx-fair__n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink-900);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.evx-fair__ui {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 116px;
  padding: 14px;
  border-radius: 14px;
  background: var(--ink-50);
  font-size: 13px;
}
.evx-fair__line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.evx-fair__tag {
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--ink-100);
  color: var(--ink-600);
  font-size: 11px;
  font-weight: 600;
}
.evx-fair__tag--ok {
  background: var(--mint-50);
  color: var(--mint-700);
}
.evx-fair__btn {
  padding: 9px;
  border-radius: 10px;
  background: var(--ink-900);
  color: #fff;
  font-weight: 600;
  text-align: center;
}
.evx-fair__btn.is-at {
  animation: evx-press 0.5s 0.7s both;
}
.evx-fair__big {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.evx-fair__small {
  color: var(--ink-600);
}
.evx-fair__ui--void {
  position: relative;
}
.evx-fair__stamp {
  justify-self: start;
  padding: 2px 10px;
  border: 2px solid var(--sunrise-700);
  border-radius: 6px;
  color: var(--sunrise-700);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: rotate(-6deg);
}
.evx-fair__line--new {
  color: var(--mint-700);
  font-weight: 600;
}
.evx-fair__step p {
  font-size: var(--fs-label);
  color: var(--text-secondary);
}
.evx-fair__step p b {
  display: block;
  color: var(--ink-900);
}
.evx-fair .evx-toggle {
  left: auto;
  right: 0;
}
.evx-fair__more {
  margin-top: 24px;
}

/* ---------- Features, in groups ---------- */
.evx-group {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 48px;
  padding: 40px 0;
  border-top: 1px solid var(--ink-100);
}
.evx-group__head h3 {
  margin-top: 16px;
  font-size: var(--fs-h4);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.evx-group__head p {
  margin-top: 6px;
  color: var(--text-secondary);
  text-wrap: pretty;
}
.evx-group__mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue-600);
}
.evx-group--mint .evx-group__mark {
  background: var(--mint-50);
  color: var(--mint-700);
}
.evx-group--sunrise .evx-group__mark {
  background: var(--sunrise-50);
  color: var(--sunrise-700);
}
.evx-group__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
}
.evx-group__items h4 {
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--ink-900);
}
.evx-group__items p {
  margin-top: 6px;
  font-size: var(--fs-label);
  line-height: 1.6;
  color: var(--text-secondary);
  text-wrap: pretty;
}

/* ---------- Payouts timeline ---------- */
.evx-tl {
  position: relative;
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 32px 32px 64px;
  border-radius: 24px;
  background: var(--tp-lilac);
}
.evx-tl__bar {
  position: absolute;
  top: 46px;
  left: calc(32px + 12.5% - 16px);
  right: calc(32px + 12.5% - 16px);
  height: 4px;
  border-radius: 4px;
  background: rgba(75, 63, 184, 0.18);
}
.evx-tl__fill {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--lilac-700);
  transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.evx-tl[data-step="1"] .evx-tl__fill {
  width: 0;
}
.evx-tl[data-step="2"] .evx-tl__fill {
  width: 33.3%;
}
.evx-tl[data-step="3"] .evx-tl__fill {
  width: 66.6%;
}
.evx-tl__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.evx-tl__steps li {
  display: grid;
  justify-items: center;
  gap: 4px;
  font-size: var(--fs-caption, 13px);
  color: var(--ink-600);
}
[data-sequence][data-step] .evx-tl__steps li[data-seq-from]:not(.is-on) {
  opacity: 0.35;
  visibility: visible;
}
.evx-tl__steps b {
  color: var(--ink-900);
  font-size: var(--fs-label);
}
.evx-tl__dot {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: #fff;
  color: var(--lilac-700);
  box-shadow: 0 0 0 2px var(--lilac-700);
}
.evx-tl__dot--ok {
  background: var(--mint-500);
  color: #fff;
  box-shadow: none;
}
.evx-tl__card {
  justify-self: center;
  display: grid;
  gap: 2px;
  min-width: 260px;
  padding: 18px 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 40px -20px rgba(40, 34, 102, 0.35);
  text-align: center;
}
.evx-tl__card > span {
  font-size: var(--fs-label);
  color: var(--ink-600);
}
.evx-tl__card b {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.evx-tl__card small {
  display: grid;
  font-size: var(--fs-label);
  color: var(--lilac-700);
  font-weight: 600;
}
.evx-tl__card small > span {
  grid-area: 1 / 1;
}
.evx-tl .evx-toggle {
  left: 16px;
  bottom: 16px;
}

/* ---------- FAQ ---------- */
#faq .faq {
  margin-top: 32px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .evx-hero__grid,
  .evx-studio__grid,
  .evx-doorsec__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .evx-hero-stage {
    margin: 0 auto;
  }
  .evx-doorsec__text {
    order: -1;
  }
  .evx-group {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 32px;
  }
  .evx-proof__grid,
  .evx-fair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .evx-tix {
    font-size: clamp(10px, 2vw, 14px);
  }
}
@media (max-width: 900px) {
  .evx-group {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .evx-group__head {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
  }
  .evx-group__head h3 {
    margin: 0;
  }
  .evx-group__head p {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  /* One device per story: the door phone gives way to a line under the event page. */
  .evx-hero-stage {
    padding: 0 26% 64px 0;
  }
  .evx-door {
    display: none;
  }
  .evx-tix {
    top: 3%;
    right: 0;
    width: 38%;
    font-size: clamp(9px, 2.6vw, 12px);
  }
  .evx-admit {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #fff;
    color: var(--ink-900);
    font-size: 13px;
    box-shadow: 0 16px 32px -16px rgba(5, 10, 30, 0.6);
  }
  .evx-admit .evx-door__tick {
    width: 24px;
    height: 24px;
    flex: none;
  }
  .evx-hero-stage .evx-toggle {
    left: auto;
    right: 0;
    bottom: 72px;
  }
  .evx-proof__grid,
  .evx-fair {
    grid-template-columns: minmax(0, 1fr);
  }
  .evx-proof__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .evx-proof__grid > div {
    padding: 16px;
  }
  .evx-proof__grid dd {
    font-size: 1.2rem;
  }
  .evx-group__items {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .evx-tl {
    padding: 24px 20px 64px;
  }
  .evx-tl__bar {
    display: none;
  }
  .evx-tl__steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    text-align: left;
  }
  .evx-tl__steps li {
    position: relative;
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 0;
    justify-items: start;
    align-items: center;
    padding-bottom: 20px;
  }
  .evx-tl__steps li:last-child {
    padding-bottom: 0;
  }
  .evx-tl__steps li:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 34px;
    bottom: 2px;
    width: 2px;
    border-radius: 2px;
    background: var(--lilac-700);
  }
  .evx-tl__dot {
    grid-row: 1 / span 2;
    margin: 0;
  }
  .evx-tl__steps b,
  .evx-tl__steps small {
    grid-column: 2;
  }
  .evx-tl__card {
    min-width: 0;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .evx-door__cam i,
  .evx-ci__cam i,
  .evx-tix__code-b.is-on,
  .evx-tix__live.is-on .evx-ring {
    animation: none;
  }
}

/* The story sections' text columns */
.evx-studio__text,
.evx-doorsec__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.evx-studio__text .evx-chips,
.evx-studio__text .evx-studio__list,
.evx-studio__text .evx-studio__ratio {
  margin-top: 4px;
}

/* Links in running text and small print are underlined; on the dark calculator and price panels
   they are mint, so they read against the navy. */
#keep .lead a,
.ui-panel .small a,
#pricing .small a,
#ticket-compare .small a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.evx-calc .pr-fine a,
#pricing dd small a {
  color: var(--mint-300);
  text-decoration: underline;
  text-underline-offset: 2px;
}
