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

:root {
  --black:      #080f09;
  --off-black:  #0c1410;
  --dark:       #111c14;
  --mid:        #1c2e20;
  --green-dim:  #2a3d2e;
  --lime:       #c8f06a;
  --lime-soft:  rgba(200, 240, 106, 0.13);
  --white:      #eef5ec;
  --muted:      #7a9e80;
  --border:     rgba(140, 200, 120, 0.12);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}


/* ---------------------------------------------------------
   LINKS
--------------------------------------------------------- */
a:link,
a:visited,
a:active {
  color: var(--lime);
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: var(--muted);
  background-color: transparent;
  text-decoration: none;
}

/* ---------------------------------------------------------
   BACK TO TOP
--------------------------------------------------------- */
#back-to-top {
  position: fixed;
  top: 100px;
  left: 18px;
  z-index: 200;
  width: 60px;
  height: 60px;
  background: var(--lime);
  color: var(--black);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) scale(0.8);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

#back-to-top:hover {
  background: #fff;
  transform: scale(1.1);
}

#back-to-top svg {
  width: 18px;
  height: 18px;
}

/* ---------------------------------------------------------
   NAV
--------------------------------------------------------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: linear-gradient(to bottom, rgba(8, 15, 9, 0.97), transparent);
  transition: background 0.3s, backdrop-filter 0.3s;
}

nav.scrolled {
  background: linear-gradient(to bottom, rgba(8, 15, 9, 0.97), transparent);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.08em;
  color: var(--white);
  text-decoration: none;
}

.nav-logo span {
  color: var(--lime);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(238, 245, 236, 0.62);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--lime);
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: var(--lime);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 101;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}

/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/community_garden.png');
  background-size: cover;
  background-position: center;
  filter: brightness(0.85) saturate(1.1);
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero-bg.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 15, 9, 1) 0%, rgba(8, 15, 9, 0.55) 45%, rgba(8, 15, 9, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px 80px;
  max-width: 960px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 160px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-content h1 .accent {
  color: var(--lime);
}

.hero-hashtags {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-hashtag {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--lime);
  background: rgba(200, 240, 106, 0.09);
  border: 1px solid rgba(200, 240, 106, 0.28);
  padding: 6px 16px;
  border-radius: 20px;
  animation: hashPulse 3.5s ease-in-out infinite;
}

.hero-hashtag:nth-child(2) {
  animation-delay: 0.7s;
}

@keyframes hashPulse {
  0%, 100% { background: rgba(200, 240, 106, 0.07); }
  50%       { background: rgba(200, 240, 106, 0.18); }
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(238, 245, 236, 0.32);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(200, 240, 106, 0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.4; transform: scaleY(1);   }
  50%       { opacity: 1;   transform: scaleY(0.6); }
}

/* ---------------------------------------------------------
   STATS
--------------------------------------------------------- */
#stats {
  background: var(--dark);
  padding: 72px 48px;
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.stat-item {
  background: var(--dark);
  padding: 44px 28px;
  transition: background 0.25s ease;
}

.stat-item:hover {
  background: var(--mid);
}

.stat-item:hover .stat-number {
  color: #d8f58a;
}

.stat-item:hover .stat-label {
  color: #9ab89f;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  color: var(--lime);
  letter-spacing: 0.02em;
  line-height: 1;
  transition: color 0.25s ease;
}

.stat-label {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

/* ---------------------------------------------------------
   COMMON SECTION STYLES
--------------------------------------------------------- */
section {
  padding: 100px 48px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 500;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--lime);
}

/* ---------------------------------------------------------
   PURPOSE
--------------------------------------------------------- */
#purpose {
  background: var(--off-black);
}

.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.purpose-image {
  position: relative;
  overflow: hidden;
}

.purpose-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  filter: saturate(1.5);
}

.purpose-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
}

.purpose-text h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin-bottom: 28px;
}

.purpose-text h2 .accent {
  color: var(--lime);
}

.purpose-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.purpose-point {
  padding-left: 18px;
  border-left: 2px solid var(--border);
  font-size: 15px;
  color: rgba(238, 245, 236, 0.72);
  line-height: 1.75;
  transition: border-color 0.3s;
}

.purpose-point:hover {
  border-color: var(--lime);
}

.purpose-point .hl {
  color: var(--lime);
}

/* ---------------------------------------------------------
   MISSION
--------------------------------------------------------- */
#mission {
  background: var(--black);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mission-text h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin-bottom: 28px;
}

.mission-body {
  font-size: 16px;
  color: rgba(238, 245, 236, 0.76);
  line-height: 1.85;
}

.mission-body .hl {
  color: var(--lime);
}

.mission-image {
  position: relative;
  overflow: hidden;
}

.mission-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
  filter: saturate(0.7) contrast(1.05);
}

.mission-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200, 240, 106, 0.06), transparent);
  z-index: 1;
}

.mission-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mission-point {
  padding-left: 18px;
  border-left: 2px solid var(--border);
  font-size: 15px;
  color: rgba(238, 245, 236, 0.72);
  line-height: 1.75;
  transition: border-color 0.3s;
}

.mission-point:hover {
  border-color: var(--lime);
}

.mission-point .hl {
  color: var(--lime);
}

/* ---------------------------------------------------------
   INFOGRAPHIC
--------------------------------------------------------- */
.info-bg {
  background-image: url('images/infographic.png');
}

#infographic {
  background: var(--off-black);
}

.infographic-header {
  margin-bottom: 52px;
}

.infographic-header h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.infographic-header p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.7;
}

.infographic-map {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 48px;
}

.infographic-map img {
  width: 100%;
  max-height: none;
  height: auto;
  object-position: center 76%;
  display: block;
  filter: saturate(0.75);
}

