/* ─── Reset / base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: #2a2a2a;
  background-color: #faf8f3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Layout ───────────────────────────────────────────────── */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

main > section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(90, 58, 42, 0.08);
}
main > section:last-child { border-bottom: none; }

/* ─── Header / footer ──────────────────────────────────────── */
.site-header {
  padding: 28px 0;
  border-bottom: 1px solid rgba(90, 58, 42, 0.12);
  background-color: #faf8f3;
}
.brand {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0;
  color: #2a2a2a;
}
.brand a { color: inherit; text-decoration: none; }
.brand .surname { font-style: italic; }

.site-footer {
  padding: 40px 0;
  border-top: 1px solid rgba(90, 58, 42, 0.12);
  margin-top: 0;
}
.site-footer p {
  font-size: 14px;
  color: #6f6a5e;
  margin: 0;
}

/* ─── Typography ───────────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 500;
  color: #1c1c1c;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 24px;
}
h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 32px; }
h2 { font-size: clamp(26px, 3vw, 32px); margin-bottom: 24px; }
h3 { font-size: 22px; margin-bottom: 16px; }

p { margin: 0 0 20px; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5a3a2a;
  font-weight: 500;
  margin-bottom: 20px;
}

.lede {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1.5;
  color: #3a3a3a;
  margin-top: 32px;
}

.section-intro {
  color: #4a4a4a;
  margin-bottom: 40px;
}

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 120px 0 100px;
}
.hero h1 {
  max-width: 16ch;
}

/* ─── Values list ──────────────────────────────────────────── */
.value-list {
  margin: 0;
}
.value {
  padding: 28px 0;
  border-bottom: 1px solid rgba(90, 58, 42, 0.08);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
}
.value:last-child { border-bottom: none; }
.value dt {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: #5a3a2a;
}
.value dd {
  margin: 0;
  color: #3a3a3a;
}
@media (max-width: 640px) {
  .value { grid-template-columns: 1fr; gap: 8px; }
}

/* ─── Focus areas ──────────────────────────────────────────── */
.focus-area {
  padding: 32px 0;
  border-bottom: 1px solid rgba(90, 58, 42, 0.08);
}
.focus-area:last-child { border-bottom: none; }
.focus-area h3 {
  color: #5a3a2a;
}

/* ─── Charter CTA ──────────────────────────────────────────── */
.charter-cta {
  background-color: #f4efe5;
}

/* ─── Contact ──────────────────────────────────────────────── */
address {
  font-style: normal;
  color: #3a3a3a;
  line-height: 1.8;
}
address a { color: #5a3a2a; }

/* ─── Links ────────────────────────────────────────────────── */
a { color: #5a3a2a; }
.link {
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(90, 58, 42, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.link:hover { border-bottom-color: #5a3a2a; }

/* ─── Charter page ─────────────────────────────────────────── */
.charter-page main {
  padding: 80px 0;
}
.charter-doc h1 {
  margin-bottom: 48px;
  font-size: clamp(32px, 4.5vw, 44px);
}
.charter-doc h2 {
  margin-top: 56px;
  font-size: 26px;
  color: #5a3a2a;
}
.charter-doc h2:first-of-type { margin-top: 0; }
.charter-doc ul {
  margin: 0 0 20px;
  padding-left: 24px;
}
.charter-doc ul li {
  margin-bottom: 10px;
}
.charter-doc .signature {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(90, 58, 42, 0.16);
  color: #5a3a2a;
}
.charter-doc .back {
  margin-top: 48px;
}

/* ─── Founders image ───────────────────────────────────────── */
.founders-image {
  margin: 0;
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
  margin-top: 48px;
}
.founders-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}
@media (max-width: 640px) {
  .founders-image { padding: 0; margin-top: 24px; }
  .founders-image img { border-radius: 0; }
}
/* Tighten hero spacing when it follows the founders image */
.founders-image + .hero {
  padding-top: 64px;
}
