/* Noah Vice · base: reset, element defaults, utilities. */
@layer base {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  html, body { margin: 0; padding: 0; background: var(--bg); }
  body {
    font-family: var(--font-text); font-size: var(--font-size, 16px); line-height: 1.6;
    color: var(--ink); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
  }
  img, svg { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  h1, h2, h3, p { margin: 0; }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
  ::selection { background: var(--accent); color: var(--on-accent); }

  .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .skip-link {
    position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-pill);
    background: var(--ink); color: var(--bg); font-size: 14px; transform: translateY(-200%);
  }
  .skip-link:focus { transform: none; }
}
