/* The front page: one screen, the inkblot over the swirl. */

/* One screen that does not move: the swirl fills the visible window as the browser's bars come and go (dvh), and
   the page neither scrolls nor bounces. The ground behind it is the swirl's base. */
html,
body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background: var(--swirl-base, var(--ss-page));
}
.hero {
  height: 100dvh;
  min-height: 560px;
}
.blot {
  position: absolute;
  left: 50%;
  top: 50%;
  /* As wide as the canvas, but never taller than about 80% of the screen. */
  width: min(88%, 118svh);
  height: auto;
  translate: -50% -50%;
  opacity: 0.55;
  pointer-events: none;
}
.top {
  position: absolute;
  top: 0;
  right: 0;
  padding: 24px clamp(16px, 3vw, 36px);
}
.name {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 24px;
  text-align: center;
  pointer-events: none;
}
.name h1 {
  margin: 0;
  font-family: var(--ss-font-display);
  /* Sized to sit inside the inkblot's body, so the blot frames it. */
  font-size: clamp(52px, 7.2vw, 104px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
}
.tagline {
  margin: 0;
  font-size: clamp(18px, 1.9vw, 26px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--swirl-tag, inherit);
}
.foot {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--swirl-soft, inherit);
}
.foot a {
  padding: 10px 4px;
  color: inherit;
  text-decoration: none;
}
.foot a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The wordmark and the line fade in together, rising a few pixels. */
.appear {
  opacity: 0;
  transform: translateY(8px);
  animation: appear 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s forwards;
}
@keyframes appear {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .appear {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
