:root {
  --background: #FAF6F0;
  --text: #2E2A26;
  --accent: #7C9473;
  --secondary: #D9C2A6;
  --surface: #FFFDF9;
  --muted: #6A6259;
  --line: rgba(46, 42, 38, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(250, 246, 240, 0.96);
}

.site-nav,
.site-footer {
  width: min(100% - 2rem, 920px);
  margin: 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  width: 0.7rem;
  height: 1.65rem;
  border: 2px solid var(--accent);
  border-radius: 999px;
  transform: rotate(-18deg);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.nav-links a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  padding: 0.45rem 0.8rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: rgba(217, 194, 166, 0.38);
}

.nav-links a.is-active {
  color: var(--text);
  background: var(--secondary);
}

.page-shell {
  width: min(100% - 2rem, 720px);
  margin: 0 auto;
  padding: clamp(2.75rem, 7vw, 5rem) 0;
}

.hero {
  padding: clamp(2.25rem, 6vw, 4.5rem) 0 2rem;
}

.hero.compact {
  padding-bottom: 1rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.14;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 10vw, 5.3rem);
}

h2 {
  font-size: clamp(1.35rem, 4vw, 2rem);
}

p {
  margin: 0;
}

.baseline {
  max-width: 660px;
  margin-top: 1rem;
  color: var(--text);
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  line-height: 1.55;
}

.hero-copy {
  max-width: 640px;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.text-block,
.values,
.key-points article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.text-block,
.values {
  margin-top: 2rem;
  padding: clamp(1.3rem, 4vw, 1.75rem);
}

.text-block p,
.values p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.values p {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.values p:first-of-type {
  border-top: 0;
}

.key-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.key-points article {
  min-width: 0;
  padding: 1.25rem;
}

.key-points h2 {
  font-size: 1.18rem;
}

.key-points p {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.page-link {
  margin-top: 2rem;
}

.page-link a {
  color: var(--accent);
  font-weight: 800;
  text-decoration-color: rgba(124, 148, 115, 0.38);
  text-underline-offset: 0.24em;
}

.page-link a:hover,
.page-link a:focus-visible {
  color: var(--text);
  text-decoration-color: var(--text);
}

.site-footer {
  padding: 1.8rem 0 2.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p + p {
  margin-top: 0.35rem;
}

.site-footer strong {
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 680px) {
  .site-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
  }

  .nav-links {
    justify-content: flex-start;
  }

  h1 {
    max-width: 100%;
  }

  .key-points {
    grid-template-columns: 1fr;
  }
}
