/* ==============================================
   Rock Prairie Cemetery — Shared Styles
   ============================================== */

:root {
  --ink: #2a241c;
  --ink-soft: #5a4f42;
  --paper: #f6f1e7;
  --paper-warm: #ede4d1;
  --moss: #4a5d3a;
  --moss-dark: #364527;
  --moss-light: #6b7d5a;
  --stone: #6a5f50;
  --stone-light: #b8ad99;
  --gold: #8a5d20;
  --gold-soft: #c89856;
  --gold-bright: #a87b3e;
  --rust: #8a4a2a;
  --line: rgba(42, 36, 28, 0.18);
  --line-soft: rgba(42, 36, 28, 0.08);
  --shadow-sm: 0 1px 3px rgba(42, 36, 28, 0.08);
  --shadow-md: 0 8px 24px rgba(42, 36, 28, 0.12);
  --shadow-lg: 0 20px 60px rgba(42, 36, 28, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  background-image:
    radial-gradient(at 12% 8%, rgba(168, 123, 62, 0.05) 0, transparent 50%),
    radial-gradient(at 88% 92%, rgba(74, 93, 58, 0.05) 0, transparent 50%);
  background-attachment: fixed;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.165 0 0 0 0 0.141 0 0 0 0 0.110 0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}

a { color: var(--moss); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

/* ============ NAV ============ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  font-family: 'IM Fell English SC', serif;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
}
.nav-brand small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--moss-dark);
  background: rgba(74, 93, 58, 0.08);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.donate-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--moss);
  color: var(--paper) !important;
  padding: 9px 16px !important;
  border-radius: 4px;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
  font-size: 11px !important;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  position: relative;
}
.donate-btn svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
  flex-shrink: 0;
}
.donate-btn:hover {
  background: var(--moss-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.donate-btn.active {
  background: var(--moss-dark) !important;
  box-shadow: inset 0 0 0 2px var(--gold-soft);
}
/* Subtle pulse to draw the eye on first load */
@keyframes donate-pulse {
  0%, 100% { box-shadow: var(--shadow-sm); }
  50% { box-shadow: 0 0 0 4px rgba(168, 123, 62, 0.18), var(--shadow-sm); }
}
.donate-btn:not(.active) {
  animation: donate-pulse 3s ease-in-out 1.5s 2;
}
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
}

/* ============ PAGE HEADER (sub-pages) ============ */
.page-header {
  position: relative;
  padding: 90px 32px 60px;
  text-align: center;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--header-bg, none);
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: grayscale(0.3) sepia(0.1);
}
.page-header-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
}
.page-eyebrow {
  font-family: 'IM Fell English SC', serif;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-bottom: 16px;
  display: inline-block;
}
.page-eyebrow::before, .page-eyebrow::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 14px 4px;
  opacity: 0.6;
}
.page-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.05;
  margin-bottom: 16px;
}
.page-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-style: italic;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ============ HERO (homepage) ============ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 32px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/2017_PD_with_chapel_Pano_4975.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.42) saturate(0.85);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at center 45%, rgba(20, 14, 8, 0.55) 0%, rgba(20, 14, 8, 0.25) 60%, transparent 100%),
    linear-gradient(to bottom,
      rgba(20, 14, 8, 0.55) 0%,
      rgba(20, 14, 8, 0.35) 40%,
      rgba(42, 36, 28, 0.35) 70%,
      rgba(246, 241, 231, 0.95) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
  color: var(--paper);
}
.hero-eyebrow {
  font-family: 'IM Fell English SC', serif;
  font-size: 13px;
  letter-spacing: 0.32em;
  margin-bottom: 24px;
  color: var(--paper-warm);
  text-shadow: 0 1px 2px rgba(0,0,0,0.85), 0 2px 12px rgba(0,0,0,0.7);
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--paper-warm);
  vertical-align: middle;
  margin: 0 16px 4px;
  opacity: 0.7;
}
h1.hero-title {
  font-size: clamp(48px, 8vw, 92px);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--paper);
  text-shadow: 0 2px 4px rgba(0,0,0,0.85), 0 4px 24px rgba(0,0,0,0.75);
  font-style: italic;
  letter-spacing: -0.02em;
}
h1.hero-title em {
  font-style: normal;
  font-weight: 400;
  display: block;
  font-size: 0.55em;
  letter-spacing: 0.06em;
  margin-top: 16px;
  opacity: 0.92;
  font-family: 'IM Fell English SC', serif;
}
.hero-meta {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 28px;
  color: var(--paper-warm);
  text-shadow: 0 1px 2px rgba(0,0,0,0.85), 0 2px 12px rgba(0,0,0,0.7);
}
.hero-meta span { display: inline-block; margin: 0 8px; }
.hero-cta {
  margin-top: 44px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ BUTTONS ============ */
.btn {
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  border: 1px solid transparent;
  display: inline-block;
  font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: var(--gold);
  color: var(--paper);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--gold-soft);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-ghost {
  background: rgba(246, 241, 231, 0.1);
  color: var(--paper);
  border-color: var(--paper-warm);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn-outline {
  background: transparent;
  color: var(--moss-dark);
  border-color: var(--moss);
}
.btn-outline:hover {
  background: var(--moss);
  color: var(--paper);
}

/* ============ SECTIONS ============ */
section, main.page-content {
  position: relative;
  padding: 100px 32px;
  z-index: 2;
}
.section-inner, .content-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.content-inner.narrow { max-width: 760px; }
.section-tag {
  font-family: 'IM Fell English SC', serif;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-bottom: 16px;
  display: inline-block;
}
.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  margin-bottom: 24px;
  font-style: italic;
}
.section-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 32px 0 56px;
}
.section-divider::before, .section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.section-divider svg { width: 22px; height: 22px; opacity: 0.5; color: var(--gold); }

