html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; }

#site-header.scrolled { box-shadow: 0 8px 24px -12px rgba(18, 58, 36, 0.25); }

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2a7549;
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.focus-tile {
  position: relative;
  display: flex;
  border-radius: 1.5rem;
  overflow: hidden;
  isolation: isolate;
  height: 260px;
  box-shadow: 0 1px 2px rgba(18, 58, 36, 0.06);
  transition: box-shadow 0.3s ease;
}
.focus-tile:hover {
  box-shadow: 0 24px 48px -24px rgba(18, 58, 36, 0.35);
}
.focus-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.focus-tile:hover img {
  transform: scale(1.07);
}
.focus-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(9, 23, 16, 0.65) 0%, rgba(9, 23, 16, 0.1) 45%, transparent 68%);
  z-index: 1;
}
.focus-tile-title {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  margin: 1.75rem;
  max-width: 75%;
  color: #fff;
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.25;
  font-family: 'Montserrat', sans-serif;
}

.project-card {
  background: #fff;
  border: 1px solid #eef1ee;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(18, 58, 36, 0.28);
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

/* News & Announcements card — see index.html for the copy-paste template used to add new items */
.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  padding: 1.75rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(143, 214, 148, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.news-card-body { flex: 1 1 auto; }

.news-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 0.4rem;
  border: 1px solid transparent;
}
.news-tag-leaf  { color: #8fd694; background: rgba(143, 214, 148, 0.1); border-color: rgba(143, 214, 148, 0.25); }
.news-tag-amber { color: #ffc84a; background: rgba(255, 200, 74, 0.1); border-color: rgba(255, 200, 74, 0.25); }
.news-tag-ocean { color: #5fd0e6; background: rgba(95, 208, 230, 0.1); border-color: rgba(95, 208, 230, 0.25); }
.news-tag-coral { color: #ff9a8b; background: rgba(255, 154, 139, 0.1); border-color: rgba(255, 154, 139, 0.25); }
.news-tag-mist  { color: rgba(255, 255, 255, 0.85); background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); }

.news-card-footer {
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.news-card-date {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(220, 239, 226, 0.62);
}
.news-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.news-card:hover .news-card-arrow {
  transform: translateX(3px);
  border-color: rgba(143, 214, 148, 0.5);
  background: rgba(143, 214, 148, 0.12);
  color: #8fd694;
}

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6rem, #000 calc(100% - 6rem), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 6rem, #000 calc(100% - 6rem), transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 4rem;
  animation: marqueeScroll 32s linear infinite;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  filter: grayscale(1);
  opacity: 0.6;
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.marquee-item:hover {
  filter: grayscale(0);
  opacity: 1;
}
.marquee-img {
  height: 2.25rem;
  width: auto;
  object-fit: contain;
}
.marquee-text {
  font-weight: 700;
  font-size: 0.9rem;
  color: #4b5f54;
  white-space: nowrap;
}
/* per-logo optical alignment nudges (each source file's visible mark sits off-centre in its canvas) */
.logo-prima { transform: translateY(3px); }
.logo-habitat { transform: translateY(-3px); }
.logo-tadamon { transform: translateY(-3px); }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.form-input {
  margin-top: 0.4rem;
  width: 100%;
  border: 1px solid #e2e8e4;
  border-radius: 0.75rem;
  padding: 0.7rem 1rem;
  font-size: 0.925rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: 'Montserrat', sans-serif;
}
.form-input:focus {
  border-color: #65c26f;
  box-shadow: 0 0 0 3px rgba(101, 194, 111, 0.18);
}

.form-line {
  margin-top: 0.5rem;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #cbd8d1;
  border-radius: 0;
  padding: 0.55rem 0.1rem;
  font-size: 0.925rem;
  color: #123a24;
  outline: none;
  transition: border-color 0.2s ease;
  font-family: 'Montserrat', sans-serif;
}
.form-line::placeholder { color: #94a39c; }
.form-line:focus { border-bottom-color: #65c26f; }
.form-line-textarea { resize: none; }

.blob-amber, .blob-ocean {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.blob-amber {
  width: 420px; height: 420px;
  top: -120px; right: -100px;
  background: radial-gradient(circle, rgba(255,183,3,0.35), transparent 70%);
}
.blob-ocean {
  width: 380px; height: 380px;
  bottom: -140px; left: -80px;
  background: radial-gradient(circle, rgba(34,173,204,0.3), transparent 70%);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: flex;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}
.scroll-cue:hover { color: #fff; }
.scroll-cue-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid currentColor;
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-cue-dot {
  width: 4px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  animation: scrollCueDot 1.6s ease-in-out infinite;
}
@keyframes scrollCueDot {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 0; transform: translateY(0); }
}

.scroll-reveal-text .word {
  color: #cdd8d1;
  transition: color 0.4s ease;
}
.scroll-reveal-text .word.is-active {
  color: #123a24;
}

.stat-reveal-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  box-shadow: 0 1px 2px rgba(18, 58, 36, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-reveal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(18, 58, 36, 0.22);
}
/* left-to-right cascade as each card scrolls into view, instead of the default vertical .reveal */
.stat-reveal-card.reveal {
  transform: translateX(-28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stat-reveal-card.reveal.in-view {
  transform: translateX(0);
}
.stat-reveal-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.15rem, 3.2vw, 1.4rem);
  font-weight: 600;
  color: #123a24;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat-reveal-label {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: #6b7c72;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
}

.board-card {
  display: block;
  background: #fff;
  border: 1px solid #eef1ee;
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.board-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(18, 58, 36, 0.28);
}
.board-card-avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.board-card-cta {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #2a7549;
}

.km-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  padding: 12px 20px;
}
.km-bottom-bar img {
  height: 26px;
  width: auto;
  display: block;
}
