/**
 * Albireo - Reset & Base Styles
 */

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

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

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    background-color: var(--night-sky);
    color: var(--warm-white);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    line-height: 1.25;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

ul, ol {
    list-style: none;
}

/* Selection */
::selection {
    background: var(--soft-gold);
    color: var(--night-sky);
}

/* Focus visible for keyboard nav */
:focus-visible {
    outline: 2px solid var(--soft-gold);
    outline-offset: 3px;
}

/* Smooth scrollbar for webkit */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--night-sky);
}
::-webkit-scrollbar-thumb {
    background: var(--subtle-border);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dim);
}
