/* =======================================================
   Jacob Smith Park – Unified Styles
   tokens • base • layout • components • pages • helpers
======================================================= */

/* -------------------- tokens -------------------- */
:root {
  /* base colours */
  --bg: #f4f3ef;
  --fg: #2f2f2f;
  --muted: #5b5b5b;
  --brand: #2f4f4f;
  --brand-2: #588157;
  --brand-3: #a3b18a;
  --brand-dark: #344e41;      /* dark green — most headings */
  --brand-darker: #233b35;    /* darkest green — banner headings */
  --brand-deep: #234543;      /* near-black teal — footer & mobile nav */
  --brand-2-dark: #476946;    /* hover state for brand-2 buttons */
  --accent: #d4a373;
  --cream: #fefae0;           /* warm off-white — nav text, CTA bg */
  --surface: #fff;
  --surface-green: #dbe7c9;   /* light green — hero / banner bg */

  /* layout */
  --radius: .5rem;
  --shadow: 0 2px 6px rgba(0,0,0,.08);
  --gap: 20px;
  --wrap: 100%;                   /* full-width layout */
  --wrap-pad: clamp(16px, 5vw, 72px); /* responsive side breathing room */

  /* banner sizing */
  --banner-pad: clamp(48px, 6vw, 72px);
  --banner-minh: 280px;
  --banner-minh-sm: 200px;
  --banner-minh-slim: 200px;
  --banner-minh-tall: 380px;
}

/* -------------------- base -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  scroll-behavior: smooth;
}
img { max-width: 100%; height: auto; display: block; }
.container { width: var(--wrap); padding-inline: var(--wrap-pad); }
[id] { scroll-margin-top: 90px; } /* sticky-header safe anchor offset */

/* respect [hidden] when JS is active */
html.js [hidden] { display: none !important; }

/* -------------------- a11y helpers -------------------- */
.visually-hidden {
  position: absolute !important;
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  inset-block-start: -40px;
  inset-inline-start: 0;
  background: var(--brand);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 0 0 .25rem .25rem;
  text-decoration: none;
  z-index: 1000;
}
.skip-link:focus { inset-block-start: 0; }
:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--accent), white 20%);
  outline-offset: 2px;
  border-radius: .2rem;
}

/* -------------------- global alignment -------------------- */
h1, h2, h3, h4, h5, h6,
p,
.page-intro,
.intro-section,
section {
  text-align: left;
}
.text-center,
.centered { text-align: left !important; }

footer h3, footer p, footer li,
.site-footer h3, .site-footer p, .site-footer li,
.footer-section { text-align: left; }

/* -------------------- typography -------------------- */
h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 600;
}
h2 {
  font-size: 2.25rem;
  line-height: 1.3;
  margin-bottom: 0.875rem;
  font-weight: 600;
}
h3 {
  font-size: 1.75rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
h4 {
  font-size: 1.375rem;
  line-height: 1.4;
  margin-bottom: 0.625rem;
  font-weight: 500;
}
h5, h6 {
  font-size: 1.125rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-weight: 400;
}
strong, b { font-weight: 600; }
a { font-weight: 500; }

/* -------------------- site header -------------------- */
.site-header {
  background: var(--brand);
  color: #fff;
  border-block-end: 3px solid var(--brand-3);
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 80px;
  padding-top: 12px;
  padding-bottom: 12px;
  transition: box-shadow .2s ease, background-color .2s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  background: color-mix(in oklab, var(--brand), white 6%);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  gap: 24px;
}

/* logo */
.nav-logo-link {
  flex-shrink: 0;
  line-height: 0;
}
.nav-logo {
  height: 60px;
  width: auto;
  display: block;
}

/* hide old text title now replaced by logo */
.site-title { display: none; }

/* -------------------- nav (shared) -------------------- */
.site-nav { position: relative; z-index: 1001; }

.nav-toggle {
  -webkit-tap-highlight-color: transparent;
  display: none;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: .625rem;
  color: #fff;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  padding: .35rem .55rem;
}
.nav-toggle:focus-visible {
  outline: 3px solid #9fe7d9;
  outline-offset: 2px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 15px;
  padding: 0;
  margin: 0;
  align-items: center;
}
.nav-list a { text-decoration: none; color: var(--cream); font-size: 17px; font-weight: 500; }
.nav-list a:hover,
.nav-list a:focus { color: #ffd9b0; }
.nav-list a.donate-button[aria-current="page"] {
  background: transparent;
  border: 2px solid #ffd9b0;
  color: #ffd9b0;
  font-weight: 700;
}

.donate-button { background: var(--brand-2); color: #fff; padding: 12px 24px; border-radius: 6px; font-size: 17px; font-weight: 500; }
.donate-button:hover,
.donate-button:focus { background: var(--brand-2-dark); }

/* -------------------- nav (mobile ≤900px) -------------------- */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(85vw, 320px);
    margin: 0;
    padding: 80px 20px 24px;
    list-style: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--brand-deep);
    color: #fff;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .28s ease;
    box-shadow: -8px 0 24px rgba(0,0,0,0.35);
  }

  body.nav-open .nav-list { transform: translateX(0); }

  .nav-list li { margin: 0; padding: 0; }

  .nav-list a {
    display: block;
    padding: 14px 8px;
    color: #fff;
    border-radius: 8px;
  }

  .nav-list a:hover,
  .nav-list a:focus-visible { background: rgba(255,255,255,0.08); }

  .nav-list a[aria-current="page"] {
    background: rgba(255,255,255,0.15);
    font-weight: 700;
    color: #fff;
  }
}

