:root {
  --paper: #f3eee5;
  --paper-deep: #e7ddcd;
  --cream: #fbf8f1;
  --white: #fffdf8;
  --ink: #292a25;
  --muted: #66665e;
  --line: #cec2b0;
  --clay: #a65639;
  --clay-dark: #79422f;
  --sand: #d7b98a;
  --sage: #68745f;
  --sage-dark: #3f4b3c;
  --shadow: 0 24px 70px rgba(52, 43, 33, 0.11);
  --radius-large: 28px;
  --radius: 18px;
  --shell: 1240px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--cream);
  background: var(--clay);
}

a {
  color: inherit;
}

button {
  font: inherit;
}

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

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.052em;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(4.3rem, 8vw, 8.1rem);
  line-height: 0.9;
}

h1 em {
  color: var(--clay);
  font-style: normal;
}

h2 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 5.4vw, 5.2rem);
  line-height: 0.98;
}

h3 {
  margin-bottom: 11px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.24;
}

p {
  color: var(--muted);
}

.shell {
  width: min(var(--shell), calc(100% - 64px));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--cream);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}
:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 4px;
}
