:root {
      color-scheme: light;
      --ink: #17201d;
      --muted: #4b5752;
      --paper: #f7f5ef;
      --white: #fffefa;
      --green: #244d3b;
      --line: #d8ddd5;
      --focus: #f2b705;
      --max: 1160px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      background: var(--paper);
      color: var(--ink);
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-size: 1rem;
      line-height: 1.7;
    }
    a { color: #174e3a; text-underline-offset: .2em; }
    a:hover { text-decoration-thickness: 2px; }
    a:focus-visible, button:focus-visible {
      outline: 3px solid var(--focus);
      outline-offset: 4px;
      border-radius: 3px;
    }
    .skip-link {
      position: absolute; left: 1rem; top: .75rem; z-index: 100;
      padding: .75rem 1rem; background: #fff; color: #111;
      transform: translateY(-180%); border: 2px solid #111;
    }
    .skip-link:focus { transform: translateY(0); }
    .funding {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0.5rem max(1rem, calc((100vw - var(--max)) / 2));
  background: #fff;
}
    .hero {
      position: relative; min-height: 330px; color: #fff; overflow: hidden;
      background-color: #07100d;
	  background-image: url("images/hero.png");
		background-size: cover;
background-position: center;
background-repeat: no-repeat;
    }
    .hero::after {
      content: ""; position: absolute; inset: 42% 0 0;
      background: rgba(0,0,0,.28); pointer-events: none;
    }
    .hero-inner {
      position: relative; z-index: 1; max-width: var(--max); margin: auto;
      min-height: 330px; padding: 2rem 1.5rem 2.5rem;
      display: flex; flex-direction: column; justify-content: flex-end;
    }
    .brand-row { position: absolute; top: 1.4rem; left: 1.5rem; right: 1.5rem; display: flex; align-items: center; gap: 1rem; }
    h1, h2, h3 { line-height: 1.2; }
    .hero h1 {
      max-width: 850px; margin: 0 0 .65rem; font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(2.1rem, 5vw, 3.35rem); font-weight: 400; letter-spacing: .01em;
    }
    .hero .tagline { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.2rem, 2.5vw, 1.65rem); }
    main { display: block; }
    section { padding: clamp(3rem, 7vw, 5.5rem) 1.25rem; }
    .wrap { max-width: var(--max); margin: 0 auto; }
    .eyebrow { color: var(--green); font-weight: 750; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
    h2 { margin: .35rem 0 1.25rem; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
    h3 { margin: 0 0 .65rem; font-size: 1.2rem; }
	.site-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
  display: block;
}
    p { max-width: 75ch; }
    .intro { background: var(--white); }
    .intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
    .photo {
      position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center;
      min-height: 260px; width: 100%; padding: 1.25rem; text-align: center;
      background: #e8e9df; border: 2px solid #6d7c70; color: #34463a;
      border-radius: 4px; overflow: hidden;
    }
    .photo svg { width: 48px; height: 48px; margin-bottom: .8rem; }
    .photo strong { font-size: 1rem; }
    .photo span { display: block; margin-top: .35rem; font-size: .88rem; }
    .photo img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
    .photo img + .photo-label { display: none; }
    .photo-label { max-width: 30ch; }
    .photo-wide { min-height: 350px; }
    .photo-small { min-height: 230px; }
    .pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
    .pillar { padding: 1.4rem; background: var(--paper); border-top: 4px solid var(--green); }
    .pillar p { margin-bottom: 0; color: var(--muted); }
    .gallery-section { background: #e9ece4; }
    .gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .gallery-grid .photo:nth-child(2) { min-height: 320px; }
    .contact { background: var(--green); color: #fff; }
    .contact .eyebrow { color: #e5dba9; }
    .contact a { color: #fff; }
    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
    .contact-card { border: 1px solid rgba(255,255,255,.35); padding: 1.4rem; }
    .contact-card p:last-child { margin-bottom: 0; }
    .social-links { display: flex; flex-wrap: wrap; gap: 1rem; }
    footer { background: #101715; color: #f5f5f0; padding: 1.5rem 1.25rem; font-size: .9rem; }
    footer .wrap { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; align-items: center; }
    .footer-note { max-width: 78ch; color: #e4e7e1; }
    @media (max-width: 760px) {
      .funding { justify-content: flex-end; }
      .hero, .hero-inner { min-height: 340px; }
      .funding-link { width: 680px; }
      .brand-row { top: 1rem; left: 1rem; right: 1rem; }
      .hero-inner { padding: 1.5rem 1.1rem 2rem; }
      .intro-grid, .contact-grid { grid-template-columns: 1fr; }
      .pillars, .gallery-grid { grid-template-columns: 1fr; }
      .photo, .photo-wide, .photo-small, .gallery-grid .photo:nth-child(2) { min-height: 245px; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    }
    @media (forced-colors: active) {
      .photo { border: 2px solid CanvasText; }
      a { text-decoration: underline; }
    }
    
.funding-link {
  display: inline-block;
  max-width: 100%;
}
.funding-link img {
  display: block;
  width: 100%;
  height: auto;
}


/* ESPA funding page */

.funding-info {
  padding: 64px 0;
}

.funding-content {
  max-width: 850px;
  margin-top: 28px;
}

.funding-content p {
  line-height: 1.9;
  margin-bottom: 22px;
}

.funding-budget {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 32px 0;
  padding: 24px;
  border-left: 4px solid #8aab75;
  background: rgba(138, 171, 117, 0.10);
}

.funding-budget span {
  font-size: 0.95rem;
}

.funding-budget strong {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.3;
}

.funding-banner {
  margin: 40px 0;
  text-align: center;
}

.funding-banner img {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin-inline: auto;
}

.funding-back {
  margin-top: 32px;
}

.funding-back a {
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid currentColor;
  border-radius: 4px;
  text-decoration: none;
}

.funding-back a:hover {
  text-decoration: underline;
}

.funding-back a:focus-visible {
  outline: 3px solid #8aab75;
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .funding-info {
    padding: 40px 0;
  }

  .funding-budget {
    padding: 18px;
  }
}


/* Accessibility improvements */
html {
  scroll-behavior: auto;
  scroll-padding-top: 1rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  left: 1rem;
  top: 1rem;
  max-width: calc(100vw - 2rem);
}

.funding-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0;
}

.contact-card a {
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}


/* Accessibility refinements */
html {
  scroll-behavior: auto;
  scroll-padding-top: 1rem;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Links remain visibly identifiable without relying on color alone. */
a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover { text-decoration-thickness: 2px; }

/* High-visibility keyboard focus on both light and dark backgrounds. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px #fff;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  max-width: calc(100vw - 2rem);
  padding: 0.75rem 1rem;
  background: #fff;
  color: #111;
  border: 2px solid #111;
  transform: translateY(-180%);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

.funding {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  padding: 0.5rem max(1rem, calc((100vw - var(--max)) / 2));
  background: #fff;
}

.funding-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
}

.funding-link img,
.funding-mark img {
  display: block;
  width: 100%;
  width: 100%;
  height: auto;
  margin: 0;
}

.funding-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0;
}

.contact-card a { overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .funding { padding-inline: 1rem; }
  .funding-link,
  .funding-mark { width: min(680px, 120vw); }
  .funding-link img,
  .funding-mark img { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (forced-colors: active) {
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible,
  summary:focus-visible,
  [tabindex]:focus-visible {
    outline: 3px solid Highlight;
    box-shadow: none;
  }
}