/* -------------------- nav (desktop ≥901px) -------------------- */
@media (min-width: 901px) {
  .nav-toggle { display: none; }

  .nav-list {
    display: flex !important;
    position: static;
    transform: none;
    background: none;
    box-shadow: none;
    padding: 0;
    flex-direction: row;
    align-items: center;
  }

  .nav-list li { margin-left: 1rem; }
  .nav-list a { color: var(--cream); padding: 0; }
  .nav-list a[aria-current="page"] {
    color: #ffd9b0 !important;
    border-bottom: 3px solid #ffd9b0 !important;
    font-weight: 700 !important;
    padding-bottom: 4px !important;
  }

  #primary-nav[hidden] { display: flex !important; }
  .scrim { display: none !important; }
}

/* -------------------- scrim & scroll lock -------------------- */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
  z-index: 900;
}
body.nav-open .scrim { opacity: 1; pointer-events: auto; }
body.no-scroll { overflow: hidden; touch-action: none; }

/* -------------------- banners / hero -------------------- */
.banner {
  width: 100%;
  background: var(--surface-green);
  text-align: left;
  padding-block: var(--banner-pad);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 75vh;
  min-height: 400px;
  max-height: 650px;
  background-size: cover;
  background-position: center;
}
.banner::before,
.banner::after { pointer-events: none; }

.banner h2 {
  margin: 0 0 .4rem;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--brand-darker);
}
.banner p {
  margin: 0;
  color: var(--fg);
  opacity: .85;
}
.banner p.eyebrow {
  margin: 0 0 .8rem;
  font-size: .95rem;
}

.banner--slim { height: auto; min-height: var(--banner-minh-slim); max-height: none; padding-block: clamp(36px, 6vw, 96px); }
.banner--tall { height: 80vh; min-height: 450px; max-height: 720px; }

/* image / photo banners */
.banner--image { color: #fff; }
.banner--image h2,
.banner--image p,
.banner--image .eyebrow { color: #fff; }

/* <img class="banner-image"> sits behind the dark overlay and text */
.banner--image .banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.banner--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}
.banner--image > .container {
  position: relative;
  z-index: 2;
}

/* page-specific background images */
.banner--wildlife { background-image: url("../images/banner/wildlife-hero.JPG"); }
.banner--history  { background-image: url("../images/banner/history-hero.jpg"); }
.banner--default  { background-image: url("../images/banner/jsp-banner.jpg"); }

/* home page banner variant */
.banner--home {
  background: var(--surface-green);
  padding-block: clamp(64px, 9vw, 160px);
}
.banner--home .eyebrow {
  margin: 0 0 .35rem;
  color: var(--fg);
  opacity: .85;
  font-size: 1rem;
}
.banner--home h2 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  color: var(--brand-dark);
}

@media (max-width: 640px) {
  .banner { height: 55vh; min-height: 280px; max-height: 480px; }
  .banner--slim { height: auto; min-height: calc(var(--banner-minh-sm) - 40px); max-height: none; }
  .banner--tall { height: 65vh; min-height: 320px; max-height: 540px; }
}

/* -------------------- homepage sections -------------------- */
.hero {
  background: var(--surface-green);
  padding-block: clamp(40px, 6vw, 80px);
  text-align: left;
}
.hero .eyebrow { margin: 0; color: var(--fg); opacity: .8; }
.hero h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); color: var(--brand-dark); margin-block: .25rem 0; }

