body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  --top-offset: 80px;
  margin: 0;
  padding-top: calc(var(--top-offset) + env(safe-area-inset-top));
  min-height: 100vh;
  min-height: 100dvh;
  text-align: center;
  background-color: #fff;
  animation: pageBackgroundCycle 20s linear 5s infinite;
}

@keyframes pageBackgroundCycle {
  0% {
    background-color: #fff;
  }
  50% {
    background-color: #000;
  }
  100% {
    background-color: #fff;
  }
}

.hero-char{
  font-size: 100vw;
  line-height: 1;
  color: red;
  background: transparent;
  position: fixed;
  inset: 0;
  z-index: -2;
  display: grid;
  place-items: center;  /* optional */
  pointer-events: none; /* overlay won’t block clicks/scroll on content */
  user-select: none;    /* optional */
  overflow: hidden;     /* avoid scrollbars */
}

@keyframes xFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.60;
  }
}

#X {
  opacity: 0;
  animation: xFadeIn 20s linear forwards;
  animation-delay: 5s;
  place-items: start center;
  width: 100%;
  transform: translateX(-10px);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 100vw;
  line-height: 1;
}

.rdx-logo {
  width: 20rem;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-bottom: 20px;
  opacity: 0;
  animation: homeFadeIn 1000ms ease forwards;
  animation-delay: 1s;
}

.rdx-subtitle {
  margin: -20px 0px 10px 0px;
  font-size: 4rem;
  color: #000;
  opacity: 0;
  animation: homeFadeIn 800ms ease forwards, theaterColorCycle 20s linear 5s infinite;
  animation-delay: 2s, 5s;
}

@keyframes homeFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes theaterColorCycle {
  0% {
    color: #000;
  }
  50% {
    color: #fff;
  }
  100% {
    color: #000;
  }
}

.rdx-showname {
  margin: 0px;
  color: #bbb;
  font-size: 2rem;
  font-weight: 200;
  opacity: 0;
  animation: homeFadeIn 1000ms ease forwards;
  animation-delay: 3s;
}

.about-toggle {
  margin-top: 8px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: #2563eb;
  font: inherit;
  font-size: 1.5rem;
  font-weight: 300;
  cursor: pointer;
  opacity: 0;
  animation: aboutFadeIn 2000ms ease forwards;
  animation-delay: 8s;
}

.about-toggle:hover,
.about-toggle:focus-visible {
  color: #1d4ed8;
}

@keyframes aboutFadeIn {
  to {
    opacity: 1;
  }
}

.about-panel {
  display: grid;
  justify-items: center;
  grid-template-rows: 0fr;
  margin-top: 0;
  opacity: 0;
  transition: grid-template-rows 750ms ease, margin-top 750ms ease, opacity 750ms ease;
}

.about-panel.is-open {
  grid-template-rows: 1fr;
  margin-top: 12px;
  opacity: 1;
}

.about-panel-content {
  overflow: hidden;
}

.about-panel-body {
  display: inline-block;
  max-width: min(420px, calc(100vw - 40px));
  padding: 14px;
  background: #eef;
  border: 1px solid #888;
  text-align: left;
}

.about-panel-body p:first-child {
  margin-top: 0;
}

.about-panel-body p:last-child {
  margin-bottom: 0;
}

.tickets-cta {
  margin: 18px 0 0;
  opacity: 0;
  animation: homeFadeIn 1000ms ease forwards;
  animation-delay: 8s;
}

