/* ============================================
   SAM & SONS V3 — CSS Reset — Asphalt Tech
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--color-cyan-dark) var(--color-bg);
}

/* Cyan scrollbar */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-cyan-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-cyan);
}

body {
  min-height: 100vh;
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

/* Custom cursor support */
body.has-custom-cursor,
body.has-custom-cursor * {
  cursor: none !important;
}

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

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

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

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

ul, ol {
  list-style: none;
}

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

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

fieldset {
  border: none;
}

/* Skip to content — cyan accent */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--color-cyan);
  color: var(--color-bg);
  padding: var(--space-sm) var(--space-md);
  z-index: var(--z-cursor);
  transition: top 0.2s;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  font-size: var(--fs-xs);
}
.skip-link:focus {
  top: 0;
}

/* Selection — cyan */
::selection {
  background-color: var(--color-cyan);
  color: var(--color-bg);
}