.intro { padding-block: 30px; background: var(--surface); text-align: left; }
.intro a { color: var(--brand); }

/* cream strip below banner */
.page-intro {
  background: var(--cream);
  padding-block: clamp(32px, 5vw, 60px);
}
.page-intro .intro-text {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 800px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.about-park { background: #fff; padding-block: clamp(32px, 6vw, 64px); }
.about-wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(20px, 4vw, 36px);
  align-items: start;
}
.about-text h2 { margin-block-start: 0; color: var(--brand-dark); }
.about-text p { margin-block: .5rem 1rem; }
.about-quote {
  margin-block: 1rem 0;
  padding: .75rem 1rem;
  border-inline-start: 4px solid var(--brand-3);
  background: #f7f8f3;
  border-radius: .5rem;
}
.about-quote blockquote { margin: 0; font-size: 1.15rem; font-style: italic; }
.about-quote figcaption { font-size: .9rem; color: var(--muted); margin-block-start: .25rem; }

.about-collage {
  display: grid;
  grid-template-areas: "main main" "a b";
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-collage img { border-radius: 8px; box-shadow: var(--shadow); }
.about-collage figure:nth-child(1) { grid-area: main; }
.about-collage figure:nth-child(2) { grid-area: a; }
.about-collage figure:nth-child(3) { grid-area: b; }

@media (max-width: 900px) { .about-wrap { grid-template-columns: 1fr; } }

.top-sections { padding-block: 40px; }
.card {
  background: #e9edc9;
  padding: 20px;
  text-align: left;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-shadow: var(--shadow);
}

.latest { padding-block: 40px; }
.cta { background: var(--cream); text-align: left; padding-block: 30px; }
.button {
  display: inline-block;
  margin-block-start: 10px;
  background: var(--brand-2);
  color: #fff;
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
}
.button:hover,
.button:focus { background: var(--brand-2-dark); }

.newsletter { text-align: left; padding-block: 40px; background: var(--brand); color: #fff; }
.newsletter input[type="email"] { padding: 10px; width: min(320px, 80vw); border: none; border-radius: 6px; }

.site-footer {
  background-color: #1e3d33;
  color: #fff;
  padding: 50px 5% 20px;
  font-size: 16px;
}
.site-footer h3 { font-size: 1.5rem; font-weight: 600; }
.site-footer a { color: #ffd9b0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
  }
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
}

.footer-blurb {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d4d4d4;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 8px; }

.footer-links a {
  color: #d4d4d4;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #fff;
  text-decoration: underline;
}

.legal-bar {
  border-top: 1px solid rgba(255,255,255,.2);
  margin-top: 40px;
  padding-top: 20px;
}

.legal-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.875rem;
  color: #b4b4b4;
}

.legal-links {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-links a {
  color: #b4b4b4;
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-links a:hover { color: #fff; }

/* -------------------- visiting -------------------- */

/* Info cards grid */
.visit-info {
  padding: 60px 0;
  background-color: #fafaf8;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (min-width: 1024px) {
  .info-grid { grid-template-columns: repeat(4, 1fr); }
}

.info-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}

.info-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 16px;
}

.info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--brand);
}

.info-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 8px;
  color: #666;
}

/* Map section */
.map-section { padding: 60px 0; }

.map-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  margin-top: 24px;
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Image captions */
.image-caption {
  font-size: 0.875rem;
  color: #777;
  font-style: italic;
  text-align: center;
  margin-top: 12px;
}

/* Accent lines between visiting sections */
.content-section:not(:last-child)::after,
.visit-info::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), #5a8f7b);
  margin: 40px auto 0;
  border-radius: 2px;
}

/* What3Words */
.what3words { font-size: 0.875rem; margin-top: 8px; }
.what3words a { color: var(--brand); text-decoration: none; font-weight: 500; }
.what3words a:hover { text-decoration: underline; }

.callout {
  background: var(--cream);
  border-left: 5px solid var(--brand-3);
  padding: 1.25rem 1rem;
  border-radius: 6px;
  margin-block: 2rem;
  box-shadow: var(--shadow);
}

/* -------------------- about (committee + projects) -------------------- */

