:root {
  color-scheme: dark;
  background: #030305;
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
  /* Keep panning and pinch zoom; rapid taps should only activate the artwork. */
  touch-action: manipulation;
}

body { margin: 0; }

.void {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #030305;
}

#arcane, .fallback, .grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.fallback {
  background: radial-gradient(ellipse at 50% 50%, transparent 20%, #36204c22 33%, transparent 56%);
}

.fallback::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 53vmin;
  height: 53vmin;
  transform: translate(-50%, -50%);
  border: 1px solid #8c6fa82e;
  border-radius: 50%;
  box-shadow: 0 0 55px #8756ad16, inset 0 0 55px #8756ad0d;
}

.void.has-webgl .fallback { visibility: hidden; }

.grain {
  z-index: 1;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.96' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}

h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 6vw 0.075em;
  font-size: clamp(3.75rem, 16vw, 15rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.085em;
}

.wordmark {
  display: block;
  padding: 0 .06em 0 0;
  border: 0;
  border-radius: .055em;
  background: transparent;
  color: #eeedf1;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  filter: drop-shadow(0 3px 25px #030305a0);
}

.name, .domain {
  display: inline-block;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.name { background-image: linear-gradient(170deg, #faf9fc 15%, #e0dce8 65%, #a19aaa); }
.domain { background-image: linear-gradient(160deg, #b8b4c2 10%, #96909f 65%, #6b6374); }

.wordmark:focus-visible {
  outline: 1px solid #b8a1d8;
  outline-offset: .12em;
}

@media (forced-colors: active) {
  #arcane, .fallback, .grain { display: none; }
  .name, .domain { background: none; -webkit-text-fill-color: ButtonText; }
}
