/* Shared colors, typography, layout, and navigation. */
:root {
  --sage: #6C7A60;
  --forest: #2E3829;
  --moss: #4A5841;
  --paper: #F3F4EF;
  --lichen: #D5DCC8;
  --ink: #1F261B;
  --white: #FFFFFF;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;

  --wrap: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible {
  outline: 3px solid #F2D675;
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--white);
  color: var(--ink);
  padding: .75rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--sage);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
}
.wordmark {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .01em;
  text-decoration: none;
}
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.9rem, 3vw, 1.75rem); }
.site-nav a {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--white); }
@media (max-width: 900px) {
  .site-header .wrap { flex-wrap: wrap; padding-top: .5rem; padding-bottom: .5rem; }
  .site-nav { width: 100%; justify-content: space-between; gap: .5rem; }
}
@media (max-width: 560px) {
  .site-nav a { font-size: .82rem; }
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  padding: .95rem 1.6rem;
  border: 2px solid var(--white);
  border-radius: 999px;
  transition: background-color .15s ease, color .15s ease;
}
.btn-solid { background: var(--white); color: var(--forest); }
.btn-solid:hover { background: var(--lichen); border-color: var(--lichen); }
.btn-ghost { background: transparent; color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.8);
  padding: 2.25rem 0;
  font-family: var(--sans);
  font-size: .92rem;
  line-height: 1.6;
}
.site-footer p { margin: 0 0 .35rem; }

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