/* Stats banner */
.about-stats {
  background: linear-gradient(135deg, var(--brand), #3d7a66);
  color: #fff;
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 5%;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-card { text-align: center; }

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  font-size: 0.95rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsibilities icon list */
.responsibilities-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .responsibilities-list { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

.responsibility-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: #fafaf8;
  border-radius: 8px;
}

.resp-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  margin-top: 4px;
}

.responsibility-item p { margin: 0; line-height: 1.6; }

/* Document download cards */
.documents-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .documents-grid { grid-template-columns: repeat(2, 1fr); }
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.doc-card:hover {
  border-color: var(--brand);
  background: #fafaf8;
  transform: translateX(4px);
}

.doc-icon { font-size: 2rem; flex-shrink: 0; }
.doc-name { flex-grow: 1; font-weight: 500; color: #333; }
.doc-action { font-size: 0.875rem; color: var(--brand); font-weight: 500; }

/* Projects – expandable cards */
.projects-list {
  margin-top: 32px;
}

.project-detail {
  margin-bottom: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.project-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  cursor: pointer;
  list-style: none;
  background: #fafaf8;
  transition: background 0.2s ease;
}

.project-summary:hover {
  background: #f0f0ec;
}

.project-summary::-webkit-details-marker {
  display: none;
}

.project-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.project-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--brand);
  flex-grow: 1;
}

.project-summary::after {
  content: '\25BC';
  font-size: 0.875rem;
  color: #666;
  transition: transform 0.2s ease;
}

.project-detail[open] .project-summary::after {
  transform: rotate(180deg);
}

.project-content {
  padding: 0 20px 20px 20px;
  border-top: 1px solid #e0e0e0;
}

.project-content p {
  margin: 16px 0 0;
  line-height: 1.6;
}

.project-content ul {
  margin: 12px 0 0 20px;
  line-height: 1.7;
}

.project-content li {
  margin-bottom: 8px;
}

/* Committee cards */
.committee-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .committee-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .committee-grid { grid-template-columns: repeat(4, 1fr); }
}

.committee-card {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: transform 0.2s ease;
}

.committee-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}

.committee-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #5a8f7b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 600;
  color: #fff;
}

.committee-card h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: var(--brand);
}

.committee-card .role {
  font-size: 0.95rem;
  color: #666;
  font-style: italic;
  margin: 0;
}

.member-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  text-align: left;
}

.member-list li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.member-list li:last-child { border-bottom: none; }

/* -------------------- history layouts -------------------- */
.history-collage {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
  margin-block: 16px 10px;
}
.history-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(16px, 3vw, 28px);
  align-items: start;
  margin-block: 16px 26px;
}
.history-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 3vw, 28px);
  margin-block: 18px 26px;
}
.history-collage figure,
.history-grid figure,
.history-row figure { margin: 0; }
.history-collage img,
.history-grid img,
.history-row img { width: 100%; border-radius: 8px; box-shadow: var(--shadow); }
.history-collage figcaption,
.history-grid figcaption { font-size: .9rem; color: var(--muted); margin-top: 6px; }

.timeline { list-style: none; padding: 0; margin: 10px 0 24px; border-left: 3px solid var(--brand-3); }
.timeline li { position: relative; padding: 0 0 14px 16px; }
.timeline h4 { margin: 0 0 4px; color: var(--brand-dark); }
.t-dot {
  position: absolute;
  left: -7px;
  top: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand-2), white 70%);
}

.family-legacy { margin-block: 26px 34px; }
.family-legacy h4,
.family-legacy h5 { margin: 0 0 4px; color: var(--brand-dark); }
.family-legacy h5 { font-size: 1rem; }

.bio-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(16px, 3vw, 28px);
  align-items: start;
  margin-block: 12px 20px;
}
.bio-photo img { border-radius: 8px; box-shadow: var(--shadow); }
.muted { color: var(--muted); font-size: .9rem; }
.smallprint { font-size: .9rem; }
.family-grid { margin-top: 10px; }
.family-grid img { border-radius: 8px; box-shadow: var(--shadow); }

