/* ═══════════════════════════════════════════════════════════
   02 — BASE
   Reset + page foundation. Cursor hidden (replaced by module 03).
   No design opinions beyond what the rest of the modules will
   inherit from.
   ═══════════════════════════════════════════════════════════ */

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

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 400;
  cursor: none;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* subtle grain on the cream canvas */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 20%, rgba(47,154,214,.05), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(47,154,214,.035), transparent 50%);
}

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mid);
  line-height: 1.8;
}

/* generic visibility utility used by the scroll module */
.hide {
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (hover: none) {
  html, body { cursor: auto; }
}
