/* Minimal Reset + Base Styles */

* {
  box-sizing: border-box;
}

html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
img,
svg,
button,
input,
textarea,
select {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: var(--line-height-tight);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  display: inline-block;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Remove list styles on nav ul */
nav ul {
  list-style: none;
}

/* Custom cursor */
* {
  cursor: none !important;
}

.cursor-dot {
  position: fixed;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  transition:
    transform 0.25s ease,
    opacity 0.2s ease,
    width 0.25s ease,
    height 0.25s ease;
  z-index: 9999;
}

.cursor-dot--blend {
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%) scale(1);
  mix-blend-mode: difference;
  background: white;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
