@font-face {
  font-family: 'Talent Intro';
  src: url('/gilroy-regular.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Talent Intro';
  src: url('/gilroy-bold.woff') format('woff');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

html.intro-pending {
  background: #10082f;
}
html.intro-pending,
html.intro-pending body {
  overflow: hidden;
}
html.intro-pending body {
  visibility: hidden;
}

.tp-entry-screen[open] {
  --entry-beat: 1570ms;
  --entry-cycle: calc(3 * var(--entry-beat));
  --entry-button-offset: clamp(94px, 28.73vh, 210px);
  --entry-button-offset: clamp(94px, 28.73dvh, 210px);
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  visibility: visible;
  border: 0;
  border-radius: 0;
  background: #10082f;
  color: #fff;
  font: 400 16px/1.2 'Talent Intro', Arial, sans-serif;
}
.tp-entry-screen::backdrop {
  background: #10082f;
}
.tp-entry-layout {
  position: relative;
  display: grid;
  min-height: max(100%, 330px);
  place-items: center;
  box-sizing: border-box;
  padding: 24px;
}
.tp-entry-lockup {
  display: flex;
  align-items: center;
  gap: clamp(26px, 5.71vw, 78px);
}
.tp-entry-screen .tp-entry-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: clamp(170px, 26.07vw, 360px);
  height: auto;
}
.tp-entry-screen .tp-entry-logo-fallback {
  display: flex;
  align-items: center;
  gap: .13em;
  color: #fff;
  font-size: clamp(54px, 8vw, 108px);
  letter-spacing: -.09em;
  line-height: .78;
  white-space: nowrap;
}
.tp-entry-logo-fallback strong {
  font-weight: 700;
}
.tp-entry-logo-fallback small {
  display: block;
  align-self: center;
  padding: .12em .08em;
  background: #fff;
  color: #10082f;
  font-size: .14em;
  font-weight: 400;
  letter-spacing: .03em;
  line-height: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.tp-entry-words {
  display: grid;
  gap: .15em;
  font-size: clamp(21px, 2.65vw, 36px);
  font-size: min(clamp(21px, 2.65vw, 36px), 6.4dvh);
  line-height: 1.1;
  letter-spacing: -.045em;
}
.tp-entry-words > span {
  white-space: nowrap;
}

.tp-entry-screen .tp-entry-button {
  position: absolute;
  top: calc(50% + var(--entry-button-offset));
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 34px;
  padding: 7px 15px;
  border: 1px solid #a77cf0ad;
  border-radius: 999px;
  background: #6d3bd21c;
  box-shadow: 0 0 10px #9b57ff37;
  color: #f7f2ff;
  font: 400 15px/1.2 'Talent Intro', Arial, sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
  transform: translate(-50%, -50%);
}
.tp-entry-button svg {
  flex: none;
  color: #d1b7ff;
}
.tp-entry-button::after {
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent 35%, #d9c0ff 50%, transparent 65%) 100% 0 / 240% 100%;
  content: "";
  opacity: 0;
  pointer-events: none;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
.tp-entry-screen .tp-entry-button:hover {
  background: #6d3bd23b;
  border-color: #d1b7ff;
}
.tp-entry-screen .tp-entry-button:focus-visible {
  outline: 2px solid #d1b7ff;
  outline-offset: 5px;
}

@media (prefers-reduced-motion: no-preference) {
  .tp-entry-words {
    padding-block: 1.27em;
    perspective: 8em;
    perspective-origin: left center;
  }
  .tp-entry-words > span {
    grid-area: 1 / 1;
    justify-self: start;
    transform-origin: center center -2.15em;
    translate: 0 0 .18em;
    animation: tp-entry-reel var(--entry-cycle) ease-in-out infinite;
    animation-delay: var(--entry-phase, 0s);
  }
  .tp-entry-words > span:nth-child(2) {
    --entry-phase: calc(-2 * var(--entry-beat));
  }
  .tp-entry-words > span:nth-child(3) {
    --entry-phase: calc(-1 * var(--entry-beat));
  }
  .tp-entry-screen .tp-entry-button {
    animation: tp-entry-button-glow 1.6s ease-in-out infinite;
  }
  .tp-entry-button::after {
    animation: tp-entry-button-sheen 1.6s ease-in-out infinite;
  }
}
@keyframes tp-entry-reel {
  0%, 23.78%, 100% { rotate: x 0deg; opacity: 1; }
  33.333333%, 57.11% { rotate: x 37deg; opacity: .165; }
  61.88% {
    rotate: x 68deg;
    opacity: 0;
    animation-timing-function: step-end;
  }
  61.9% { rotate: x -68deg; opacity: 0; }
  66.666667%, 90.45% { rotate: x -37deg; opacity: .165; }
}
@keyframes tp-entry-button-glow {
  0%, 70%, 100% { box-shadow: 0 0 10px #9b57ff37; }
  85% { box-shadow: 0 0 17px #9b57ff70; }
}
@keyframes tp-entry-button-sheen {
  0%, 70% { background-position: 100% 0; opacity: 0; }
  83% { opacity: .85; }
  100% { background-position: 0 0; opacity: 0; }
}

@media (max-width: 650px) {
  .tp-entry-screen[open] {
    --entry-button-offset: clamp(140px, 24vh, 205px);
    --entry-button-offset: clamp(140px, 24dvh, 205px);
  }
  .tp-entry-lockup {
    gap: 32px;
    flex-direction: column;
    transform: translateY(-18px);
  }
  .tp-entry-screen .tp-entry-logo {
    width: clamp(158px, 44vw, 235px);
  }
  .tp-entry-screen .tp-entry-logo-fallback {
    font-size: clamp(54px, 15vw, 96px);
  }
  .tp-entry-words {
    justify-items: center;
    font-size: clamp(18px, 4.4vw, 24px);
    perspective-origin: center;
  }
  .tp-entry-words > span {
    justify-self: center;
  }
}
