:root {
  color-scheme: dark;
  font-family: "Geist Mono", monospace;
  background: #000;
}

* { box-sizing: border-box; }

html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }

body {
  background: #000;
  color: #f1f1ef;
  font-weight: 300;
}

.hero {
  position: relative;
  width: 100%;
  max-width: 1600px;
  height: 100dvh;
  margin: auto;
  overflow: hidden;
  background: #000 url("dithertone-export.png") center / cover no-repeat;
}

@media (min-width: 1660px) {
  .hero { box-shadow: -1px 0 #242424, 1px 0 #242424; }
}

.intro {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: calc(clamp(12.8rem, 30vw, 30rem) + .75rem);
  max-width: calc(100% - 2.5rem);
  font-size: clamp(1.2rem, 1.65vw, 1.55rem);
  font-weight: 300;
  line-height: 1.6;
  margin-left: 1rem;
  letter-spacing: -.015em;
}

p { margin: 0; }

a {
  color: inherit;
  text-decoration-color: #747474;
  text-underline-offset: .19em;
}

a:hover { color: #fff; }

.sound-player {
  display: none;
}

.sound-toggle {
  position: absolute;
  z-index: 2;
  top: clamp(1rem, 2vw, 2rem);
  right: clamp(1rem, 2vw, 2rem);
  border: 0;
  padding: 0;
  background: transparent;
  color: #000;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -.04em;
  cursor: pointer;
  opacity: 1;
}

.sound-toggle:hover,
.sound-toggle:focus-visible { text-decoration: underline; }

h1 {
  position: absolute;
  z-index: 1;
  left: 0;
  right: .5rem;
  bottom: clamp(.8rem, 2vw, 1rem);
  margin: 0;
  font-size: clamp(5rem, min(16vw, 32vh), 16rem);
  font-weight: 500;
  line-height: .85;
  letter-spacing: -.045em;
  font-kerning: normal;
}

@media (max-width: 600px) {
  .intro { bottom: 11.25rem; }
  h1 { font-size: clamp(3.2rem, 19vw, 6rem); letter-spacing: -.055em; }
}
