/* =========================================================
   GD Project Solutions — Base reset & document defaults
   ========================================================= */

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

html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--t-body-size);
  line-height: var(--t-body-lh);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; }

a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus { outline: none; }
:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
  border-radius: var(--r-2);
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--container-base);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap--wide   { max-width: var(--container-wide); }
.wrap--narrow { max-width: var(--container-narrow); }