/* ============ HISTORY ============ */
.history-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.history-image-stack {
  position: sticky;
  top: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  grid-template-areas: "a a" "b c";
}
.history-image-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  filter: sepia(0.08) saturate(0.95);
  box-shadow: var(--shadow-md);
  transition: transform 0.6s, filter 0.6s;
}
.history-image-stack img:hover {
  filter: sepia(0) saturate(1);
  transform: scale(1.02);
}
.history-image-stack .img-1 { grid-area: a; aspect-ratio: 16/10; }
.history-image-stack .img-2 { grid-area: b; aspect-ratio: 1/1; }
.history-image-stack .img-3 { grid-area: c; aspect-ratio: 1/1; }

.history-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
}
.history-text p { margin-bottom: 22px; }
.history-text p:first-of-type::first-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 76px;
  font-weight: 600;
  float: left;
  line-height: 0.9;
  margin: 6px 12px 0 0;
  color: var(--gold);
  font-style: italic;
}
.history-text strong { color: var(--moss-dark); font-weight: 600; }

.history-callout {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--paper-warm);
  border-left: 3px solid var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink-soft);
  border-radius: 2px;
}
.history-callout span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-style: normal;
  margin-top: 12px;
  color: var(--stone);
  font-weight: 600;
}

/* ============ DONATE BANNER ============ */
.donate-banner {
  background: var(--moss-dark);
  color: var(--paper);
  padding: 96px 32px;
  position: relative;
  overflow: hidden;
}
.donate-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/5.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: grayscale(0.4);
}
.donate-inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.donate-inner .section-tag { color: var(--gold-soft); }
.donate-inner h2 {
  font-size: clamp(36px, 5vw, 54px);
  color: var(--paper);
  font-style: italic;
  margin-bottom: 24px;
}
.donate-inner p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  line-height: 1.6;
  margin-bottom: 36px;
  color: var(--paper-warm);
}
.donate-amounts {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.amount-pill {
  padding: 10px 22px;
  border: 1px solid var(--paper-warm);
  border-radius: 100px;
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}
.donate-form { display: inline-block; }
.donate-form input[type="image"] {
  filter: brightness(1.05);
  transition: transform 0.25s;
}
.donate-form input[type="image"]:hover { transform: translateY(-2px); }
.donate-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--paper-warm);
  opacity: 0.7;
  letter-spacing: 0.04em;
}

/* ============ FUND LIST (donate page) ============ */
.fund-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 24px 0 40px;
}
.fund-card {
  background: var(--paper);
  padding: 24px 20px;
  border-radius: 3px;
  text-align: center;
  border: 1px solid var(--line);
  transition: all 0.25s;
}
.fund-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.fund-card svg {
  width: 32px;
  height: 32px;
  color: var(--gold);
  margin-bottom: 12px;
}
.fund-card h4 {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 6px;
  color: var(--moss-dark);
}
.fund-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

