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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background: var(--void);
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
}

body {
    background: var(--void);
    color: var(--parchment);
    font-family: var(--font-ui);
    font-size: var(--t3);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 2px; }

::selection { background: rgba(184,150,62,.25); color: var(--gold-pale); }

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

img {
    backface-visibility: hidden;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }
