:root {
  --bg: #f1e6d6;
  --ink: #0b0b0b;
  --muted: rgba(11, 11, 11, 0.65);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.02em;
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  align-items: center;
  padding: 6vh 6vw;
}

.canvas-wrap {
  position: relative;
  height: min(42vh, 420px);
  width: 100%;
}

#dust {
  width: 100%;
  height: 100%;
  display: block;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: center;
}

.mark {
  display: grid;
  grid-template-columns: repeat(3, 10px);
  grid-template-rows: repeat(3, 10px);
  gap: 1px;
}

.sq {
  width: 10px;
  height: 10px;
  background: var(--ink);
  border-radius: 1px;
}

.sq.hollow {
  background: transparent;
  border: none;
}

.wordmark {
  display: inline-flex;
  gap: 0;
  align-items: center;
  font-variant-caps: normal;
  text-transform: lowercase;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 0.95;
  transform: translateY(-2px);
}

.name {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.labs {
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(11, 11, 11, 0.55);
  margin-left: -0.03em;
}

.tagline {
  justify-self: center;
  margin: -200px 0 0;
  font-size: clamp(12px, 1.6vw, 16px);
  letter-spacing: 0.08em;
  color: rgba(11, 11, 11, 0.4);
  text-transform: lowercase;
}

@media (max-width: 640px) {
  .page {
    grid-template-rows: auto auto 1fr;
    padding: 5vh 7vw;
  }

  .canvas-wrap {
    height: 32vh;
  }

  .logo-wrap {
    gap: 10px;
  }

  .mark {
    grid-template-columns: repeat(3, 8px);
    grid-template-rows: repeat(3, 8px);
    gap: 1px;
  }

  .sq {
    width: 8px;
    height: 8px;
  }
}
