:root {
  --dark: #141916;
  --dark-2: #1c241e;
  --bg: #efe4d2;
  --bg-alt: #e4d5bf;
  --paper: #f6eee0;
  --cream: #f3ead8;
  --ink: #161410;
  --muted: #5a5348;
  --line: #d2c4ad;
  --brass: #c4a36a;
  --brass-strong: #d4b57a;
  --accent: #1c241e;
  --accent-hover: #101512;
  --focus: #c4a36a;
  --header-h: 4.25rem;
  --wrap: 68rem;
  --radius: 0.9rem;
  --shadow: 0 18px 50px rgba(20, 25, 22, 0.1);
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html {
  margin: 0;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.15rem, 5.4vw, 3.85rem);
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

a {
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

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

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
