/* ==========================================================================
   Modern CSS reset — San Jose Custom Upholstery
   ========================================================================== */

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

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

body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, fieldset, legend {
  margin: 0;
}

ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: var(--lh-body);
}

h1, h2, h3, h4, h5, h6 { font-weight: inherit; text-wrap: balance; }
p, li { text-wrap: pretty; }

a { color: inherit; text-decoration: none; }
a:not([class]) { text-decoration-skip-ink: auto; }

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

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

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

fieldset { border: 0; padding: 0; }

table { border-collapse: collapse; width: 100%; }

svg { fill: currentColor; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--c-brass);
  outline-offset: 3px;
  border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

::selection {
  background: var(--c-rust);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
