* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "VT323", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  line-height: 1;
}

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

#stage {
  position: relative;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
  /* Allow interactions for elements we place above the canvas */
}

/* Container to stack the brand and the contact link vertically */
#brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

#brand {
  margin: 0;
  font-size: clamp(56px, 12vw, 180px);
  font-weight: 400;
  text-rendering: optimizeLegibility;
  /* Keep the logo itself non-interactive */
  pointer-events: none;
}

/* Ensure the brand “I” can be measured precisely */
#brand-i {
  position: relative;
  display: inline-block;
}

/* Email link styles: inherit color, use Cascadia Code */
#contact-email {
  margin: 0;
}

#contact-email a.contact-email {
  color: inherit;
  text-decoration: none;
  font-family: "Cascadia Code", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

#contact-email a.contact-email:hover,
#contact-email a.contact-email:focus {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  #gl-canvas {
    display: none;
  }
}