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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background-color: #E5D4C2;
  background-image: url('../assets/images/beige_paper_texture.jpg');
  background-repeat: repeat;
  background-size: 1024px auto;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  background-color: var(--bg-primary, #E5D4C2);
  background-image: url('../assets/images/beige_paper_texture.jpg');
  background-repeat: repeat;
  background-size: 1024px auto;
  color: var(--color-text, #1E2827);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

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

ul, ol {
  list-style: none;
}

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

/* Remove default focus styles, add custom ones */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
