/* ══════════════════════════════════════════════════
   WMR — Base Styles
   Reset + elementi globali
   ══════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

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

/* ── Tipografia globale ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.95;
}

p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
}

/* ── Utility ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ── Vignette scura — raccorda le immagini col bg e migliora leggibilità testi ── */
.vignette {
  position: relative;
}
.vignette::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 80px 30px rgba(10,10,10,0.7);
  pointer-events: none;
  z-index: 1;
}

/* ── Selezione testo ── */
::selection {
  background: var(--accent);
  color: var(--white);
}

/* ── Scrollbar personalizzata ── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--surface);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}
