:root {
  color-scheme: light;
  --paper: #f4efe2;
  --ink: #2b271f;
  --muted: #675f51;
  --reed: #6f7f54;
  --river: #426f78;
  --clay: #a6563d;
  --line: #d7ccb7;
  --shade: rgba(43, 39, 31, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(244, 239, 226, 0.94);
  position: sticky;
  top: 0;
  z-index: 10;
}

.bar {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0;
}

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

.nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 8px 10px;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--clay);
}

.hero {
  min-height: 78vh;
  display: grid;
  align-items: end;
  background:
    linear-gradient(to bottom, rgba(43, 39, 31, 0.08), rgba(43, 39, 31, 0.58)),
    var(--hero-image) center / cover no-repeat;
}

.hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 64px;
  color: #fff8e9;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: #f4d8ad;
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0;
  font-weight: 700;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 7vw, 5.9rem);
}

.lead {
  max-width: 690px;
  margin: 22px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

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

.intro-grid,
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 40px;
  align-items: start;
}

.article-grid.reverse {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
}

.page-title {
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--line);
}

.page-title h1 {
  color: var(--ink);
  text-shadow: none;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}

.page-title .lead {
  color: var(--muted);
}

.prose p {
  margin: 0 0 20px;
  font-size: 1.08rem;
}

.prose .mark {
  padding-left: 18px;
  border-left: 4px solid var(--clay);
  color: var(--muted);
}

.figure {
  margin: 0;
}

.figure img {
  display: block;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 18px 45px var(--shade);
}

.caption {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 10px;
}

.note-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.note-list li {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

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

.link-card {
  display: block;
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  background: #fbf7ed;
}

.link-card h3 {
  color: var(--river);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.link-card p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 36px 0;
}

@media (max-width: 760px) {
  .bar {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
    gap: 12px;
  }

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

  .hero {
    min-height: 72vh;
  }

  .intro-grid,
  .article-grid,
  .article-grid.reverse,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 44px 0;
  }
}