.tickets-link {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid #888;
  background: #fff;
  color: #000;
  font: inherit;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.tickets-link:hover,
.tickets-link:focus-visible {
  background: #000;
  color: #fff;
}

.tickets-modal[hidden] {
  display: none;
}

.tickets-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.tickets-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.tickets-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.tickets-dialog {
  z-index: 1;
  width: min(420px, calc(100vw - 40px));
  padding: 24px 20px;
  border: 1px solid #888;
  background: #fff;
  color: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.tickets-close {
  border: 0;
  background: transparent;
  color: #666;
  font: inherit;
  cursor: pointer;
}

.motto1 {
position: absolute;
left: 10px;
top: 120px;
font-size: .75rem;
color: #ccc;
z-index: 10;
}

.motto2 {
position: absolute;
right: 10px;
top: 120px;
font-size: .75rem;
color: #ccc;
z-index: 10;
}

#note {
  position: fixed;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: max-content;
  white-space: nowrap;
  margin: 0;
  color: #bbb;
  font-size: .7rem;
  opacity: 0;
  animation: notesFadeIn 3s ease-in forwards;
  animation-delay: 20s;
}

@keyframes notesFadeIn {
  to {
    opacity: 1;
  }
}

.red {
  color: #f00;
  opacity: 100%;
}

@keyframes radicalDrop {
  0% {
    top: -25%;
  }
  100% {
    top: 50%;
  }
}

.vertical-rotated {
  position: fixed;
  left: 16px;
  top: 50%;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1;
  letter-spacing: 0.2em;
}

#radical {
  animation: radicalDrop 6s ease-in-out forwards;
  animation-delay: 0;
}

.vertical-rotated-right {
  position: fixed;
  right: 16px;
  top: 50%;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1;
  letter-spacing: 0.2em;
  transform: rotate(180deg);
  transform-origin: center;
}

@keyframes xperienceSlideUp {
  0% {
    transform: rotate(180deg) translateY(-100vh);
  }
  100% {
    transform: rotate(180deg) translateY(0);
  }
}

#xperience {
  transform: rotate(180deg) translateY(-100vh);
  animation: xperienceSlideUp 6s ease-in-out forwards;
  animation-delay: 2s;
}

.vertical-rotated .dimmed-text,
.vertical-rotated-right .dimmed-text,
.bottom-fixed .dimmed-text {
  opacity: 0.2;
}

.bottom-fixed {
  font-size: 1em;
  position: fixed;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
  letter-spacing: 0.3em;
}

@keyframes dramaticSlideIn {
  0% {
    transform: translateX(calc(100vw + 50%));
  }
  100% {
    transform: translateX(-50%);
  }
}

#dramatic {
  transform: translateX(calc(100vw + 50%));
  animation: dramaticSlideIn 6s ease-in-out forwards;
  animation-delay: 1s;
}

.typewriter {
  font-family: monospace;
  font-size: 1.25rem;
  margin-top: 10px;
  /* Configure */
  --duration: 3s;
  /* total typing time */
  --caret: currentColor;
  /* caret color */

  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 0.12em solid var(--caret);

  /* The magic: reveal in steps */
  width: 0;
  animation: typing var(--duration) steps(var(--chars)) 5s forwards, caret-blink 0.8s step-end 0s infinite;
}

@keyframes typing {
  to {
    width: calc(var(--chars) * 1ch);
  }
}

@keyframes caret-blink {
  50% {
    border-right-color: transparent;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes segmentsRise {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(calc(-100vh - 100%));
  }
}

@keyframes segmentsColorCycle {
  0% {
    color: #000;
  }
  50% {
    color: #fff;
  }
  100% {
    color: #000;
  }
}

#segments {
  font-size: .75rem;
  position: fixed;
  margin: 0;
  top: 100vh;
  left: 60px;
  white-space: pre-line;
  line-height: 2rem;
  text-align: left;
  z-index: -1;
  max-width: calc(100vw - 80px);
  animation: segmentsRise 50s linear forwards, segmentsColorCycle 20s linear 5s infinite;
}

button {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 200;
  margin-top: 10px;
  background-color: #aad;
  padding: 8px;
  border-radius: 6px;
  border: solid 1px #888;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  body { --top-offset: 64px; }
  .motto1, .motto2 { top: 110px; }
}

@media (max-width: 768px) {
  body { --top-offset: 52px; }
  .rdx-logo { margin-top: 20px; margin-bottom: 20px;}
  .rdx-subtitle { margin-top: 0px; }
  .rdx-showname { margin-top: 0px; font-size: 1.5rem; }
  .motto1, .motto2 { position: absolute; top: 14px; margin: 0; }
  .typewriter {font-size: .9rem;}
  #segments, #radical, #dramatic, #xperience, #motto1, #motto2, #note { display: none; }
}

@media (max-width: 480px) {
  body { --top-offset: 40px; }
  .rdx-showname { margin-top: 20px; font-size: 1.2rem; }
}

body .rdx-showname {
  color: #bbb;
  font-size: 2rem;
}
