:root {
  --ink: #2b241b;
  --muted: #6e6558;
  --forest: #314d34;
  --forest-deep: #243a27;
  --cream: #f7f1e5;
  --paper: #fffdf8;
  --tan: #dcc9a6;
  --gold: #aa8351;
  --line: #ddd0b8;
  --shadow: 0 18px 45px rgba(48, 39, 26, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(220,201,166,.28), transparent 34rem),
    linear-gradient(#fbf7ee, #f6efe3);
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255,253,248,.92);
  border-bottom: 1px solid rgba(170,131,81,.28);
}
.nav-wrap {
  width: min(1320px, calc(100% - 32px));
  margin: auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}
.brand strong {
  font-size: 1.25rem;
  letter-spacing: .02em;
  color: var(--forest-deep);
}
.brand span {
  color: var(--muted);
  font-size: .9rem;
}
.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
}
.nav-links a {
  white-space: nowrap;
  text-decoration: none;
  font-size: .94rem;
  color: #4c453b;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 6px;
}

main { min-height: 70vh; }

.hero {
  width: min(1280px, calc(100% - 24px));
  margin: 26px auto 0;
}
.hero-image {
  width: 100%;
  border: 1px solid #cbb58c;
  box-shadow: var(--shadow);
  border-radius: 4px;
}
.hero-intro {
  width: min(980px, calc(100% - 32px));
  margin: 38px auto 48px;
  text-align: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .76rem;
  color: var(--gold);
  font-weight: bold;
}
h1, h2, h3 {
  color: var(--forest-deep);
  line-height: 1.14;
}
h1 {
  font-size: clamp(2.15rem, 5vw, 4.3rem);
  margin: 12px 0 18px;
}
h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  margin: 0 0 18px;
}
h3 { margin-bottom: 8px; }
.lead {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.13rem;
  color: #50483d;
}
.button-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-block;
  padding: 12px 19px;
  text-decoration: none;
  border: 1px solid var(--forest);
  border-radius: 3px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .92rem;
  font-weight: 700;
}
.button.primary {
  background: var(--forest);
  color: white;
}
.button.secondary {
  background: transparent;
  color: var(--forest);
}
.button:hover { transform: translateY(-1px); }

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0;
}
.section + .section {
  border-top: 1px solid rgba(170,131,81,.24);
}
.section-heading {
  max-width: 750px;
  margin-bottom: 26px;
}
.section-heading p {
  color: var(--muted);
  margin-bottom: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: rgba(255,253,248,.88);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 4px;
  box-shadow: 0 8px 22px rgba(58,48,33,.05);
}
.card h3 { margin-top: 0; }
.card p { color: #61584b; }
.card-link {
  color: var(--forest);
  font-weight: bold;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.feature {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: center;
}
.feature img {
  border: 1px solid #cdbb9c;
  background: white;
  padding: 8px;
  box-shadow: var(--shadow);
}
.caption {
  color: var(--muted);
  font-size: .9rem;
  margin-top: 8px;
}

.page-hero {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 34px;
}
.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}
.page-hero p {
  max-width: 760px;
  color: #554d42;
  font-size: 1.1rem;
}

.content {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 70px;
}
.content.wide { width: min(1120px, calc(100% - 32px)); }
.callout {
  padding: 22px 24px;
  background: #f0e5cf;
  border-left: 4px solid var(--gold);
  margin: 28px 0;
}
.placeholder {
  min-height: 260px;
  border: 1px dashed #bda77e;
  background: rgba(255,253,248,.62);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
  color: var(--muted);
}

.archive-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.archive-item {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 20px;
}
.archive-item small {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .72rem;
}
.archive-item h3 { margin-top: 7px; }

.contribute-list {
  columns: 2;
  column-gap: 34px;
}
.contribute-list li { break-inside: avoid; margin: 0 0 9px; }

.site-footer {
  background: var(--forest-deep);
  color: #eee5d7;
  margin-top: 30px;
}
.footer-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: auto;
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  gap: 28px;
}
.footer-wrap p { margin: 0; max-width: 700px; }
.footer-wrap a { color: white; }

