/* ============================================================
   reset.css — CSS Reset & Base Styles
   ============================================================ */

/* --- Box Model Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- Document --- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background-color: var(--surface);
  color: var(--on-surface);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Scroll lock when mobile menu / lightbox is open */
body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

/* --- Interactive Elements --- */
a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* --- Lists --- */
ul, ol {
  list-style: none;
}

/* --- Focus Visible --- */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* --- Selection --- */
::selection {
  background-color: var(--primary-container);
  color: var(--on-primary-container);
}
