:root {
  color-scheme: dark;
  --ink: #111311;
  --night: #0e110f;
  --night-soft: #171b18;
  --paper: #f0eee6;
  --muted: #bbb7ab;
  --green: #87ad88;
  --line: rgba(240, 238, 230, 0.18);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(14, 17, 15, 0.92);
  backdrop-filter: blur(14px);
}
.site-nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}
.navlinks a { text-decoration: none; }
.navlinks a:hover,
.navlinks a:focus-visible,
.navlinks a[aria-current="page"] { color: var(--green); }

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid var(--green);
  border-radius: 5px;
  background: var(--green);
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  font-size: 0.9rem;
}
.button:hover, .button:focus-visible { background: #a5c6a5; border-color: #a5c6a5; }
.button.secondary { border-color: rgba(240,238,230,.42); background: transparent; color: var(--paper); }
.button.secondary:hover, .button.secondary:focus-visible { border-color: var(--paper); background: rgba(240,238,230,.09); }

.page-head {
  padding: 76px 0 62px;
  border-bottom: 1px solid var(--line);
  background: var(--night-soft);
}
.page-head h1 { margin: 0; font-size: clamp(3.2rem, 8vw, 5.5rem); line-height: 1; }
.page-intro { max-width: 720px; margin: 22px 0 0; color: var(--muted); font-size: 1.08rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.84rem;
}
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-inner a { text-underline-offset: 3px; }

@media (max-width: 650px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .navlinks { gap: 18px; font-size: .82rem; }
  .navlinks a:nth-child(2) { display: none; }
}
