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

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;    /* IE / Edge */
}
html::-webkit-scrollbar {
  display: none;                /* Chrome / Safari / Opera */
}

body {
  font-family: var(--serif);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Locked by gate.js while the gate is closed; released once it opens */
body.gate-locked {
  overflow: hidden;
  height: 100vh;
}

img, svg, canvas { display: block; max-width: 100%; }

a { color: inherit; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}
