/* ============ Surf Design — homepage ============ */

.home {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 0 24px;
  overflow: hidden;
}

.home-center {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: 40px;
  transform: translateY(-6vh);
  text-align: center;
}

.home-mark { color: var(--fg-base); }

.home-statement {
  font-size: 24px; line-height: 38px;
  font-weight: 600;
  color: var(--fg-subtle);
  max-width: 640px;
}
.home-link {
  color: var(--fg-base);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease;
}
.home-link svg {
  display: inline-block;
  vertical-align: -0.5px;   /* optically centers the icon on the text */
  margin: 0 2px 0 4px;
}
.home-link svg[width="17"] { vertical-align: -1.3px; }  /* optical: sit the grid icon on the lowercase x-height centre */
.home-link:hover { color: var(--fg-brand); }

@media (max-width: 640px) {
  .home-statement { font-size: 17px; line-height: 28px; }
}

/* dot field canvas — hugs the bottom, never blocks the pointer */
#dots {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 60vh;
  pointer-events: none;
  color: var(--fg-brand); /* dot color reads currentColor → Surf pink */
}
