.primary-nav a[aria-current="page"],
.mobile-nav a[aria-current="page"] {
  color: var(--accent-dark);
}

.mobile-nav a[aria-current="page"] {
  border-color: #d8b8d8;
  background: var(--accent-soft);
}

/* Hero */
.events-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  overflow: hidden;
  min-height: min(860px, calc(100svh - 70px));
  align-items: center;
  padding-block: clamp(86px, 10vw, 140px);
  background: var(--night);
}

.events-hero::before,
.events-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
}

.events-hero::before {
  background:
    linear-gradient(90deg, rgba(12, 6, 16, .96) 0%, rgba(12, 6, 16, .85) 34%, rgba(12, 6, 16, .32) 65%, rgba(12, 6, 16, .16) 100%),
    linear-gradient(180deg, rgba(12, 6, 16, .2) 55%, rgba(20, 11, 26, .92) 100%);
}

.events-hero::after {
  top: auto;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--night));
}

.events-hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.events-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}

.events-hero-grid {
  display: block;
}

.events-hero-copy {
  width: min(680px, 62%);
  text-shadow: 0 2px 30px rgba(0, 0, 0, .42);
}

.events-hero-copy h1 {
  max-width: 11.5ch;
  margin-top: 21px;
  color: var(--on-night);
  font-size: clamp(44px, 5.9vw, 72px);
  line-height: .98;
}

.events-hero-copy h1 em {
  display: block;
  color: #ee93f4;
  font-style: normal;
}

.events-hero-copy .lead {
  max-width: 58ch;
  margin-top: 27px;
}

.events-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.events-hero-actions svg,
.events-link-chip svg {
  width: 17px;
  height: 17px;
}

.events-hero-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 27px;
  color: var(--on-night-muted);
  font-size: 12.5px;
}

.events-hero-assurances li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.events-hero-assurances svg {
  width: 15px;
  height: 15px;
  color: #efa3f4;
}

/* Organizer command center */
.events-command {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f4ebf3 0%, var(--ground) 18%, var(--ground) 100%);
}

.events-command-head h2 {
  max-width: 16ch;
}

.events-feature-grid {
  display: grid;
  gap: 16px;
  margin-top: clamp(46px, 6vw, 72px);
}

