:root {
  --ink: #20231f;
  --muted: #62675f;
  --cream: #f7f3eb;
  --paper: #fffdf9;
  --green: #344b3d;
  --gold: #b78a4a;
  --line: #ded8cc;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  color: white;
  background: rgba(31, 39, 33, .96);
  box-shadow: 0 1px 0 rgba(255,255,255,.12);
}

.site-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

nav { display: flex; gap: 1.5rem; }
nav a { color: #f7f3eb; font-size: .9rem; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: #e6c590; }

.hero {
  color: white;
  background: #1f2721;
}

.hero-photo {
  position: relative;
  overflow: hidden;
  background: #111;
}

.hero-photo img {
  width: 100%;
  height: auto;
}

.hero-shade {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 8%;
  background: linear-gradient(0deg, #1f2721 0%, rgba(31,39,33,.38) 48%, rgba(31,39,33,0) 100%);
  pointer-events: none;
}

.hero-content {
  width: min(820px, 90vw);
  margin: -1px auto 0;
  padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(4rem, 8vw, 7rem);
  text-align: center;
}

.eyebrow {
  margin: 0 0 .4rem;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.12; }
h1 { margin-bottom: .25rem; font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 400; }
.years { margin-bottom: 1.5rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; letter-spacing: .12em; }
.intro { max-width: 720px; margin: 0 auto; font-size: 1.06rem; }

.section { padding: clamp(4rem, 9vw, 7rem) 5vw; }

.legacy {
  display: grid;
  grid-template-columns: minmax(240px, 380px) minmax(300px, 700px);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  justify-content: center;
  background: var(--cream);
}

.portrait { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: 20px 20px 0 #ded4c3; }
blockquote { margin: 0; }
blockquote p { margin-bottom: 1.5rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: 1.3; }
blockquote cite { color: var(--green); font-style: normal; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.donations { background: var(--paper); }
.section-heading { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-heading h2 { margin-bottom: 1rem; font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 400; }
.section-heading > p:not(.eyebrow) { color: var(--muted); }
.section-heading .note { color: var(--green); font-size: .92rem; font-weight: 700; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 1180px;
  margin: auto;
}

.card { display: flex; flex-direction: column; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 12px 32px rgba(29,35,30,.08); }
.card > img { width: 100%; height: 180px; padding: 2rem; object-fit: contain; background: #fff; border-bottom: 1px solid var(--line); }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 1.6rem; }
.card h3 { margin-bottom: .65rem; font-size: 1.35rem; }
.card p { color: var(--muted); font-size: .95rem; }
.button { align-self: flex-start; margin-top: auto; color: var(--green); font-weight: 700; text-underline-offset: 4px; }

.story { background: var(--green); }
.section-heading.light h2, .section-heading.light > p:not(.eyebrow) { color: white; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; max-width: 1050px; margin: auto; }
.news-card { overflow: hidden; color: var(--ink); background: white; border-radius: 4px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover, .news-card:focus-visible { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(0,0,0,.3); }
.news-card img { width: 100%; aspect-ratio: 1.55 / 1; object-fit: cover; object-position: top; }
.news-card > span { display: block; padding: 1rem 1.2rem; font-weight: 700; }

footer { padding: 2.8rem 5vw; color: #ddd8cd; background: #1f2721; text-align: center; }
footer p { margin-bottom: .25rem; font-size: .85rem; }
.footer-name { color: white; font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; }

:focus-visible { outline: 3px solid #e6c590; outline-offset: 4px; }

@media (max-width: 780px) {
  .site-header { position: relative; justify-content: center; min-height: 64px; text-align: center; }
  nav { display: none; }
  .hero-shade { height: 10%; }
  .hero-content { width: auto; padding: 2.5rem 5vw 4rem; }
  .legacy { grid-template-columns: 1fr; }
  .portrait { max-width: 340px; margin: auto; }
  .card-grid, .news-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .news-card { transition: none; }
}
