:root {
  --green-dark: #0f2a24;
  --green: #1b4d3e;
  --green-mid: #2d6a4f;
  --gold: #c9a227;
  --gold-light: #e8c547;
  --cream: #f7f3e9;
  --sand: #e8dfc8;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, .logo, .nav-cta {
  font-family: "Playfair Display", Georgia, serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* NAV */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 42, 36, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  color: var(--cream);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

nav a {
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.88;
}

nav a:hover {
  color: var(--gold-light);
  opacity: 1;
}

.nav-cta {
  background: var(--gold);
  color: var(--green-dark) !important;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  font-weight: 700;
  opacity: 1 !important;
  text-transform: none;
  letter-spacing: 0;
}

.nav-cta:hover {
  background: var(--gold-light);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--cream);
  font-size: 1.6rem;
  cursor: pointer;
}

/* HERO */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(15, 42, 36, 0.35) 0%, rgba(15, 42, 36, 0.72) 100%),
    url("images/shoebill-hero.jpg") center 42% / cover no-repeat;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  padding: 8rem 1.5rem 5rem;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.eyebrow {
  color: var(--gold-light);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.08;
  max-width: 16ch;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.hero p {
  max-width: 38rem;
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 2rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 1rem;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--green-dark);
}

.btn-gold:hover {
  background: var(--gold-light);
}

.btn-ghost {
  border: 1px solid rgba(247, 243, 233, 0.55);
  color: var(--cream);
}

.btn-ghost:hover {
  background: rgba(247, 243, 233, 0.1);
}

/* SECTIONS */
section {
  padding: 5rem 1.5rem;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  color: var(--green-mid);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--green-dark);
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 42rem;
}

/* ABOUT GRID */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2.5rem;
}

.about-grid img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(15, 42, 36, 0.18);
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.8rem;
}

.fact {
  background: var(--white);
  border: 1px solid var(--sand);
  padding: 1.1rem 1rem;
  border-radius: 12px;
}

.fact strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.55rem;
  color: var(--green);
}

.fact span {
  font-size: 0.88rem;
  color: var(--muted);
}

/* PROJECT */
.project {
  background: var(--green-dark);
  color: var(--cream);
}

.project h2,
.project .section-label {
  color: var(--gold-light);
}

.project .lead {
  color: rgba(247, 243, 233, 0.8);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 162, 39, 0.22);
  padding: 1.6rem;
  border-radius: 16px;
}

.card h3 {
  color: var(--gold-light);
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}

.card p {
  opacity: 0.88;
  font-size: 0.98rem;
}

/* IMPACT */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;
}

/* DONATE */
.donate {
  background:
    linear-gradient(180deg, rgba(15, 42, 36, 0.82), rgba(15, 42, 36, 0.88)),
    url("images/shoebill-bill.jpg") center 35% / cover no-repeat;
  color: var(--cream);
  text-align: center;
}

.donate h1,
.donate h2 {
  color: var(--cream);
}

.donate h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  max-width: 16ch;
  margin: 0 auto 1rem;
}

.donate-hero {
  padding-top: 8.5rem;
  padding-bottom: 5rem;
}

.donate .lead {
  color: rgba(247, 243, 233, 0.88);
  margin: 0 auto 1.8rem;
}

.donate-note {
  margin-top: 1.4rem;
  font-size: 0.92rem;
  opacity: 0.8;
}

/* UPDATES / SOCIAL */
.updates-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  margin-top: 2rem;
  align-items: start;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.2rem 0 1.6rem;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border: 1px solid var(--sand);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
}

.social-chip:hover {
  border-color: var(--gold);
  color: var(--green);
}

.update-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 16px;
  padding: 1.3rem 1.4rem;
  margin-bottom: 1rem;
}

.update-card .when {
  color: var(--green-mid);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.update-card h3 {
  margin: 0.35rem 0 0.45rem;
  font-size: 1.2rem;
  color: var(--green-dark);
}

.fb-embed {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 16px;
  overflow: hidden;
  min-height: 520px;
}

.fb-embed iframe {
  width: 100%;
  border: 0;
  display: block;
}

.photo-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.8rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.gallery img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 12px;
}

.gallery-captioned {
  position: relative;
  margin: 0;
  grid-column: span 2;
}

.gallery-captioned img {
  height: 320px;
  border-radius: 12px;
  object-position: center 35%;
}

.gallery-captioned figcaption {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  background: rgba(15, 42, 36, 0.88);
  color: var(--cream);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
}

@media (max-width: 860px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-captioned {
    grid-column: span 2;
  }
}

/* TEAM */
.page-hero {
  padding: 8rem 1.5rem 3rem;
  background:
    linear-gradient(180deg, rgba(15, 42, 36, 0.55), rgba(15, 42, 36, 0.82)),
    url("images/shoebill-smile.jpg") center 40% / cover no-repeat;
  color: var(--cream);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 16ch;
}

.page-hero p {
  max-width: 38rem;
  margin-top: 0.8rem;
  color: rgba(247, 243, 233, 0.88);
}

.bios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0 4rem;
}

.bio {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--sand);
}

.bio img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center 30%;
}

.bio.ryan img {
  object-fit: cover;
  object-position: center 28%;
  background: #d7e0d4;
}

.bio.kenneth img {
  object-fit: cover;
  object-position: center 18%;
}

.bio-body {
  padding: 1.6rem 1.6rem 1.8rem;
}

.bio-role {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.bio h2 {
  font-size: 1.7rem;
  color: var(--green-dark);
  margin: 0.25rem 0 0.9rem;
}

.bio p + p {
  margin-top: 0.85rem;
}

@media (max-width: 860px) {
  .bios {
    grid-template-columns: 1fr;
  }
}

/* CONTACT */
.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

form {
  display: grid;
  gap: 0.8rem;
}

input, textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--sand);
  border-radius: 10px;
  font: inherit;
  background: var(--white);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.info-box {
  background: var(--white);
  border: 1px solid var(--sand);
  padding: 1.8rem;
  border-radius: 16px;
}

.info-box h3 {
  margin-bottom: 0.8rem;
  color: var(--green-dark);
}

.info-box p {
  margin-bottom: 0.55rem;
  color: var(--muted);
}

/* FOOTER */
footer {
  background: #0b1f1b;
  color: rgba(247, 243, 233, 0.75);
  padding: 2.2rem 1.5rem;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

footer strong {
  color: var(--cream);
}

/* MOBILE */
@media (max-width: 860px) {
  nav ul {
    display: none;
  }

  nav ul.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green-dark);
    padding: 1.2rem 1.5rem 1.6rem;
    gap: 1rem;
  }

  .menu-toggle {
    display: block;
  }

  .about-grid,
  .cards,
  .split,
  .contact-grid,
  .updates-grid {
    grid-template-columns: 1fr;
  }

  .about-grid img,
  .split img {
    height: 280px;
  }

  .hero {
    align-items: center;
    padding-top: 7rem;
  }
}