/* Editorial biography layout, scoped to this page. */
.biography-article {
  width: min(1180px, 100%);
  padding: 0 28px 64px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.7;
}
.biography-page [id] { scroll-margin-top: 100px; }
.biography-opening {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 48px;
  align-items: start;
  padding: 52px 0 44px;
  border-bottom: 1px solid var(--tan);
}
.biography-header { width: 100%; padding: 0; margin: 0; }
.biography-header h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin: 12px 0 14px; }
.biography-article p { margin: 0 0 1.2em; }
.biography-header .biography-dates { color: var(--gold); font-size: 1.4rem; margin-bottom: 16px; }
.biography-header .biography-subtitle { font-size: 1.2rem; line-height: 1.6; }
.biography-intro { padding-top: 4px; }
.biography-intro p { font-size: 18px; line-height: 1.7; }
.biography-intro p:last-child { margin-bottom: 0; }
.biography-photo { margin: 0; }
.biography-photo img {
  width: 100%;
  height: auto;
  padding: 6px;
  border: 1px solid var(--tan);
  background: var(--paper);
}
.biography-article figcaption { margin-top: 10px; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.biography-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 740px);
  justify-content: center;
  gap: 64px;
  align-items: start;
  padding-top: 40px;
}
.biography-reading { min-width: 0; }
.biography-contents { position: sticky; top: 100px; padding: 4px 0 16px; }
.biography-contents .eyebrow { margin-bottom: 14px; }
.biography-contents ul { margin: 0; padding: 0; list-style: none; font-size: 1rem; }
.biography-contents li { border-bottom: 1px solid var(--line); }
.biography-contents a { display: block; padding: 10px 0; color: var(--forest); text-decoration: none; }
.biography-contents a:hover { text-decoration: underline; text-underline-offset: 4px; }
.biography-page a:focus-visible { outline: 2px solid var(--forest); outline-offset: 4px; }
.biography-section { padding: 38px 0 24px; border-top: 1px solid var(--tan); }
.biography-section:first-of-type { padding-top: 0; border-top: 0; }
.biography-section > .eyebrow { font-size: .72rem; margin-bottom: 10px; }
.biography-section h2 { font-size: clamp(1.7rem, 2.5vw, 2.1rem); margin-bottom: 22px; }
.biography-section h3 { font-size: 1.35rem; margin: 0 0 12px; }
.biography-section .callout { padding: 22px 24px; margin: 28px 0; }
.biography-section .callout p:last-child { margin-bottom: 0; }
.biography-document {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin: 28px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.biography-document figcaption { margin: 0; }
.biography-placeholder { min-height: 150px; padding: 18px; }
.biography-placeholder p { margin: 0; font-size: .9375rem; line-height: 1.6; }
.biography-archive-card { margin: 28px 0; padding: 24px; background: rgba(255,253,248,.65); border-left: 3px solid var(--gold); }
.biography-archive-card h3 { margin-top: 10px; }
.biography-archive-card .biography-placeholder { min-height: 100px; text-align: left; }
.biography-family-list { columns: 2; column-gap: 32px; padding-left: 24px; margin-bottom: 24px; }
.biography-family-list li { break-inside: avoid; margin-bottom: 8px; }
.biography-sources { color: var(--muted); font-size: 1rem; }
.biography-sources h2 { font-size: 1.5rem; }
.biography-sources ul { padding-left: 22px; }
.biography-sources li { margin-bottom: 7px; }
@media (max-width: 1100px) {
  .biography-article { max-width: 796px; }
  .biography-opening { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .biography-photo { width: min(460px, 100%); margin: 0 auto; }
  .biography-layout { display: block; padding-top: 24px; }
  .biography-contents { position: static; margin-bottom: 32px; border-bottom: 1px solid var(--tan); }
  .biography-contents ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; }
  .biography-contents li { border-bottom: 0; }
}
@media (max-width: 540px) {
  .biography-article { padding: 0 20px 40px; font-size: 17px; }
  .biography-opening { padding-top: 30px; padding-bottom: 30px; }
  .biography-intro p { font-size: 17px; }
  .biography-header h1 { font-size: 2.25rem; }
  .biography-photo { width: 100%; }
  .biography-contents ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  .biography-contents a { padding: 7px 0; }
  .biography-family-list { columns: 1; }
  .biography-document { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .biography-section .callout, .biography-archive-card { padding: 18px; }
}

@media (max-width: 1279px) {
  .biography-contents { top: 180px; }
  .biography-page [id] { scroll-margin-top: 180px; }
  .nav-wrap {
    flex-wrap: wrap;
    padding: 14px 0;
  }
  .brand {
    flex-shrink: 1;
    flex-wrap: wrap;
    white-space: normal;
  }
  .nav-links { flex-wrap: wrap; }
}

@media (max-width: 860px) {
  .biography-page [id] { scroll-margin-top: 280px; }
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }
  .nav-links { gap: 10px 16px; }
  .grid, .archive-list { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .contribute-list { columns: 1; }
  .footer-wrap { flex-direction: column; }
}
