:root {
  --font-display: "Syne", system-ui, sans-serif;
  --font-brand: "Instrument Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #0a1620;
}

#gl {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

#stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 1;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

h1 {
  position: fixed;
  z-index: 3;
  left: 0;
  right: 0;
  top: clamp(1.4rem, 9vh, 5rem);
  margin: 0;
  padding: 0 1rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 5.4vw, 3rem);
  letter-spacing: -0.03em;
  color: var(--title, #fffaf2);
  text-shadow: 0 2px 28px var(--title-shadow, rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

h1 .brand {
  font-family: var(--font-brand);
  font-weight: 600;
  letter-spacing: -0.01em;
}