/**
 * base.css
 * Core reset, typography, and viewport defaults for Maximum Style.
 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--color-bg, #f6f4f1);
  color: var(--color-text-primary, #121013);
  font-family: var(--font-primary, sans-serif);
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

/* Custom sleek scrollbar for light editorial aesthetic */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg, #f6f4f1);
}

::-webkit-scrollbar-thumb {
  background: #d8d4cd;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b5b0a7;
}

/* Accessible focus outlines */
:focus-visible {
  outline: 2px solid var(--color-accent-primary, #121013);
  outline-offset: 3px;
}

/* Screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
