/* ==========================================================================
   MiGoGraphy - Reset & Base Styles
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background-color: var(--ink, #080808);
  color: var(--paper, #F4F1EA);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  position: relative;
  background-color: var(--ink, #080808);
  color: var(--paper, #F4F1EA);
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

::selection {
  background-color: var(--migo-yellow, #F8BB1C);
  color: var(--ink, #080808);
}

::-moz-selection {
  background-color: var(--migo-yellow, #F8BB1C);
  color: var(--ink, #080808);
}

/* Custom minimal scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  background: var(--muted-ink);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--migo-yellow);
}

/* Accessibility Focus Visible */
:focus-visible {
  outline: 2px solid var(--migo-yellow);
  outline-offset: 4px;
}
