@font-face {
  font-family: "Druk Wide Cyr";
  src: url("../fonts/Druk-Wide-Cyr-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --sand: #c2a998;
  --brown: #24150f;
  --orange: #d96b27;
  --page-padding: clamp(28px, 4vw, 96px);
  --header-height: 80px;
  --display-font: "Druk Wide Cyr", "Arial Black", sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--sand);
  color: var(--orange);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}
body {
  margin: 0;
  background: var(--brown);
  color: var(--sand);
  font-family: "Onest", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--sand);
  outline-offset: 7px;
}
button:disabled {
  cursor: default;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  color: var(--orange);
  font-family: var(--display-font);
  font-weight: 700;
}
h1,
h2 {
  font-size: clamp(42px, 5vw, 110px);
  line-height: 1.22;
  letter-spacing: normal;
}
h1 {
  text-transform: uppercase;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 5;
  padding: 12px;
  background: var(--sand);
  color: var(--brown);
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}

.intro {
  margin-top: 22px;
  font-size: clamp(20px, 1.67vw, 36px);
  line-height: 1.3;
}

.site-footer {
  padding: 32px var(--page-padding) 40px;
  color: var(--sand);
  font-size: 14px;
  line-height: 1.7;
}

.site-footer p {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
  text-wrap: pretty;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 24px;
}

.footer-nav a:hover {
  color: var(--orange);
}

@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