.events-feature-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  min-height: 420px;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(27px, 3.6vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.events-feature-card::after {
  position: absolute;
  z-index: -1;
  top: -90px;
  right: -90px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(179, 19, 190, .1);
  border-radius: 50%;
  content: "";
}

.events-feature-icon,
.events-flow-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #efd9ef;
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.events-feature-icon {
  margin-bottom: 30px;
}

.events-feature-icon svg,
.events-flow-icon svg {
  width: 21px;
  height: 21px;
}

.events-feature-card h3 {
  max-width: 17ch;
  margin-top: 12px;
  font-size: clamp(27px, 3vw, 36px);
}

.events-feature-card > p:not(.card-kicker),
.events-feature-copy > p:not(.card-kicker) {
  max-width: 50ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.events-feature-wide {
  min-height: 560px;
  color: var(--on-night);
  background:
    radial-gradient(circle at 88% 10%, rgba(211, 26, 224, .2), transparent 36%),
    var(--night);
}

.events-feature-wide::after {
  border-color: rgba(240, 162, 245, .12);
}

.events-feature-wide .events-feature-icon {
  border-color: rgba(240, 162, 245, .24);
  background: rgba(211, 26, 224, .14);
  color: #efa3f4;
}

.events-feature-wide .card-kicker {
  color: #f1a2f5;
}

.events-feature-wide .events-feature-copy > p:not(.card-kicker) {
  color: var(--on-night-muted);
}

.events-guest-list {
  align-self: stretch;
  overflow: hidden;
  margin-top: 34px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 28px 60px -38px rgba(0, 0, 0, .8);
}

.events-guest-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: var(--on-night-muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.events-guest-summary strong {
  color: #f1a2f5;
}

.events-guest-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 13px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.events-guest-row:last-child {
  border-bottom: 0;
}

.events-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px;
  background: #873f90;
  color: #fff;
  font-size: 9px;
  font-weight: 750;
}

.events-avatar-two {
  background: #5b4166;
}

.events-avatar-three {
  background: #b454ba;
}

.events-guest-row p {
  display: flex;
  flex-direction: column;
  color: var(--on-night);
  font-size: 11px;
  line-height: 1.45;
}

.events-guest-row small {
  color: var(--on-night-muted);
  font-size: 9px;
}

.events-guest-actions {
  display: flex;
  gap: 6px;
}

.events-guest-actions i {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 9px;
  color: #bcaebf;
  font-size: 13px;
  font-style: normal;
}

.events-guest-actions i:last-child {
  border-color: rgba(86, 230, 168, .25);
  background: rgba(86, 230, 168, .1);
  color: #78edb9;
}

.events-address-art {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fdf9fc;
}

.events-address-art > span,
.events-address-art > i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.events-address-art > i {
  width: 30px;
  height: 30px;
  background: transparent;
}

.events-address-art svg {
  width: 18px;
  height: 18px;
}

.events-address-art p {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.4;
}

.events-address-art small {
  color: var(--muted);
  font-size: 9px;
}

.events-address-art b {
  overflow: hidden;
  color: #4b3d4f;
  font-size: 12px;
  letter-spacing: .12em;
  text-overflow: clip;
  white-space: nowrap;
}

.events-chat-art {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
}

.events-chat-art span {
  width: max-content;
  max-width: 84%;
  padding: 9px 12px;
  border-radius: 13px 13px 13px 4px;
  background: #eee6ed;
  color: #635667;
  font-size: 10px;
  line-height: 1.4;
}

.events-chat-art span:nth-child(2) {
  align-self: flex-end;
  border-radius: 13px 13px 4px;
  background: var(--accent);
  color: #fff;
}

.events-chat-art span:nth-child(3) {
  border: 1px solid #e2cce2;
  background: #fff9ff;
  color: var(--accent-dark);
}

.events-pro-label {
  width: max-content;
  margin-top: auto;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.events-feature-accent {
  border-color: #e1b7e3;
  background: linear-gradient(145deg, #fff 0%, #f9e8fa 100%);
}

.events-link-chip {
  display: flex;
  width: min(100%, 290px);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 12px 15px;
  border: 1px solid #dfc4df;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
}

/* Live TV */
.events-live {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.events-live-orb {
  right: -220px;
  bottom: -280px;
  width: 650px;
  height: 650px;
  opacity: .44;
}

.events-live-grid {
  display: grid;
  gap: clamp(58px, 8vw, 104px);
  align-items: center;
}

.events-live-copy h2 {
  max-width: 11ch;
  margin-top: 17px;
  font-size: clamp(42px, 5.8vw, 70px);
}

.events-live-copy .lead {
  margin-top: 24px;
}

.events-live-list {
  display: grid;
  gap: 17px;
  margin-top: 34px;
}

.events-live-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.events-live-list li > svg {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(211, 26, 224, .2);
  color: #efa3f4;
}

.events-live-list span {
  display: flex;
  flex-direction: column;
  color: var(--on-night);
  font-size: 14px;
}

.events-live-list small {
  margin-top: 2px;
  color: var(--on-night-muted);
  font-size: 11px;
}

.events-tv-demo {
  position: relative;
  width: min(100%, 590px);
  min-height: 430px;
  justify-self: center;
  perspective: 1200px;
}

.events-tv-frame {
  position: relative;
  overflow: hidden;
  min-height: 365px;
  border: 9px solid #0b080d;
  border-radius: 24px;
  background: #241529;
  box-shadow: 0 50px 80px -35px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .15);
  transform: rotateY(-5deg) rotateX(2deg);
}

.events-tv-frame::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(211, 26, 224, .2), transparent 38%);
  content: "";
  pointer-events: none;
}

.events-tv-topbar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 15px;
  align-items: center;
  min-height: 56px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: var(--on-night-muted);
  font-size: 9px;
}

.events-tv-topbar img {
  width: 51px;
  height: auto;
}

.events-tv-topbar > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.events-tv-topbar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #56e6a8;
}

.events-tv-topbar time {
  color: #fff;
  font-family: var(--mono);
}

.events-tv-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.events-tv-poll,
.events-tv-content aside {
  padding: 21px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 17px;
  background: rgba(255, 255, 255, .055);
}

.events-tv-icon {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 17px;
  place-items: center;
  border-radius: 11px;
  background: rgba(211, 26, 224, .18);
  color: #efa3f4;
}

.events-tv-icon svg {
  width: 17px;
  height: 17px;
}

.events-tv-poll > p,
.events-tv-content aside > p {
  color: #f1a2f5;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.events-tv-poll h3 {
  max-width: 18ch;
  margin-top: 7px;
  color: #fff;
  font-size: 20px;
}

