/* The Events page uses the site's original styles. The rules here cover the
   chooser, booking strip and navigation between the three review views. */
:root {
  --neuro-accent: #ff6666;
}
html {
  scroll-behavior: auto;
}
[hidden] {
  display: none !important;
}
.neuro-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1200;
  padding: 8px 14px;
  color: #fff;
  background: #000;
  transform: translateY(-200%);
}
.neuro-skip:focus {
  transform: none;
}
.neuro-choices {
  width: min(100% - clamp(2rem, 8vw, 8rem), 82rem);
  margin-inline: auto;
  padding-top: calc(var(--nav-offset, 120px) + clamp(8px, 3vw, 38px));
  padding-bottom: clamp(38px, 8vw, 104px);
}
.neuro-choices-heading {
  margin: 0 0 clamp(24px, 4.4vw, 52px);
  text-align: center;
}
.neuro-choices-heading h1 {
  margin: 0 0 .16em;
  font-size: clamp(2.55rem, 7vw, 4.65rem);
  letter-spacing: -.055em;
  line-height: 1.05;
}
.neuro-choices-heading p {
  margin: 0;
  color: #d4d4d4;
  font-size: clamp(.94rem, 1.45vw, 1.12rem);
}
.neuro-choices-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(5px, .8vw, 12px);
}
.neuro-choice {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  aspect-ratio: 1.39;
  min-height: 400px;
  overflow: hidden;
  color: #fff;
  background: #0a0a0a;
  box-shadow: 0 0 0 1px #181818;
}
.neuro-choice::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, transparent 31%, rgb(0 0 0 / .12) 48%, rgb(0 0 0 / .75) 79%, rgb(0 0 0 / .95));
  content: "";
  pointer-events: none;
}
.neuro-choice-image {
  display: block;
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2,.65,.2,1);
}
.neuro-choice-events .neuro-choice-image {
  object-position: 50% 44%;
}
.neuro-choice-magicians {
  background: radial-gradient(ellipse at 66% 40%, #252322 0, #111010 45%, #050505 78%);
}
.neuro-choice-magicians .neuro-choice-image {
  height: 112%;
  object-fit: contain;
  object-position: 63% top;
}
.neuro-choice-copy {
  padding: clamp(1.1rem, 2.8vw, 2.7rem);
}
/* Share the title, caption and icon rows across both photo choices. */
@supports (grid-template-rows: subgrid) {
  .neuro-choices-pair {
    grid-template-rows: minmax(8rem, 1fr) auto auto auto;
  }
  .neuro-choice {
    grid-row: span 4;
    grid-template-rows: subgrid;
    align-content: normal;
  }
  .neuro-choice-copy {
    display: grid;
    grid-row: 2 / span 3;
    grid-template-rows: subgrid;
  }
}
.neuro-choice h2 {
  margin: 0 0 .25em;
  font-size: clamp(1.45rem, 3.1vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -.045em;
  text-wrap: balance;
  text-shadow: 0 2px 12px #000;
}
.neuro-choice p {
  margin: 0;
  max-width: 32ch;
  font-size: clamp(.88rem, 1.38vw, 1.04rem);
  line-height: 1.5;
  color: #ededed;
}
.neuro-choice-only {
  white-space: nowrap;
}
.neuro-choice-o {
  position: relative;
  display: inline-block;
  color: transparent;
  text-shadow: none;
}
.neuro-choice-spiral {
  position: absolute;
  top: .16em;
  left: 0;
  width: .79em;
  height: .79em;
  animation: none;
}
.neuro-choice-formats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.neuro-choice-formats li {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #eee;
  font-size: .875rem;
  line-height: 1.3;
}
.neuro-choice-formats img {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}
@media (min-width: 1200px) {
  .neuro-choice-formats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.neuro-choice:hover,
.neuro-choice:focus-visible {
  color: #fff;
  text-decoration: none;
}
.neuro-choice:hover .neuro-choice-image {
  transform: scale(1.035);
}
.neuro-choice:hover h2,
.neuro-choice:focus-visible h2 {
  text-decoration: underline;
  text-decoration-color: var(--neuro-accent);
  text-decoration-thickness: .075em;
  text-underline-offset: .16em;
}
.neuro-choice:focus-visible,
.neuro-formats:focus-visible,
.neuro-review-back:focus-visible,
.photo-row [role="button"]:focus-visible,
.testimonial__dot:focus-visible {
  outline: 2px solid var(--neuro-accent);
  outline-offset: 4px;
}
.neuro-formats {
  width: min(100%, 72rem);
  margin-inline: auto;
  padding: 0 0 clamp(30px, 4.5vw, 56px);
  text-align: center;
  scroll-margin-top: calc(var(--nav-offset, 120px) + 8px);
}
.neuro-formats-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px 8px;
  margin: 0;
  padding: 0;
}
.neuro-formats-list li {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  color: #eee;
  font-size: clamp(.84rem, 1.4vw, .96rem);
  line-height: 1.35;
}
.neuro-formats-list img {
  width: clamp(26px, 3.2vw, 34px);
  height: clamp(26px, 3.2vw, 34px);
}
#neuromagic .hero-video,
#neuromagic-video {
  /* Use the same full-bleed crop for the poster before the film starts. */
  width: 100%;
  height: 100%;
}
#neuromagic .testimonial__dot {
  border: 0;
  padding: 0;
}
#modal[open] {
  display: flex;
  margin: 0;
  border: 0;
  padding: 0;
  max-width: none;
  max-height: none;
}
#modal::backdrop {
  background: #000;
}
#neuro-magicians-preview {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #121015;
}
.neuro-magicians-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-bottom: 1px solid #383239;
}
.neuro-review-back {
  color: #e8d3be;
  font-size: .88rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#neuro-magicians-frame {
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  display: block;
  border: 0;
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Keep the existing ≤1024px dropdown usable at the tablet breakpoint. */
  #mobile-top-block .navbar {
    justify-content: flex-end;
    padding-right: 28px;
  }
  #mobile-top-block .navbar .hamburger {
    min-width: 44px;
    min-height: 44px;
  }
}
@media (max-width: 700px) {
  .neuro-choices {
    width: min(100% - 1.75rem, 35rem);
    padding-top: calc(var(--nav-offset, 92px) + 2px);
  }
  .neuro-choices-pair {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .neuro-choice h2 {
    font-size: clamp(1.5rem, 6.7vw, 2.55rem);
  }
  @supports (grid-template-rows: subgrid) {
    .neuro-choices-pair {
      grid-template-rows: none;
    }
    .neuro-choice {
      grid-row: auto;
      grid-template-rows: minmax(8rem, 1fr) auto auto auto;
    }
  }
  .neuro-formats-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .neuro-choice-image {
    transition: none;
  }
  .neuro-choice:hover .neuro-choice-image {
    transform: none;
  }
}
/* Allow review in file viewers that disable scripts. */
html:not(.neuro-scripts-enabled) #neuromagic[hidden],
html:not(.neuro-scripts-enabled) #neuro-magicians-preview[hidden] {
  display: block !important;
}
html:not(.neuro-scripts-enabled) #neuro-magicians-frame {
  display: none;
}
html:not(.neuro-scripts-enabled) .neuro-magicians-toolbar {
  margin-top: 2rem;
}
.neuro-route-anchor {
  display: block;
  scroll-margin-top: var(--nav-offset, 120px);
}
html:not(.neuro-scripts-enabled) #neuromagic {
  scroll-margin-top: var(--nav-offset, 120px);
}
.neuro-magicians-fallback {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}