.giveways {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.giveway {
  padding: 24px;
  background: var(--paper);
  border-left: 3px solid var(--gold);
  border-radius: 0 3px 3px 0;
}
.giveway h4 {
  font-size: 17px;
  font-style: italic;
  color: var(--moss-dark);
  margin-bottom: 8px;
}
.giveway p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* ============ DATABASE / SEARCH ============ */
.search-controls {
  display: grid;
  grid-template-columns: 1fr 200px 200px;
  gap: 14px;
  margin-bottom: 32px;
}
.search-input-wrap { position: relative; }
.search-input-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--stone);
  pointer-events: none;
}
.search-input, .search-select {
  width: 100%;
  padding: 14px 18px 14px 46px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  outline: none;
  transition: all 0.2s;
}
.search-select { padding-left: 18px; cursor: pointer; }
.search-input:focus, .search-select:focus {
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(74, 93, 58, 0.12);
}
.search-stats {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.search-stats strong { color: var(--moss-dark); font-weight: 600; }

.results-table {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.result-row {
  display: grid;
  grid-template-columns: 2.4fr 1fr 1.2fr 100px;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  gap: 16px;
  transition: background 0.15s;
}
.result-row:last-child { border-bottom: none; }
.result-row:hover { background: var(--paper-warm); }
.result-row.header {
  background: var(--ink);
  color: var(--paper);
  font-family: 'IM Fell English SC', serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: normal;
}
.result-row.header:hover { background: var(--ink); }
.result-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}
.result-name .surname {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.result-dates { color: var(--ink-soft); font-variant-numeric: tabular-nums; font-size: 13px; }
.result-location { color: var(--ink-soft); font-size: 13px; font-style: italic; }
.result-badges { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-mil { background: rgba(138, 74, 42, 0.12); color: var(--rust); }
.badge-link { background: rgba(74, 93, 58, 0.12); color: var(--moss-dark); }
.badge-link a { color: inherit; }
.badge-photo { background: rgba(168, 123, 62, 0.15); color: var(--gold); }

.search-empty {
  padding: 64px 32px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--stone);
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.page-btn {
  padding: 8px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  transition: all 0.15s;
  min-width: 38px;
}
.page-btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.page-btn.active { background: var(--moss); color: var(--paper); border-color: var(--moss); }
.page-info {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 8px;
}

/* ============ MAP ============ */
.map-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.map-canvas {
  position: relative;
  background: var(--paper-warm);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.map-canvas img { width: 100%; display: block; }
.map-overlay { position: absolute; inset: 0; pointer-events: none; }
.map-pin {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  background: rgba(74, 93, 58, 0.18);
  border: 2px solid var(--moss);
  border-radius: 2px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-pin:hover {
  background: rgba(168, 123, 62, 0.35);
  border-color: var(--gold);
  z-index: 5;
}
.map-pin span {
  font-family: 'IM Fell English SC', serif;
  font-size: 11px;
  color: var(--moss-dark);
  background: var(--paper);
  padding: 1px 5px;
  border-radius: 2px;
  white-space: nowrap;
  pointer-events: none;
}
.map-pin:hover span {
  background: var(--gold);
  color: var(--paper);
}
.map-legend {
  background: var(--paper-warm);
  padding: 28px;
  border-radius: 3px;
  border: 1px solid var(--line);
}
.map-legend h3 {
  font-size: 22px;
  margin-bottom: 16px;
  font-style: italic;
  color: var(--moss-dark);
}
.legend-list { list-style: none; }
.legend-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  cursor: pointer;
  transition: color 0.15s;
}
.legend-list li:hover { color: var(--gold); }
.legend-list li:last-child { border-bottom: none; }
.legend-list .count {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--stone);
  background: var(--paper);
  padding: 2px 8px;
  border-radius: 100px;
  font-style: normal;
}

/* ============ INFO CARDS (visit page) ============ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.info-card {
  background: var(--paper);
  padding: 40px;
  border-radius: 3px;
  border: 1px solid var(--line);
  position: relative;
}
.info-card.full { grid-column: 1 / -1; }
.info-card h3 {
  font-size: 28px;
  margin-bottom: 24px;
  font-style: italic;
  color: var(--moss-dark);
  display: flex;
  align-items: center;
  gap: 12px;
}
.info-card h3 svg { width: 24px; height: 24px; color: var(--gold); }
.info-line {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
  font-size: 15px;
}
.info-line .label {
  font-family: 'IM Fell English SC', serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--stone);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.info-line .value { font-weight: 500; color: var(--ink); }
.info-line a { color: var(--moss); font-weight: 500; }

.directions-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  font-style: italic;
}
.directions-text strong { color: var(--ink); font-style: normal; }
.directions-text p { margin-bottom: 14px; }

/* ============ BOARD ============ */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.board-member {
  text-align: center;
  padding: 28px 20px;
  background: var(--paper-warm);
  border-radius: 3px;
  border: 1px solid var(--line-soft);
  transition: all 0.25s;
}
.board-member:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.board-role {
  font-family: 'IM Fell English SC', serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.board-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.board-email {
  font-size: 12px;
  color: var(--moss);
  word-break: break-all;
}

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 8px;
}
.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  background: var(--paper-warm);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s, filter 0.4s;
  filter: sepia(0.05);
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: sepia(0);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42,36,28,0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-feature {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1;
}

/* ============ NEWSLETTERS ============ */
.newsletter-feature {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  background: var(--paper);
  padding: 40px;
  border-radius: 3px;
  border: 1px solid var(--line);
  margin-bottom: 56px;
  box-shadow: var(--shadow-md);
}
.newsletter-feature .cover {
  position: relative;
  aspect-ratio: 8.5/11;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
  background: var(--paper-warm);
}
.newsletter-feature .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.newsletter-feature .cover::after {
  content: 'LATEST';
  position: absolute;
  top: 20px;
  left: -36px;
  background: var(--gold);
  color: var(--paper);
  padding: 6px 40px;
  font-family: 'IM Fell English SC', serif;
  font-size: 12px;
  letter-spacing: 0.32em;
  transform: rotate(-45deg);
  box-shadow: var(--shadow-sm);
}
.newsletter-feature .meta {
  font-family: 'IM Fell English SC', serif;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-bottom: 12px;
}
.newsletter-feature h3 {
  font-size: clamp(28px, 4vw, 40px);
  font-style: italic;
  margin-bottom: 16px;
}
.newsletter-feature .lede {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 16px;
  font-style: italic;
}
.newsletter-highlights {
  list-style: none;
  margin: 20px 0 28px;
}
.newsletter-highlights li {
  padding: 8px 0;
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.newsletter-highlights li::before {
  content: '◆';
  color: var(--gold);
  font-size: 11px;
  margin-top: 6px;
}

.newsletter-archive {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.archive-card {
  background: var(--paper);
  padding: 28px 20px;
  border-radius: 3px;
  border: 1px solid var(--line);
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
  display: block;
  text-decoration: none;
}
.archive-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.archive-card svg {
  width: 36px;
  height: 36px;
  color: var(--gold);
  margin-bottom: 12px;
}
.archive-card .year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.archive-card .label {
  font-family: 'IM Fell English SC', serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--stone);
  margin-top: 6px;
  text-transform: uppercase;
}

/* ============ NEWSLETTER ARCHIVE GRID (with covers) ============ */
.newsletter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-bottom: 56px;
}
.newsletter-archive-card {
  background: var(--paper);
  border-radius: 3px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
}
.newsletter-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.newsletter-archive-card .cover-img {
  position: relative;
  background: var(--paper-warm);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.newsletter-archive-card .cover-img img {
  width: 100%;
  display: block;
  aspect-ratio: 600 / 776;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s;
}
.newsletter-archive-card:hover .cover-img img {
  transform: scale(1.02);
}
.newsletter-archive-card .cover-img::after {
  content: 'View PDF →';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(20,14,8,0.85), rgba(20,14,8,0));
  color: var(--paper);
  font-family: 'IM Fell English SC', serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.25s;
}
.newsletter-archive-card:hover .cover-img::after {
  opacity: 1;
}
.newsletter-archive-card .body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.newsletter-archive-card .year-line {
  font-family: 'IM Fell English SC', serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.newsletter-archive-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.25;
}
.newsletter-archive-card p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 0;
  flex: 1;
}
.newsletter-archive-card .extras {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: var(--stone);
}
.newsletter-archive-card .extras a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.newsletter-archive-card .extras a:hover {
  color: var(--gold-bright);
}
.newsletter-archive-card-wrap {
  display: flex;
  flex-direction: column;
}
.newsletter-archive-card-wrap .newsletter-archive-card {
  flex: 1;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.newsletter-archive-card-wrap .extras {
  margin-top: -1px;
  padding: 14px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 1px solid var(--line-soft);
  border-radius: 0 0 3px 3px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: var(--stone);
}
.newsletter-archive-card-wrap .extras a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.newsletter-archive-card-wrap .extras a:hover {
  color: var(--gold-bright);
}

/* ============ STORM DAMAGE ============ */
.storm-callout {
  background: var(--paper-warm);
  padding: 32px 36px;
  border-left: 3px solid var(--rust);
  margin-bottom: 40px;
  border-radius: 0 3px 3px 0;
}
.storm-callout h3 {
  font-size: 26px;
  font-style: italic;
  color: var(--rust);
  margin-bottom: 14px;
}
.storm-callout p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.tree-loss-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 32px 0 48px;
}
.tree-loss-card {
  background: var(--paper);
  padding: 24px;
  border-radius: 3px;
  border: 1px solid var(--line);
}
.tree-loss-card .section {
  font-family: 'IM Fell English SC', serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.tree-loss-card .count {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-style: italic;
  color: var(--moss-dark);
  margin-bottom: 8px;
}
.tree-loss-card .desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 12, 0.92);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  cursor: zoom-out;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 95vw; max-height: 90vh; object-fit: contain; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  background: transparent;
  border: 1px solid rgba(246,241,231,0.4);
  color: var(--paper);
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.2s;
}
.lightbox-close:hover { background: rgba(246,241,231,0.15); }

/* ============ FINANCIAL TABLE ============ */
.fin-table {
  width: 100%;
  background: var(--paper);
  border-collapse: collapse;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.fin-table th, .fin-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}
.fin-table th {
  background: var(--ink);
  color: var(--paper);
  font-family: 'IM Fell English SC', serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: normal;
}
.fin-table td.num { text-align: right; font-weight: 500; }
.fin-table tr:last-child td {
  border-bottom: none;
  border-top: 2px solid var(--ink);
  font-weight: 600;
  background: var(--paper-warm);
}

/* ============ FOOTER ============ */
footer {
  background: var(--ink);
  color: var(--paper-warm);
  padding: 64px 32px 32px;
  position: relative;
  z-index: 2;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--paper);
  font-style: italic;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.7;
  max-width: 380px;
}
footer h4 {
  font-family: 'IM Fell English SC', serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gold-soft);
  margin-bottom: 18px;
  text-transform: uppercase;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer a {
  color: var(--paper-warm);
  font-size: 13px;
  opacity: 0.8;
}
footer a:hover { color: var(--gold-soft); opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(246,241,231,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  opacity: 0.5;
  font-family: 'IM Fell English SC', serif;
  letter-spacing: 0.16em;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .nav-inner { padding: 12px 18px; gap: 12px; }
  .nav-brand { font-size: 16px; }
  .nav-brand small { font-size: 9px; letter-spacing: 0.14em; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    gap: 8px;
    align-items: stretch;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: block; }
  .nav-actions { gap: 8px; }
  /* Slightly tighter donate button on small screens */
  .donate-btn { padding: 8px 12px !important; font-size: 10px !important; }
  .donate-btn svg { width: 12px; height: 12px; }
  .history-grid { grid-template-columns: 1fr; gap: 32px; }
  .history-image-stack { position: relative; top: 0; }
  .map-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .search-controls { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .newsletter-feature { grid-template-columns: 1fr; gap: 32px; padding: 28px; }
  .newsletter-feature .cover { max-width: 280px; margin: 0 auto; }
  .result-row { grid-template-columns: 1.6fr 1fr; gap: 8px; padding: 14px; }
  .result-row.header { display: none; }
  .result-location, .result-dates { grid-column: 1 / -1; font-size: 12px; }
  .result-badges { grid-column: 2; justify-content: flex-end; align-self: start; }
  .result-name { grid-column: 1; }
  section, main.page-content { padding: 64px 24px; }
  .hero { padding: 64px 24px; min-height: 70vh; }
  .page-header { padding: 64px 24px 48px; }
}

/* Very narrow phones: hide "Donate" word, keep heart icon */
@media (max-width: 420px) {
  .nav-brand small { display: none; }
  .donate-btn span { display: none; }
  .donate-btn { padding: 8px 10px !important; }
  .donate-btn svg { width: 16px; height: 16px; }
}
