:root {
  --brand: #176b45;
  --brand-dark: #0e4d31;
  --gold: #c8952a;
  /* Darker gold for small text: 5.3:1 on white (--gold is only 2.7:1). */
  --gold-text: #8c6516;
  --ink: #17211c;
  --muted: #66736c;
  --surface: #f5f8f6;
  --border: #e2e9e4;
}

[x-cloak] {
  display: none !important;
}

/* Hidden until focused by keyboard, then shown at the top left. */
.skip-link {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 1100;
  padding: .5rem 1rem;
  border-radius: .5rem;
  color: #fff;
  background: var(--brand);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

#main-content:focus {
  outline: none;
}

body {
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
}

.main-container {
  overflow-x: hidden;
}

.site-header {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 10;
}

.navbar-brand {
  color: var(--ink);
  font-weight: 700;
  max-width: 520px;
}

.navbar-brand:hover {
  color: var(--brand);
}

.logo {
  width: 5.5rem;
  height: auto;
  border-radius: 50%;
}

.nav-link {
  font-weight: 500;
  color: #4e5a53;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand);
}

.btn-primary {
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-dark);
  --bs-btn-hover-border-color: var(--brand-dark);
}

.hero-section {
  padding: 7rem 0;
  background: linear-gradient(135deg, #f4f8f5 0%, #fff 65%);
}

.hero-section h1 span {
  color: var(--brand);
}

.eyebrow {
  color: var(--brand);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.eyebrow-light {
  color: #d9f2e5;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 750;
  letter-spacing: -.03em;
}

.section-intro {
  max-width: 600px;
}

.image-placeholder {
  background: linear-gradient(135deg, #dfe9e2, #f4f7f5);
  border: 1px dashed #aab9b0;
  color: #69776f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;

  width: 100%;
  height: 300px;
  overflow: hidden;
}

.hero-image {
  min-height: 440px;
  border-radius: 28px;
}

.content-image {
  min-height: 420px;
  border-radius: 24px;
}

.hero-image img,
.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-placeholder span {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.image-placeholder small {
  margin-top: .5rem;
}

.feature-card,
.mission-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2rem;
}

.feature-card {
  transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(20, 50, 35, .08);
}

.feature-card h3 {
  margin-top: 1.25rem;
  font-weight: 700;
}

.feature-card p,
.mission-card p {
  color: var(--muted);
}

.icon-circle {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7f3ec;
  color: var(--brand);
  font-weight: 800;
}

.cta-section {
  background: var(--brand);
  color: white;
  padding: 5.5rem 0;
}

.cta-section p {
  color: #d9ebe1;
}

.page-hero {
  padding: 6rem 0 5rem;
  background: linear-gradient(135deg, #f4f8f5, #fff);
}

.page-hero p {
  max-width: 650px;
}

.mission-card {
  padding: 2.5rem;
  background: var(--surface);
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-detail span {
  color: var(--muted);
}

.contact-detail a {
  color: var(--brand);
}

/* Privacy notice and other long-form text pages */
.policy {
  max-width: 720px;
}

.policy h2 {
  margin-top: 2.5rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.policy h2:first-child {
  margin-top: 0;
}

.policy a {
  color: var(--brand);
}

/* Leadership */
.leader-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2rem;
  text-align: center;
  height: 100%;
}

.leader-avatar {
  width: 110px;
  height: 110px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #e7f3ec, #f4f7f5);
  border: 1px dashed #aab9b0;
  display: grid;
  place-items: center;
  color: var(--brand);
  overflow: hidden;
}

.leader-avatar svg {
  width: 46px;
  height: 46px;
}

.leader-role {
  color: var(--gold-text);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.leader-card p {
  color: var(--muted);
}

.site-footer {
  background: #101713;
  color: #aebbb3;
}

.site-footer a {
  color: #d7e0db;
  text-decoration: none;
}

.site-footer a:hover {
  color: white;
}

/* Bootstrap .nav-underline tabs, with a full-width rule under them. */
.gallery-tabs {
  --bs-nav-link-color: var(--muted);
  --bs-nav-link-hover-color: var(--ink);
  --bs-nav-underline-link-active-color: var(--brand);
  border-bottom: 1px solid var(--border);
}

.gallery-tabs .nav-link {
  margin-bottom: -1px;
}

.gallery-description {
  color: var(--muted);
  font-weight: 500;
}

.gallery-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--surface);
  touch-action: pan-y;
}

.gallery-carousel:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.gallery-track {
  display: flex;
  transition: transform .35s ease;
}

.gallery-slide {
  flex: 0 0 100%;
  margin: 0;
}

.gallery-slide-frame {
  height: min(65vh, 520px);
  padding: 1rem;
}

.gallery-slide-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-slide figcaption {
  padding: 0 1rem 1rem;
  color: var(--muted);
  text-align: center;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0 0 .25rem;
  border: 0;
  border-radius: 50%;
  color: var(--brand);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
  font-size: 2rem;
  line-height: 1;
}

.gallery-arrow:hover {
  color: #fff;
  background: var(--brand);
}

.gallery-arrow-prev {
  left: 1rem;
}

.gallery-arrow-next {
  right: 1rem;
}

/* Small arrows beside the counter, shown on phones only (d-md-none in the template). */
.gallery-step {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0 0 .2rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--brand);
  background: #fff;
  font-size: 1.6rem;
  line-height: 1;
}

/* Hover only where there's a real pointer; on touch screens it would stay stuck after a tap. */
.gallery-step:active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

@media (hover: hover) {
  .gallery-step:hover {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
  }
}

.gallery-counter {
  color: var(--muted);
  font-size: .9rem;
}

.gallery-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: .75rem;
  background: var(--surface);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.04);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(10, 20, 15, .9);
}

.gallery-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: .5rem;
}

.gallery-lightbox figcaption {
  margin-top: .75rem;
  color: #d7e0db;
}

.gallery-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .15);
  font-size: 1.75rem;
  line-height: 1;
}

.gallery-lightbox-close:hover {
  background: rgba(255, 255, 255, .3);
}

/* On phones the carousel runs edge to edge: no gray box, no side gutters. */
@media (max-width: 767.98px) {
  .gallery-carousel {
    margin: 0 calc(var(--bs-gutter-x) * -.5);
    border-radius: 0;
    background: none;
  }

  .gallery-slide-frame {
    height: min(60vh, 420px);
    padding: 0;
  }

  .gallery-slide figcaption {
    padding: .75rem 1rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track,
  .gallery-thumb img {
    transition: none;
  }

  .gallery-thumb:hover img {
    transform: none;
  }
}

.bona-nova-regular {
  font-family: "Bona Nova", serif;
  font-weight: 400;
  font-style: normal;
}

.bona-nova-bold {
  font-family: "Bona Nova", serif;
  font-weight: 700;
  font-style: normal;
}

.bona-nova-regular-italic {
  font-family: "Bona Nova", serif;
  font-weight: 400;
  font-style: italic;
}


@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0 .5rem;
  }

  .brand-name {
    text-align: left;
  }

  .logo {
    width: 4rem;
  }

  .hero-section {
    padding: 4rem 0;
  }

  .hero-image {
    min-height: 320px;
  }
}