/* ==========================================================================
   AUREUS — modern reset
   ========================================================================== */

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

* { margin: 0; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    min-height: 100vh;
    line-height: var(--lh-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

input, button, textarea, select {
    font: inherit;
    color: inherit;
}

button { background: none; border: 0; cursor: pointer; }

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

ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

h1, h2, h3, h4 { line-height: var(--lh-tight); font-weight: 600; }

table { border-collapse: collapse; border-spacing: 0; width: 100%; }

:target { scroll-margin-top: calc(var(--header-h) + 2rem); }

hr {
    border: 0;
    border-top: 1px solid var(--line);
    height: 0;
}

::selection {
    background: var(--gold-bright);
    color: #1a1400;
}

:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 2px;
    border-radius: var(--r-xs);
}

/* remove focus ring for mouse users that click into non-interactive wrappers */
[tabindex="-1"]:focus { outline: none !important; }

fieldset { border: 0; padding: 0; }
legend { padding: 0; }

summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
