/* base.css — reset, container, responsive breakpoints.
   Mobile-first: base rules target mobile (<=767px); tablet and desktop
   layer on top via min-width queries. Values always come from tokens.css. */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  font-size: var(--body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: var(--lh-head);
}

a {
  color: var(--accent);
  text-decoration: none;
}

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

ul, ol {
  list-style: none;
}

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

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Container ---- */
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---- Section rhythm ---- */
.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.section--alt {
  background: var(--alt-bg);
}

/* ---- Breakpoints ----
   Mobile:  0–767px   (base rules above, no media query)
   Tablet:  768–1024px
   Desktop: 1025px+   */

@media (min-width: 768px) {
  /* tablet layout rules go here as sections are built */
}

@media (min-width: 1025px) {
  /* desktop layout rules go here as sections are built */
}
