/* ============================================
   Belle Époque Atelier — Modern CSS Reset
   ============================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: auto; /* Lenis handles smooth scroll */
}

body {
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

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

/* <picture> is a transparent wrapper — let the inner <img> inherit
   the parent's layout directly (flex item, grid item, etc.). Without
   this, <picture> renders as `display: inline` and breaks the sizing
   rules the CSS writes for the inner <img>. */
picture {
  display: contents;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

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

ul,
ol {
  list-style: none;
}

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

::selection {
  background: var(--color-gold);
  color: var(--color-black);
}
