:root {
  --paper: #fffdf8;
  --warm: #f6efe1;
  --linen: #eee0c9;
  --teak: #8b542b;
  --teak-dark: #4c2f1d;
  --sage: #536d59;
  --ink: #21302a;
  --muted: #67594b;
  --line: rgba(76, 47, 29, 0.18);
  --shadow: 0 18px 45px rgba(47, 37, 26, 0.12);
  --radius: 8px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
}

a {
  color: var(--teak-dark);
  text-underline-offset: 0.18em;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1120px, calc(100% - 40px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.nav-links a {
  padding: 8px 10px;
  color: var(--sage);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--teak-dark);
}

.hero,
.section,
.fact-list {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 48px;
  align-items: center;
  padding: 54px 0 64px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  color: var(--teak-dark);
  font-family: var(--serif);
  line-height: 1.04;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(52px, 6vw, 82px);
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 21px;
}

.hero-photo,
.portrait-photo,
.gallery figure {
  margin: 0;
}

.hero-photo img,
.portrait-photo img,
.gallery img {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-photo img {
  aspect-ratio: 4 / 3;
  object-position: center center;
}

.section {
  padding: 72px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 42px;
  border-top: 1px solid var(--line);
}

.intro > p,
.erastus p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}

.fact-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact-list article {
  padding: 28px 22px;
  border-right: 1px solid var(--line);
}

.fact-list article:last-child {
  border-right: 0;
}

.fact-list p {
  margin: 0;
  color: var(--muted);
}

.erastus {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
}

.portrait-photo img {
  aspect-ratio: 5 / 4;
  object-position: center center;
}

.erastus p + p {
  margin-top: 16px;
}

.gallery-section {
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 28px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gallery img {
  aspect-ratio: 4 / 3;
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.not-found {
  min-height: 100vh;
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  align-content: center;
  gap: 16px;
}

.button {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--teak-dark);
  border-radius: var(--radius);
  background: var(--teak-dark);
  color: var(--paper);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 920px) {
  .hero,
  .intro,
  .erastus {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 32px;
    padding-top: 44px;
  }

  .fact-list,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact-list article:nth-child(2) {
    border-right: 0;
  }

  .fact-list article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(100% - 28px, 1120px);
    min-height: 0;
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

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

  .nav-links a {
    padding-left: 0;
    padding-right: 14px;
  }

  .hero,
  .section,
  .fact-list,
  .footer,
  .not-found {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    padding: 36px 0 46px;
  }

  .section {
    padding: 48px 0;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .lead,
  .intro > p,
  .erastus p {
    font-size: 18px;
  }

  .fact-list,
  .gallery {
    grid-template-columns: 1fr;
  }

  .fact-list article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
  }

  .fact-list article:last-child {
    border-bottom: 0;
  }
}
