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

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  color: var(--paper);
  background: var(--ink);
  min-height: 100dvh;
}

body.is-locked {
  overflow: hidden;
  height: 100dvh;
}

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

a {
  color: var(--amber);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin: 0 0 0.7em;
  color: var(--white);
}

h1 {
  font-size: var(--fs-3xl);
  font-weight: 700;
}

h2 {
  font-size: var(--fs-2xl);
  font-weight: 650;
}

h3 {
  font-size: var(--fs-xl);
  font-weight: 650;
}

p {
  margin: 0 0 1em;
}

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

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--amber);
  color: var(--on-accent);
  padding: 0.6rem 1rem;
  z-index: 3000;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(calc(100% - 2rem), var(--narrow));
}

.muted {
  color: var(--mist);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--amber);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--amber);
}

.section {
  padding: var(--space-8) 0;
}

.section--paper {
  background: var(--paper);
  color: #1b1f24;
}

.section--paper h2,
.section--paper h3,
.section--paper h4 {
  color: var(--ink);
}

.section--paper a {
  color: #b3141b;
}

.section--paper a:hover {
  color: var(--ink);
}

.section--paper .kicker {
  color: #b3141b;
}

.section--paper .kicker::before {
  background: #b3141b;
}

.section--road {
  background:
    linear-gradient(180deg, rgba(11, 13, 16, 0.2), rgba(11, 13, 16, 0.55)),
    var(--road);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
