* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #ffffff;
  color: #2d2d2d;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  letter-spacing: 1.2em;
  line-height: 2.4em;
}

/* Shimmer: a soft wave of lighter ink drifts continuously across the
   wordmark like light moving over a flag. The gradient tiles seamlessly
   (dark, light, dark, light, dark over twice the text width) and each
   loop scrolls it by exactly one period, so there is never a seam. */
main div {
  --ink: #363636;
  --ink-light: #d2d2d2;
  color: transparent;
  background-image: linear-gradient(
    100deg,
    var(--ink) 0%,
    var(--ink-light) 25%,
    var(--ink) 50%,
    var(--ink-light) 75%,
    var(--ink) 100%
  );
  background-size: 200% 100%;
  background-repeat: repeat;
  background-position: 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.lightpass {
  border-top: 1.5px solid var(--ink);
  padding-top: 0.6em;
}

/* Offset the second line so the wave reaches it a beat later,
   giving the two words a rippling rather than lock-step motion. */
main div + div {
  animation-delay: 0.5s;
}

@keyframes shimmer {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  main div {
    animation: none;
    color: var(--ink);
    background-image: none;
  }
}
