/* ==========================================================================
   reset.css — minimal, modern CSS normalisation
   Keeps browser defaults sane without imposing any visual opinion.
   ========================================================================== */

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* No fixed height:100% on html/body here — that's a classic
   sticky-footer conflict. styles.css sets body's min-height to
   100dvh via flexbox so the footer sits at the bottom of short
   pages; a competing fixed height:100% on the same element resolves
   inconsistently across browsers and can leave the footer short of
   the real viewport bottom, exposing this white background below it.
   min-height in styles.css is the only height rule body needs. */

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

ul,
ol {
  list-style: none;
  padding: 0;
}

table {
  border-collapse: collapse;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
}

/* Respect reduced motion preferences site-wide */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
