/* ══════════════════════════════════════════
   RESET — Lowcountry Pool House
   ══════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden; /* mobile browsers need both html+body to prevent horizontal scroll */
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.1;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast);
}

a:hover {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
}

input, textarea, select {
  font-family: var(--font-body);
}

/* ── Touch target minimums ── */
.btn,
button,
input[type=submit],
a.btn {
  min-height: 44px;
}

body.scroll-locked {
  overflow: hidden;
  touch-action: none;
}
