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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--c-dark);
  color: var(--c-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
img { max-width: 100%; display: block; }

/* ── Loading overlay ─────────────────────── */
.loading {
  position: fixed;
  inset: 0;
  background: var(--c-dark);
  display: grid;
  place-items: center;
  z-index: 9999;
  transition: opacity 0.45s ease;
}

.loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-strawberry);
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1);   opacity: 1;   }
  50%       { transform: scale(1.6); opacity: 0.4; }
}

/* ── Utility ─────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