.archives .archive {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  margin-block: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.archives .archive > summary {
  cursor: pointer;
  padding: 10px 12px;
  font-weight: 600;
  list-style: none;
}
.archives .archive[open] > summary { border-bottom: 1px solid #eee; }
.archives .archive p { margin: 0; padding: 10px 12px 12px; }
.archives time { color: var(--brand); }

@media (max-width: 900px) {
  .history-collage { grid-template-columns: 1fr 1fr; }
  .history-row { grid-template-columns: 1fr; }
  .history-grid { grid-template-columns: 1fr; }
}

/* -------------------- wildlife -------------------- */
.wildlife-page .image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin: 20px 0;
}
.wildlife-page .image-grid img {
  border-radius: 6px;
  cursor: pointer;
  transition: transform .2s ease;
}
.wildlife-page .image-grid img:hover { transform: scale(1.03); }

.season-block {
  padding: 20px;
  margin-bottom: 25px;
  border-radius: 6px;
  border-left: 5px solid;
  line-height: 1.6;
  background: var(--cream);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
}
.season-block h4 { margin-top: 0; font-size: 1.2rem; font-weight: 700; color: var(--brand-dark); }
.season-block:hover,
.season-block:focus-within { transform: scale(1.01); box-shadow: 0 3px 8px rgba(0,0,0,.08); }
.season-block.winter { background: #e8f4f8; border-left-color: #87bcd9; }
.season-block.spring { background: #edf8e5; border-left-color: #8dc98d; }
.season-block.summer { background: #fff8e1; border-left-color: var(--accent); }
.season-block.autumn { background: #fbe8d3; border-left-color: #e39457; }
.season-block::after {
  content: "";
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 40px;
  height: 40px;
  opacity: .06;
  background-size: contain;
  background-repeat: no-repeat;
}
.season-block.winter::after { background-image: url("../images/icons/snowflake.png"); }
.season-block.spring::after { background-image: url("../images/icons/flower.png"); }
.season-block.summer::after { background-image: url("../images/icons/sun.png"); }
.season-block.autumn::after { background-image: url("../images/icons/leaf.png"); }

@media (max-width: 600px) {
  .season-block { padding: 15px; }
  .season-block::after { width: 28px; height: 28px; }
}

/* -------------------- get involved -------------------- */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
  margin-block: 24px 12px;
}
.cta-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid #eaeaea;
}
.cta-card h3 { margin-top: 0; color: var(--brand-dark); }

.event-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
  margin-block: 10px 22px;
}
.event {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.date-badge {
  width: 64px;
  min-width: 64px;
  height: 64px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  line-height: 1;
  text-align: center;
}
.date-badge .mon { font-size: .8rem; opacity: .9; text-transform: uppercase; }
.date-badge .day { font-size: 1.4rem; font-weight: 800; margin-top: .1rem; }
.event h4 { margin: 0 0 6px; }

.projects-list { list-style: none; padding: 0; margin: 8px 0 24px; }
.projects-list li {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}
.proj-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.pct { color: var(--muted); font-weight: 600; }
.progress { background: #f2f2f2; height: 10px; border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-3), var(--brand-2)); }

/* volunteer/contact forms (shared) */
.vol-form {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.vol-form .form-row { margin-bottom: 12px; display: grid; gap: 6px; }
.vol-form label,
.vol-form legend { font-weight: 600; }
.vol-form input[type="text"],
.vol-form input[type="email"],
.vol-form textarea {
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  width: 100%;
  background: #fff;
}
.vol-form fieldset { border: 0; padding: 0; }
.vol-form fieldset label { display: inline-flex; align-items: center; gap: 8px; margin-right: 14px; }
.vol-form .agree label { font-weight: 400; }
.vol-form .form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; }

/* two-column alternating feature rows */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
  margin-block: 2.5rem;
}
.two-col img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .2s ease;
}
.two-col img:hover { transform: scale(1.02); }
.two-col:nth-child(even) { grid-template-columns: .9fr 1.1fr; }
.two-col:nth-child(even) > div:first-child { order: 2; }
.two-col:nth-child(even) > div:last-child { order: 1; }

@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col:nth-child(even) > div:first-child,
  .two-col:nth-child(even) > div:last-child { order: initial; }
}

/* -------------------- contact -------------------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--gap);
  margin-block: 20px;
}
.contact-card {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.contact-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: var(--gap);
  align-items: start;
}
@media (max-width: 900px) { .contact-detail-grid { grid-template-columns: 1fr; } }

/* -------------------- lightbox -------------------- */
#lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 2000;
}
#lightbox-overlay img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,.5);
}
#lightbox-overlay .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: #000;
  border: none;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
#lightbox-overlay .close-btn:hover,
#lightbox-overlay .close-btn:focus { background: #c07a3f; }

