.site-entrance {
  --entrance-ink: color-mix(in srgb, var(--text-dark) 68%, var(--accent-pink));
  display: none;
  position: fixed;
  z-index: 200;
  inset: 0;
  isolation: isolate;
  overflow: hidden;
  touch-action: none;
  background: var(--entrance-ink);
  clip-path: circle(150% at 50% 50%);
}

html[data-entrance] {
  overflow: hidden;
}

html[data-entrance] .site-entrance {
  display: grid !important;
  place-items: center;
}

.entrance-scene {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  pointer-events: none;
}

.entrance-sweep {
  position: absolute;
  inset: -26% -34%;
  background: radial-gradient(
    circle at 44% 43%,
    var(--accent-pink-light),
    var(--accent-pink) 64%
  );
  transform: translateX(-115%) skewX(-15deg);
}

.entrance-sweep::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: clamp(52px, 17vw, 270px);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(26, 26, 26, 0.13) 44%,
    var(--accent-pink) 68%,
    var(--accent-pink-light) 96%,
    var(--accent-pink)
  );
  box-shadow: 12px 0 42px rgba(232, 165, 165, 0.38);
}

.entrance-mark {
  grid-area: 1 / 1;
  position: relative;
  width: clamp(190px, min(74vw, 84vh), 490px);
  aspect-ratio: 512 / 296;
  opacity: 0;
}

.entrance-ink,
.entrance-glint {
  position: absolute;
  inset: 0;
  /* Fit the square artwork and show only its monogram, above the lettering. */
  mask: url("../images/logo-final.png") center 27.7778% / 100% auto no-repeat;
}

.entrance-ink {
  background: var(--entrance-ink);
}

.entrance-glint {
  background: linear-gradient(
    115deg,
    transparent 43%,
    var(--accent-pink-light) 50%,
    transparent 57%
  );
  background-size: 260% 100%;
  background-position: 115% 0;
  opacity: 0;
}