.events-tv-poll > div {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.events-tv-poll > div > span {
  position: relative;
  isolation: isolate;
  display: grid;
  overflow: hidden;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: var(--on-night-muted);
  font-size: 9px;
}

.events-tv-poll > div b {
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: var(--score);
  background: rgba(211, 26, 224, .18);
}

.events-tv-poll i,
.events-tv-poll strong {
  font-style: normal;
}

.events-tv-poll strong {
  color: #fff;
}

.events-tv-content aside {
  display: flex;
  flex-direction: column;
}

.events-tv-content aside > strong {
  margin-top: 10px;
  color: #fff;
  font-size: 45px;
  line-height: 1;
}

.events-tv-content aside > span {
  margin-top: 6px;
  color: #65dca8;
  font-size: 9px;
}

.events-tv-faces {
  display: flex;
  margin-top: auto;
  padding-top: 25px;
}

.events-tv-faces i {
  display: grid;
  width: 30px;
  height: 30px;
  margin-left: -6px;
  place-items: center;
  border: 2px solid #322038;
  border-radius: 50%;
  background: #7f438a;
  color: #fff;
  font-size: 8px;
  font-style: normal;
}

.events-tv-faces i:first-child {
  margin-left: 0;
}

.events-tv-faces i:nth-child(2) {
  background: #564060;
}

.events-tv-faces i:nth-child(3) {
  background: #ad4bb5;
}

.events-tv-faces i:last-child {
  background: var(--accent);
}

.events-tv-stand {
  position: absolute;
  bottom: 23px;
  left: 50%;
  width: 33%;
  height: 14px;
  border-radius: 50%;
  background: #09070a;
  box-shadow: 0 -12px 0 -5px #151017;
  transform: translateX(-50%);
}

/* Four-step flow */
.events-flow {
  border-bottom: 1px solid var(--line);
  background: var(--ground);
}

.events-flow-head h2 {
  max-width: 14ch;
}

.events-flow-grid {
  display: grid;
  gap: 14px;
  margin-top: clamp(46px, 6vw, 70px);
  counter-reset: event-step;
}

.events-flow-grid li {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: clamp(26px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.events-flow-grid li > span {
  position: absolute;
  top: 29px;
  right: 29px;
  color: #b9aebc;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .12em;
}

.events-flow-icon {
  margin-bottom: auto;
}

.events-flow-grid h3 {
  margin-top: 10px;
  font-size: clamp(24px, 2.5vw, 30px);
}

.events-flow-grid li > p:last-child {
  margin-top: 13px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* Comparison */
.events-compare {
  background: linear-gradient(180deg, var(--surface-soft), #f8f2f7);
}

.events-compare-grid {
  display: grid;
  gap: clamp(48px, 7vw, 90px);
  align-items: center;
}

.events-compare-copy h2 {
  max-width: 10ch;
  margin-top: 17px;
  font-size: clamp(42px, 5.6vw, 66px);
}

.events-compare-copy .lead {
  margin-top: 23px;
}

.events-compare-panels {
  display: grid;
  gap: 13px;
}

.events-compare-panels article {
  padding: clamp(25px, 3.5vw, 37px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .78);
}

.events-compare-panels ul {
  display: grid;
  gap: 13px;
  margin-top: 22px;
}

.events-compare-panels li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.events-compare-before li::before {
  position: absolute;
  top: .72em;
  left: 0;
  width: 7px;
  height: 1px;
  background: #a99da9;
  content: "";
}

.events-compare-after {
  border-color: #ddb9df !important;
  background: linear-gradient(145deg, #fff, #fbebfc) !important;
  box-shadow: 0 28px 65px -50px rgba(179, 19, 190, .65);
}

.events-compare-after li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  padding-left: 0;
  color: #4f4053;
}

.events-compare-after li svg {
  width: 17px;
  height: 17px;
  padding: 3px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.events-compare-after .card-kicker {
  color: var(--accent-dark);
}

@media (min-width: 620px) {
  .events-tv-content {
    grid-template-columns: 1.45fr .7fr;
  }
}

@media (min-width: 760px) {
  .events-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .events-feature-wide {
    grid-column: 1 / -1;
  }

  .events-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .events-compare-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .events-live-grid,
  .events-compare-grid {
    grid-template-columns: 1.03fr .97fr;
  }

  .events-feature-wide {
    grid-template-columns: 1fr .86fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
  }

  .events-feature-wide .events-guest-list {
    margin-top: 0;
  }

  .events-live-copy {
    padding-right: 10px;
  }
}

@media (min-width: 1040px) {
  .events-flow-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 619px) {
  .events-hero {
    min-height: max(820px, calc(100svh - 126px));
    align-items: end;
    padding-block: 260px 58px;
  }

  .events-hero::before {
    background:
      linear-gradient(180deg, rgba(12, 6, 16, .08) 0%, rgba(12, 6, 16, .18) 24%, rgba(12, 6, 16, .78) 43%, rgba(20, 11, 26, .98) 72%, var(--night) 100%),
      linear-gradient(90deg, rgba(12, 6, 16, .42), rgba(12, 6, 16, .08));
  }

  .events-hero::after {
    height: 72px;
  }

  .events-hero-media img {
    object-position: 52% top;
  }

  .events-hero-copy {
    width: 100%;
  }

  .events-hero-copy h1 {
    font-size: clamp(39px, 11.8vw, 51px);
  }

  .events-hero-copy .lead {
    font-size: 16px;
    line-height: 1.55;
  }

  .events-hero-actions {
    flex-direction: column;
  }

  .events-hero-actions .btn {
    width: 100%;
  }

  .events-feature-card {
    min-height: 390px;
  }

  .events-feature-wide {
    min-height: 0;
  }

  .events-tv-demo {
    min-height: 355px;
  }

  .events-tv-frame {
    min-height: 310px;
    border-width: 6px;
  }

  .events-tv-content {
    padding: 12px;
  }

  .events-tv-poll,
  .events-tv-content aside {
    padding: 16px;
  }

  .events-tv-content aside {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .events-tv-content aside > strong,
  .events-tv-content aside > span {
    grid-column: 1;
  }

  .events-tv-faces {
    grid-row: 1 / 4;
    grid-column: 2;
    align-self: center;
    padding-top: 0;
  }

  .events-tv-stand {
    bottom: 9px;
  }

  .events-flow-grid li {
    min-height: 300px;
  }
}