/* -------------------- subnav (history page) -------------------- */
.subnav {
  position: sticky;
  top: calc(56px + 3px);
  z-index: 900;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.85));
  border-top: 1px solid #edf1ed;
  border-bottom: 1px solid #edf1ed;
}
.subnav--sticky {
  position: sticky;
  top: 56px;
  z-index: 5;
  backdrop-filter: blur(4px);
}
.subnav__inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .6rem;
  padding: 12px 10px 18px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.subnav__link {
  display: inline-block;
  padding: .58rem .95rem;
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  border: 1px solid #e3e7e2;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .1px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
  transition: transform .12s ease, background-color .12s ease, color .12s ease, box-shadow .12s ease;
}
.subnav__link:hover,
.subnav__link:focus-visible {
  background: color-mix(in oklab, var(--brand-3), white 65%);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  transform: translateY(-1px);
  outline: none;
}
.subnav__link[aria-current="true"],
.subnav__link[aria-current="page"] {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.section-anchor { scroll-margin-top: 120px; }
.page-header { margin-block: 18px 10px; }

/* -------------------- utilities -------------------- */
.key-list { padding-left: 1.1em; }
.key-list li { margin-block: .35rem; }

/* --- Hide decorative ellipse/badge elements (Batch 3 cleanup) --- */
.ellipse,
.intro-badge,
.page-badge { display: none; }

/* ============================================
   ALTERNATING IMAGE/TEXT LAYOUT (Home page)
   Tighter to edges, less white space
   ============================================ */

.alt-layout {
  padding: 60px 0;
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.alt-layout:nth-child(1) { animation-delay: 0.1s; }
.alt-layout:nth-child(2) { animation-delay: 0.3s; }
.alt-layout:nth-child(3) { animation-delay: 0.5s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.alt-layout:nth-child(odd)  { background-color: #fafaf8; }
.alt-layout:nth-child(even) { background-color: #fff; }

.alt-layout:not(:last-child)::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), #5a8f7b);
  margin: 40px auto 0;
  border-radius: 2px;
}

.alt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2%;
}

@media (min-width: 768px) {
  .alt-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0 3%;
  }
}

@media (min-width: 1200px) {
  .alt-grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 0 4%;
    max-width: 1600px;
  }
}

.alt-text {
  font-size: 1.125rem;
  line-height: 1.7;
}

.alt-text p { margin-bottom: 1.25rem; }

.alt-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alt-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

/* Drop cap on first section's opening paragraph */
.alt-layout:first-of-type .alt-text p:first-child::first-letter {
  font-size: 3.5rem;
  font-weight: 600;
  float: left;
  line-height: 1;
  margin-right: 8px;
  margin-top: 4px;
  color: var(--brand);
}

/* Heritage quote styling */
.heritage-quote {
  border-left: 4px solid var(--brand);
  padding-left: 20px;
  font-style: italic;
  color: #5a5a5a;
  margin: 30px 0;
}

@media (min-width: 768px) {
  .alt-reverse .alt-image { order: -1; }
}

@media (max-width: 767px) {
  .alt-text { order: 1; }
  .alt-image { order: 2; }
}

/* ============================================
   FOOTER CTA SECTION — 3 ROUNDED BUTTONS
   ============================================ */

.footer-cta {
  background-color: var(--cream);
  padding: 60px 5%;
  margin-top: 60px;
}

.footer-cta .cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer-cta .cta-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.footer-cta .cta-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-cta .cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}

.footer-cta .cta-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: var(--brand-dark);
}

.footer-cta .cta-description {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
  flex-grow: 1;
}

.cta-button {
  display: inline-block;
  background-color: var(--brand);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
  align-self: center;
}

.cta-button:hover,
.cta-button:focus {
  background-color: var(--brand-dark);
  transform: scale(1.05);
  text-decoration: none;
}

/* ============================================
   DROPDOWN NAVIGATION (History submenu)
   ============================================ */

.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  position: relative;
}

@media (min-width: 900px) {
  .dropdown-toggle::after {
    content: ' \25BC';
    font-size: 0.65rem;
    margin-left: 4px;
    opacity: 0.7;
    vertical-align: middle;
  }
}

.dropdown-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
}

@media (min-width: 900px) {
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--brand-deep);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    padding: 8px 0;
    margin-top: 8px;
    z-index: 1000;
  }

  .dropdown-menu li { margin: 0; }

  .dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--cream);
    text-decoration: none;
    transition: background-color 0.2s ease;
    font-size: 16px;
  }

  .dropdown-menu a:hover,
  .dropdown-menu a:focus {
    background-color: rgba(255,255,255,.1);
  }

  .dropdown-menu a[aria-current="page"] {
    background-color: rgba(255,255,255,.15);
    font-weight: 600;
  }

  .has-dropdown:hover .dropdown-menu,
  .has-dropdown:focus-within .dropdown-menu {
    display: block;
  }
}

@media (max-width: 899px) {
  .dropdown-menu {
    display: block;
    padding-left: 20px;
    margin-top: 8px;
  }

  .dropdown-menu li { margin-bottom: 8px; }

  .dropdown-menu a {
    font-size: 15px;
    color: var(--cream);
    opacity: 0.9;
    text-decoration: none;
  }
}

