@font-face {
  font-family: "Gelasio";
  src: url("./fonts/Gelasio-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  overscroll-behavior: none;
}

body {
  margin: 0;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

#ambient {
  position: fixed;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.landing {
  position: fixed;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 2rem;
  padding-right: max(1.5rem, env(safe-area-inset-right));
  padding-left: max(1.5rem, env(safe-area-inset-left));
  text-align: center;
}

h1 {
  margin: 0;
  font-family: "Gelasio", Georgia, serif;
  max-width: 100%;
  font-size: clamp(3.5rem, 15vw, 12rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.92);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

a {
  border: 0;
  padding: 0;
  color: #fff;
  background: none;
  font-size: 0.625rem;
  line-height: 1;
  text-decoration: none;
  opacity: 0.65;
  transition: opacity 150ms ease;
}

a:hover {
  opacity: 1;
}

a:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 4px;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  a {
    transition: none;
  }
}