.infographic-map-label {
  position: absolute;
  bottom: 18px;
  left: 20px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(8, 15, 9, 0.75);
  padding: 5px 14px;
  border: 1px solid rgba(200, 240, 106, 0.2);
}

.infographic-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}

.bar-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bar-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.bar-meta-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bar-meta-value {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--lime);
}

.bar-track {
  height: 8px;
  background: var(--green-dim);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--lime), #8fcf3a);
  border-radius: 4px;
  width: 0;
  transition: width 1.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.infographic-circles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.circle-fact {
  background: var(--dark);
  border: 1px solid var(--border);
  padding: 32px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}

.circle-fact:hover {
  border-color: rgba(200, 240, 106, 0.35);
  background: var(--mid);
}

.circle-fact::before {
  content: '';
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background: var(--lime-soft);
  border-radius: 50%;
}

.circle-num {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--lime);
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}

.circle-desc {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.circle-source {
  margin-top: 6px;
  font-size: 10px;
  color: rgba(122, 158, 128, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.infographic-poster {
  margin-top: 48px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.infographic-poster img {
  width: 100%;
  max-width: 560px;
  display: block;
  margin: 0 auto;
  filter: saturate(0.85);
}

/* ---------------------------------------------------------
   WATCH
--------------------------------------------------------- */
#watch {
  background: var(--off-black);
}

.watch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.watch-image {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
 
.watch-image iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--border);
  display: block;
}

.watch-text h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin-bottom: 28px;
}

.watch-text h2 .accent {
  color: var(--lime);
}

.watch-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.watch-video {
  position: relative;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  outline: 1px solid var(--border);
}

.video-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  pointer-events: none;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------------------------------------------------------
   TEAM PHOTO BANNER
--------------------------------------------------------- */
#team-photo {
  position: relative;
  overflow: hidden;
  height: 800px;
}

#team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: saturate(0.85);
}

#team-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--dark) 0%, transparent 22%, transparent 72%, var(--dark) 100%);
  z-index: 1;
}

.team-photo-caption {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
}

.team-photo-caption h3 {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 0.1em;
  color: var(--white);
}

.team-photo-caption p {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-top: 6px;
}

/* ---------------------------------------------------------
   TEAM CARDS
--------------------------------------------------------- */
#team {
  background: var(--dark);
}

.team-header {
  margin-bottom: 44px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
}

.team-header h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 0.04em;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.team-card {
  background: var(--dark);
  display: grid;
  grid-template-columns: 150px 1fr;
  overflow: hidden;
}

.team-card-image {
  position: relative;
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0) saturate(1);
  transition: filter 0.4s;
}

.team-card:hover .team-card-image img {
  filter: grayscale(0) saturate(1.5);
}

.team-card-body {
  padding: 40px;
  border-left: 1px solid var(--border);
}

.team-role {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 500;
  margin-bottom: 4px;
}

.team-name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  color: var(--white);
}

.team-bio {
  font-size: 13px;
  color: rgba(238, 245, 236, 0.58);
  line-height: 1.72;
  font-weight: 300;
}

/* ---------------------------------------------------------
   CONTACT
--------------------------------------------------------- */
#contact {
  background: var(--off-black);
  padding: 100px 48px;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-detail-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 500;
}

.contact-detail-value {
  font-size: 15px;
  color: rgba(238, 245, 236, 0.72);
}

.contact-detail-value a {
  color: inherit;
  text-decoration: underline;
}

.contact-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-links a {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-links a:hover {
  color: var(--lime);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.form-group label .req {
  color: var(--lime);
}

.form-group input,
.form-group textarea {
  background: transparent;
  border: 1px solid var(--border);
  padding: 11px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(200, 240, 106, 0.45);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(238, 245, 236, 0.18);
}

.form-submit {
  background: var(--lime);
  color: var(--black);
  border: none;
  padding: 13px 36px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  align-self: flex-start;
}

.form-submit:hover  { background: #fff; }
.form-submit:active { transform: scale(0.98); }

.form-success {
  display: none;
  padding: 14px;
  border: 1px solid rgba(200, 240, 106, 0.3);
  color: var(--lime);
  font-size: 13px;
  letter-spacing: 0.05em;
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */
footer {
  background: var(--black);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.08em;
  color: rgba(238, 245, 236, 0.35);
}

.footer-brand span {
  color: var(--lime);
}

.footer-copy {
  font-size: 12px;
  color: rgba(238, 245, 236, 0.28);
  letter-spacing: 0.05em;
}

/* ---------------------------------------------------------
   FADE-IN ANIMATION
--------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ---------------------------------------------------------
   RESPONSIVE — tablet
--------------------------------------------------------- */
@media (max-width: 900px) {
  nav {
    padding: 16px 22px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 24px;
    position: fixed;
    inset: 0;
    background: rgba(8, 15, 9, 0.98);
    align-items: center;
    justify-content: center;
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  section {
    padding: 60px 22px;
  }

  #contact {
    padding: 60px 22px;
  }

  .hero-content {
    padding: 0 22px 60px;
  }

  .scroll-hint {
    right: 22px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .purpose-grid,
  .mission-grid,
  .watch-grid,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .purpose-image img {
    height: 260px;
  }

  .mission-image img {
    height: 260px;
  }

  .infographic-bars {
    grid-template-columns: 1fr 1fr;
  }

  .infographic-circles {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 110px 1fr;
  }

  #team-photo {
    height: 280px;
  }

  footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------
   RESPONSIVE — mobile
--------------------------------------------------------- */
@media (max-width: 540px) {
  .infographic-bars {
    grid-template-columns: 1fr;
  }

  .infographic-circles {
    grid-template-columns: 1fr 1fr;
  }
}
