/* ==========================================================================
   Perfect Enterprises — RESET
   Deliberately minimal and marked off, so this file is the only place that
   touches bare element selectors. Everything else in the build is scoped to
   a .pe- class, which keeps the stylesheet safe to drop into a WordPress
   theme later without collisions.
   ========================================================================== */

/* --- begin reset block ------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img { height: auto; }

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

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

a { color: inherit; }

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

ul, ol { margin: 0; padding: 0; }

table { border-collapse: collapse; border-spacing: 0; }

iframe { border: 0; }

[hidden] { display: none !important; }
/* --- end reset block --------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
