*, *::before, *::after {
    box-sizing: border-box;
}
html {
    background: var(--background);
}
body {
    display: flow-root;
    margin: 0;
    color: var(--text);
    font: 400 1.125rem/1.45 var(--body-font);
    background: radial-gradient(ellipse at 0 55%, #63180955, transparent 40%), radial-gradient(ellipse at 100% 70%, #7b230e44, transparent 38%), linear-gradient(#1b0d0b, #0b0908 65%);
}
h1, h2, h3, p {
    margin: 0;
}
h1, h2, .eyebrow {
    font-family: var(--heading-font);
    color: var(--gold);
}
h1 {
    font-size: clamp(1.75rem, 4vw, 3rem);
}
h2 {
    font-size: 1.18rem;
    font-weight: 600;
    letter-spacing: .035em;
    text-transform: uppercase;
}
h3 {
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.25;
}
a {
    color: var(--gold);
    text-decoration: none;
}
a:hover {
    color: #fff0cf;
    text-decoration: underline;
    text-underline-offset: .2em;
}
button, input {
    font: inherit;
}
button {
    cursor: pointer;
}
input:not([type='checkbox']) {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: .5rem .7rem;
    background: linear-gradient(125deg, #151817, #080a0a);
    color: var(--text);
    border: 1px solid #625b4e;
    border-radius: 3px;
    box-shadow: inset 0 1px 5px #000;
}
input::placeholder {
    color: var(--muted);
    opacity: 1;
}
input[type='checkbox'] {
    width: 18px;
    height: 18px;
    accent-color: var(--red);
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
:focus-visible {
    outline: 3px solid #ffda91;
    outline-offset: 4px;
}
[hidden] {
    display: none !important;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    top: .5rem;
    left: 1rem;
    z-index: 10;
    padding: .75rem 1rem;
    background: #140b08;
    border: 1px solid var(--gold);
    transform: translateY(-160%);
}
.skip-link:focus {
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}

/* Native dropdown lists: dark popup with readable text (Windows otherwise shows a white list). */
select {
    color-scheme: dark;
}
select option,
select optgroup {
    background-color: #1c1917;
    color: #eee3d0;
}
select option:checked {
    background-color: #5e130c;
    color: #ffe3b0;
}
select option:disabled {
    color: #7d746a;
}

/* Short pages: keep the page texture down to the bottom of the window. */
body {
    min-height: 100vh;
}
