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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body-family);
    font-size: var(--font-body);
    line-height: 1.6;
    color: var(--color-asphalt);
    background-color: var(--color-concrete);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--color-ember);
}

h1,
h2,
h3,
h4,
.rc-display {
    font-family: var(--font-display-family);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.05;
    margin: 0 0 0.75em;
    text-transform: uppercase;
}

h1,
.rc-h1 {
    font-size: var(--font-display);
}

h2,
.rc-h2 {
    font-size: var(--font-h2);
}

h3,
.rc-h3 {
    font-size: var(--font-h3);
}

p {
    margin: 0 0 1em;
}

ul,
ol {
    margin: 0 0 1em;
    padding-left: 1.25em;
}

.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;
}

.sr-only:focus,
.sr-only:focus-visible {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 10000;
    width: auto;
    height: auto;
    padding: 0.75rem 1rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: var(--color-asphalt);
    color: var(--color-chalk);
    border-radius: var(--radius-sm);
    outline: var(--focus-ring);
    outline-offset: 2px;
}

:focus {
    outline: none;
}

:focus-visible {
    outline: var(--focus-ring);
    outline-offset: 2px;
}

::selection {
    background: var(--color-volt);
    color: var(--color-asphalt);
}