/* Cross-link styling between history pages */
.inline-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid var(--brand);
  transition: opacity 0.2s ease;
}

.inline-link:hover { opacity: 0.7; }

.page-crosslink {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #e0e0e0;
  text-align: center;
}

.page-crosslink .button {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--brand);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.page-crosslink .button:hover {
  background-color: var(--brand-dark);
  transform: scale(1.05);
}

/* ============================================
   EXPANDABLE PROJECT SECTIONS (Get Involved)
   ============================================ */

.project-expandable {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 16px;
  background: white;
  overflow: hidden;
}

.project-summary-toggle {
  cursor: pointer;
  list-style: none;
  padding: 20px;
  background: #fafaf8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s ease;
}

.project-summary-toggle:hover {
  background: #f0f0ec;
}

.project-summary-toggle::-webkit-details-marker {
  display: none;
}

.project-summary-toggle h4 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--brand);
}

.project-summary-toggle::after {
  content: '\25BC';
  font-size: 0.875rem;
  color: #666;
  margin-left: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.project-expandable[open] .project-summary-toggle::after {
  transform: rotate(180deg);
}

.project-details-content {
  padding: 0 20px 20px 20px;
}

.project-details-content h5 {
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--brand);
}

.project-details-content p {
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ============================================
   GET INVOLVED CTA SECTION
   ============================================ */

.get-involved-cta {
  background: linear-gradient(135deg, var(--brand), #3d7a66);
  color: white;
  padding: 50px 5%;
  margin: 60px 0;
  border-radius: 12px;
  text-align: center;
}

.cta-container {
  max-width: 700px;
  margin: 0 auto;
}

.get-involved-cta h3 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: white;
}

.get-involved-cta p {
  font-size: 1.125rem;
  margin-bottom: 32px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.button-primary,
.button-secondary {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.button-primary {
  background: white;
  color: var(--brand);
}

.button-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255,255,255,.3);
}

.button-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.button-secondary:hover {
  background: rgba(255,255,255,.1);
  transform: scale(1.05);
}

/* ============================================
   CONTACT ACTION BUTTONS
   ============================================ */

.contact-actions {
  text-align: center;
  margin-bottom: 60px;
}

.contact-actions h2 { margin-bottom: 12px; }

.contact-actions > p {
  color: var(--muted);
  margin-bottom: 32px;
}

.action-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .action-buttons { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.action-btn {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: inherit;
}

.action-btn:hover {
  border-color: var(--brand);
  background: #fafaf8;
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}

.action-btn.active {
  border-color: var(--brand);
  background: linear-gradient(135deg, var(--brand), #3d7a66);
  color: white;
}

.action-icon {
  font-size: 2.5rem;
  display: block;
}

.action-btn h3 {
  font-size: 1.25rem;
  margin: 0;
  color: var(--brand);
}

.action-btn.active h3 { color: white; }

.action-btn p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

.action-btn.active p { color: rgba(255,255,255,.9); }

.contact-form-section { scroll-margin-top: 100px; }
/* ============================================
   DONATE PAGE STYLING
   Updated per client feedback
   ============================================ */

/* Donate options cards */
.donate-options {
  margin: 60px 0;
}

.donate-card {
  background: #fafaf8;
  padding: 32px;
  border-radius: 12px;
  margin-bottom: 24px;
  border-left: 4px solid #2c5f4f;
}

.donate-card h3 {
  color: #2c5f4f;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.donate-card p {
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Amount buttons */
.amount-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.amount-btn {
  background: white;
  border: 2px solid #2c5f4f;
  color: #2c5f4f;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Montserrat', sans-serif;
}

.amount-btn:hover {
  background: #2c5f4f;
  color: white;
  transform: scale(1.05);
}

.amount-btn.active {
  background: #2c5f4f;
  color: white;
}

/* Custom amount input */
.custom-amount {
  margin-top: 20px;
  padding: 20px;
  background: white;
  border-radius: 8px;
}

.custom-amount label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #2c5f4f;
}

.custom-amount input {
  width: 100%;
  max-width: 200px;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1.125rem;
  font-family: 'Montserrat', sans-serif;
}

.custom-amount input:focus {
  outline: none;
  border-color: #2c5f4f;
}

/* Bank details section */
.bank-details {
  background: linear-gradient(135deg, #2c5f4f, #3d7a66);
  color: white;
  padding: 50px 5%;
  margin: 60px 0;
  border-radius: 12px;
}

.bank-details h2 {
  color: white;
  margin-bottom: 16px;
}

.bank-details > p {
  margin-bottom: 32px;
  font-size: 1.05rem;
  opacity: 0.95;
}

.bank-info {
  background: rgba(255, 255, 255, 0.1);
  padding: 32px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.bank-row:last-child {
  border-bottom: none;
}

.bank-label {
  font-weight: 500;
  opacity: 0.9;
}

.bank-value {
  font-weight: 600;
  font-size: 1.125rem;
}

.bank-note {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-top: 16px;
}

/* PayPal donate button */
.paypal-donate {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.paypal-donate p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.paypal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: #2c5f4f;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.paypal-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

/* Thank you message */
.thank-you {
  text-align: center;
  padding: 40px;
  background: #fafaf8;
  border-radius: 12px;
  margin: 60px 0;
}

.thank-you p {
  font-size: 1.25rem;
  font-style: italic;
  color: #2c5f4f;
  margin: 0;
}

/* Donate CTA */
.donate-cta {
  text-align: center;
  margin: 60px 0;
}

.donate-cta h3 {
  font-size: 1.75rem;
  margin-bottom: 24px;
  color: #2c5f4f;
}

.donate-cta .button {
  display: inline-block;
  background: #2c5f4f;
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.donate-cta .button:hover {
  background: #234a3d;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 767px) {
  .bank-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .amount-buttons {
    flex-direction: column;
  }
  
  .amount-btn {
    width: 100%;
  }
}
/* =======================================================
   GLOBAL READABLE TEXT WIDTH FIX
   Add this block to styles.css after the "layout" section
   (after the .container rule, around line 50)
   ======================================================= */

/* Cap readable text width on all main content areas.
   Prevents text from stretching across full wide-screen width.
   Side padding from --wrap-pad still applies via .container.      */

.container > p,
.container > h1,
.container > h2,
.container > h3,
.container > h4,
.container > ul,
.container > ol,
.container > .key-list,
.container > .callout,
.container > .timeline,
.container > .about-quote,
.container > section > p,
.container > section > h2,
.container > section > h3,
.container > section > ul {
  max-width: 780px;
}

/* For pages where the whole <main> is a container,
   also cap prose inside <section> children           */
main.container section > p,
main.container section > h2,
main.container section > h3,
main.container section > h4,
main.container section > ul,
main.container section > ol,
main.container section > .callout,
main.container section > .key-list {
  max-width: 780px;
}

/* Wildlife page and other pages that put text directly
   in .container without section wrappers              */
.wildlife-page .container > p,
.wildlife-page .container > h2,
.wildlife-page .container > h3,
.wildlife-page .container > h4,
.wildlife-page .container > ul {
  max-width: 780px;
}

/* Exceptions — grids and cards should still be full-width */
.container .give-grid,
.container .cta-grid,
.container .info-grid,
.container .about-wrap,
.container .two-col,
.container .alt-grid,
.container .committee-grid,
.container .contact-cards,
.container .action-buttons,
.container .documents-grid,
.container .history-collage,
.container .history-row,
.container .history-grid,
.container .donate-options,
.container .bank-details,
.container .responsibilities-list,
.container .event-cards,
.container .cta-buttons {
  max-width: none;
}
/* ============================================
   VISITING PAGE - MAP FIX & IMPROVEMENTS
   ============================================ */

/* Info cards grid (Getting Here section) */
.visit-info {
  padding: 60px 0;
  background-color: #fafaf8;
}

.visit-info .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.visit-info h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #2c5f4f;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .info-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.what3words {
  font-size: 0.875rem;
  margin-top: 8px;
}

.what3words a {
  color: #2c5f4f;
  text-decoration: none;
  font-weight: 500;
}

.what3words a:hover {
  text-decoration: underline;
}

/* Map section - PROPERLY SIZED */
.map-section {
  padding: 60px 0;
  background: white;
}

.map-section .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.map-section h2 {
  text-align: center;
  margin-bottom: 32px;
  color: #2c5f4f;
}

/* Map wrapper - 40% aspect ratio instead of 56.25% */
.map-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 40%;        /* This controls the height - MUCH smaller now */
  height: 0;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Mobile - slightly taller aspect ratio */
@media (max-width: 767px) {
  .map-wrapper {
    padding-bottom: 75%;      /* Taller on mobile */
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* Image caption styling */
.image-caption {
  font-size: 0.875rem;
  color: #777;
  font-style: italic;
  text-align: center;
  margin-top: 12px;
}