*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto; /* JS handles all scrolling via GSAP */
}

body {
  background: var(--bg);
  color: var(--t1);
  font-family: var(--fu);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior: none; /* prevents pull-to-refresh interfering with GSAP pins */
}

* {
  -webkit-tap-highlight-color: transparent;
}

img, video, canvas, svg {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  font: inherit;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

#main-content {
  position: relative;
  z-index: 1;
}
