:root {
  --forest: #081b0e;
  --canopy: #123320;
  --leaf: #1f5435;
  --jade: #3a8c60;
  --mint: #6ec99a;
  --gold: #c68a2a;
  --honey: #e8ad52;
  --butter: #f5d488;
  --terra: #9e3d1f;
  --rust: #c4572e;
  --cream: #f8f2e6;
  --ivory: #fefcf7;
  --bark: #6b4f30;
  --ink: #1a1008;
  --sand: #c8b99a;
  --brown: #211d11;
  --pattern-light: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23081B0E' stroke-width='1' stroke-opacity='0.03'%3E%3Cpath d='M0 6 L12 0 L24 6' /%3E%3Cpath d='M0 18 L12 12 L24 18' /%3E%3C/g%3E%3C/svg%3E");
  --pattern-dark: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23F8F2E6' stroke-width='1' stroke-opacity='0.025'%3E%3Cpath d='M0 6 L12 0 L24 6' /%3E%3Cpath d='M0 18 L12 12 L24 18' /%3E%3C/g%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  font-size: 18px;
  overflow-x: hidden;
  overflow-x: clip; /* Modern browsers: clips without creating scroll container */
  max-width: 100%;
  width: 100%;
}

body {
  font-family: "DM Sans", sans-serif;
  background-color: var(--ivory);
  background-image: var(--pattern-light);
  color: var(--ink);
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  position: relative;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 4rem;
  min-height: 76px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
}

nav.scrolled {
  background: rgba(8, 27, 14, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 173, 82, 0.18);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--honey);
}

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

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 1.8rem;
  /* Reduced slightly to help stay on one line */
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 242, 230, 0.65);
  transition: color 0.2s;
  text-decoration: none;
  line-height: 1.2;
  /* Better for multi-line text */
}

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

.nav-cta {
  background: var(--gold);
  color: var(--forest) !important;
  padding: 0.5rem 1.4rem;
  border-radius: 3px;
  font-weight: 500 !important;
}

.nav-cta:hover {
  background: var(--honey) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--cream);
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* HERO */
#hero {
  position: relative;
  width: 100%;
  background: var(--ivory);
}

.hero-bg {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.nav-protect {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 15%);
  pointer-events: none;
  z-index: 1;
}

.hero-floating-title {
  position: relative;
  z-index: 5;
  text-align: center;
  margin-top: -5vh;
  /* Push slightly up so it's not too close to the card */
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: none;
  margin: -8vh 0 0 0;
  background: var(--cream);
  padding: 2.5rem 2rem;
  border-radius: 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: none;
  animation: fadeUp 0.8s ease forwards;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(58, 140, 96, 0.1);
  border: 1px solid rgba(58, 140, 96, 0.2);
  color: var(--forest);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s ease forwards;
}

.tag-dot {
  width: 8px;
  height: 8px;
  background: var(--jade);
  border-radius: 50%;
  animation: pdot 2s infinite;
}

@keyframes pdot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(6rem, 12vw, 9rem);
  font-weight: 300;
  line-height: 0.9;
  color: white;
  margin: 0;
  text-shadow:
    0 0 20px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(0, 0, 0, 0.6);
  opacity: 0;
  animation: fadeUp 0.9s 0.2s ease forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--bark);
  margin-bottom: 1.5rem;
  max-width: 900px;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s ease forwards;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s ease forwards;
}

.hero-badge {
  background: var(--ivory);
  color: var(--forest);
  border: 1px solid rgba(8, 27, 14, 0.1);
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* STATS */
#stats {
  background-color: var(--canopy);
  background-image: var(--pattern-dark);
  border-top: 1px solid rgba(232, 173, 82, 0.2);
  border-bottom: 1px solid rgba(232, 173, 82, 0.1);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 4rem;
}

.stat {
  padding: 3.2rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.stat:last-child {
  border-right: none;
}

.stat-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
  color: var(--honey);
  font-variant-numeric: lining-nums;
}

.stat-unit {
  font-size: 1.8rem;
  color: var(--gold);
}

.stat-label {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
}

/* SECTION BASE */
.section {
  padding: 8rem 5rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--jade);
  margin-bottom: 1rem;
}

.eyebrow-light {
  color: var(--mint);
}

.h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--forest);
}

.h2 em {
  font-style: italic;
  color: var(--gold);
}

.h2-light {
  color: var(--cream);
}

.h2-light em {
  color: var(--honey);
}

/* VISION */
#vision {
  background: none;
  padding: 0;
  display: block;
}

.vision-hero {
  background: linear-gradient(160deg, var(--forest) 0%, var(--canopy) 40%, var(--leaf) 100%);
  padding: 8rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vision-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.vision-hero-content {
  width: 100%;
}

.contact-maps {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 1000px;
  justify-content: center;
  margin: 4rem auto 0;
  position: relative;
  z-index: 2;
}

.vision-map-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.2rem;
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.vision-map-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  border-color: rgba(232, 173, 82, 0.3);
}

.map-img-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.map-img-wrapper img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.vision-map-card:hover .map-img-wrapper img {
  transform: scale(1.05);
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 27, 14, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.vision-map-card:hover .map-overlay {
  opacity: 1;
}

.map-zoom-icon {
  font-size: 2rem;
  color: var(--honey);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transform: scale(0.5);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vision-map-card:hover .map-zoom-icon {
  transform: scale(1);
}

.map-caption {
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sand);
  text-align: center;
  margin-top: 1.2rem;
  margin-bottom: 0.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vision-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -10%;
  width: 60%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(110, 201, 154, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.vision-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 50%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(232, 173, 82, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.vision-headline {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--cream);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  font-variant-numeric: lining-nums;
}

.vision-headline em {
  font-style: italic;
  color: var(--honey);
}

.vision-subtitle {
  font-size: 1.1rem;
  line-height: 1.9;
  font-weight: 300;
  color: var(--sand);
  max-width: 620px;
  margin: 2rem auto 0;
  position: relative;
}

.vision-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 3rem;
}

.vision-divider span {
  display: block;
  border-radius: 99px;
}

.vision-divider span:nth-child(1) {
  width: 40px;
  height: 3px;
  background: var(--jade);
}

.vision-divider span:nth-child(2) {
  width: 8px;
  height: 8px;
  background: var(--honey);
  border-radius: 50%;
  animation: pdot 2.5s infinite;
}

.vision-divider span:nth-child(3) {
  width: 40px;
  height: 3px;
  background: var(--jade);
}

/* MISSIONS BENTO */
.missions-bento {
  background: var(--cream);
  padding: 6rem 5rem 8rem;
}

.missions-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 3rem;
}

.missions-title em {
  font-style: italic;
  color: var(--gold);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1.4rem;
}

.bento-card {
  background: var(--ivory);
  border: 1px solid rgba(8, 27, 14, 0.08);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--jade), var(--gold));
  opacity: 0;
  transition: opacity 0.35s;
}

.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(8, 27, 14, 0.1);
  border-color: rgba(198, 138, 42, 0.3);
  background: var(--cream);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-lg {
  grid-column: span 2;
}

.bento-icon {
  font-size: 2.8rem;
  width: 4.2rem;
  height: 4.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(58, 140, 96, 0.1), rgba(58, 140, 96, 0.04));
  border-radius: 14px;
  margin-bottom: 1.2rem;
}

.bento-card h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.bento-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--bark);
  font-weight: 300;
}

/* GALLERY - MISSIONS */
#missions {
  background: var(--forest);
  padding: 8rem 5rem;
}

.missions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.mcard {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
  cursor: pointer;
}

.mcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.mcard:hover img {
  transform: scale(1.05);
}

.mcard-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 27, 14, 0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.8rem;
}

.mcard-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  color: var(--cream);
  line-height: 1.3;
}

/* PARC */
#parc {
  background: var(--forest);
  padding: 6rem 5rem 4rem;
}

.parc-visual {
  margin-top: 3rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(110, 201, 154, 0.15);
}

.parc-visual img {
  width: 100%;
  display: block;
}

.map-wrap {
  margin-top: 2rem;
  background: rgba(18, 51, 32, 0.7);
  border: 1px solid rgba(110, 201, 154, 0.12);
  border-radius: 12px;
  padding: 2.5rem;
  overflow-x: auto;
}

.park-svg {
  width: 100%;
  min-width: 700px;
}

/* ZONES */
#zones {
  background: var(--ivory);
}

.zones-lead {
  max-width: 680px;
  margin-bottom: 4rem;
}

.zones-lead p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--bark);
  margin-top: 1.2rem;
  font-weight: 300;
}

.zones-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.zcard {
  display: flex;
  flex-direction: row-reverse;
  background: var(--cream);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.35s,
    box-shadow 0.35s;
  border: 1px solid rgba(8, 27, 14, 0.05);
}

.zcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.zcard-img {
  position: relative;
  width: 55%;
  min-height: 400px;
  flex-shrink: 0;
  overflow: hidden;
}

.zcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}

.zcard:hover .zcard-img img {
  transform: scale(1.05);
}

.zcard-overlay {
  display: none;
}

.zcard-body {
  position: relative;
  width: 45%;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.zcard-badge {
  display: inline-block;
  background: var(--forest);
  color: var(--ivory);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.zcard-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--forest);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.zcard-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--bark);
  font-weight: 400;
  margin-bottom: 2rem;
}

.zcard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.ztag {
  font-size: 0.75rem;
  padding: 0.35rem 0.9rem;
  background: var(--ivory);
  border: 1px solid rgba(8, 27, 14, 0.1);
  color: var(--forest);
  border-radius: 999px;
  font-weight: 500;
}

/* IMPACT */
#impact {
  background-image: var(--pattern-dark), linear-gradient(135deg, var(--forest) 0%, #05140a 100%);
  padding: 8rem 5rem;
  position: relative;
  overflow: hidden;
}

#impact::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  border: 1px solid rgba(232, 173, 82, 0.05);
  box-shadow: inset 0 0 100px rgba(232, 173, 82, 0.02);
  pointer-events: none;
}

#impact::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1200px;
  height: 1200px;
  border-radius: 50%;
  border: 1px solid rgba(110, 201, 154, 0.03);
  pointer-events: none;
}

.impact-nums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}

.icard {
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 0.35s,
    border-color 0.35s,
    background 0.35s;
}

.icard:hover {
  transform: translateY(-8px);
  border-color: rgba(232, 173, 82, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.icard-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 5.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--honey);
  font-variant-numeric: lining-nums;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(232, 173, 82, 0.3);
}

.icard-unit {
  font-size: 2.5rem;
  color: rgba(232, 173, 82, 0.6);
}

.icard-label {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--sand);
  font-weight: 300;
}

.impact-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 4rem;
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.ipoint {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
  color: rgba(248, 242, 230, 0.85);
  font-weight: 300;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.3s;
}

.ipoint:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(232, 173, 82, 0.2);
  transform: translateX(5px);
}

.idot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(110, 201, 154, 0.15);
  border: 1px solid var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.idot::after {
  content: "✓";
  color: var(--mint);
  font-size: 12px;
  font-weight: bold;
}

/* ROADMAP */
#roadmap {
  background-image:
    var(--pattern-dark),
    linear-gradient(170deg, var(--forest) 0%, var(--canopy) 50%, var(--leaf) 100%);
  padding: 8rem 5rem;
  position: relative;
  overflow: hidden;
}

#roadmap::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -15%;
  width: 50%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(110, 201, 154, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.rm-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem;
}

.rm-headline {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--cream);
  font-variant-numeric: lining-nums;
}

.rm-headline em {
  font-style: italic;
  color: var(--honey);
}

.rm-desc {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--sand);
  font-weight: 300;
  margin-top: 1.5rem;
}

.rm-nav-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin-top: 3.5rem;
}

.rm-nav-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--mint);
  opacity: 0.8;
}

.rm-nav {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: fit-content;
}

.rm-nav-item {
  background: none;
  border: none;
  color: var(--sand);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rm-nav-item.active {
  background: var(--honey);
  color: var(--forest);
  box-shadow: 0 4px 15px rgba(232, 173, 82, 0.3);
}

.rm-wrapper {
  position: relative;
  width: 100%;
  margin-top: 2rem;
}

.rm-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(8, 27, 14, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(232, 173, 82, 0.2);
  color: var(--honey);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  opacity: 1;
}

.rm-arrow:hover {
  background: var(--honey);
  color: var(--forest);
  border-color: var(--honey);
  box-shadow: 0 0 20px rgba(232, 173, 82, 0.4);
}

.rm-prev {
  left: 1.5rem;
  opacity: 0;
  /* Hidden by default if at start */
  pointer-events: none;
}

.rm-next {
  right: 1.5rem;
}

@media (max-width: 900px) {
  .rm-arrow {
    display: none;
  }
}

/* ROADMAP GRID */
.rm-grid {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  padding: 1rem 4rem 3rem;
  /* Restored horizontal padding */
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4rem;
  /* Key fix: tells the snap where the "edge" is */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--honey) rgba(255, 255, 255, 0.05);
}

.rm-grid::-webkit-scrollbar {
  height: 6px;
  display: block;
}

.rm-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.rm-grid::-webkit-scrollbar-thumb {
  background: var(--honey);
  border-radius: 10px;
}

.rm-card {
  min-width: 320px;
  max-width: 400px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: var(--cream);
  border: 1px solid rgba(8, 27, 14, 0.06);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  opacity: 1;
  /* Visible immediately */
  transform: none;
  /* No delay */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.rm-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.rm-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
}

.rm-card-1::before {
  background: linear-gradient(90deg, var(--jade), var(--mint));
}

.rm-card-2::before {
  background: linear-gradient(90deg, var(--gold), var(--honey));
}

.rm-card-3::before {
  background: linear-gradient(90deg, var(--terra), var(--rust));
}

.rm-card-4::before {
  background: linear-gradient(90deg, var(--honey), var(--jade));
}

.rm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.rm-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.rm-phase-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 0.85;
  color: rgba(58, 140, 96, 0.15);
  flex-shrink: 0;
  font-variant-numeric: lining-nums;
}

.rm-card:hover .rm-phase-num {
  color: rgba(198, 138, 42, 0.3);
}

.rm-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 0.5rem;
}

.rm-badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(198, 138, 42, 0.1);
  border: 1px solid rgba(198, 138, 42, 0.2);
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  width: fit-content;
}

.rm-years {
  font-size: 0.78rem;
  color: var(--jade);
  font-weight: 500;
}

.rm-card-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.8rem;
}

.rm-card-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--bark);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.rm-card-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.rm-card-items span {
  background: var(--ivory);
  border: 1px solid rgba(8, 27, 14, 0.08);
  color: var(--bark);
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.rm-card-items span:hover {
  background: rgba(58, 140, 96, 0.08);
  border-color: rgba(58, 140, 96, 0.2);
  color: var(--forest);
  transform: translateY(-2px);
}

/* STRUCTURE */
#structure {
  background: var(--ivory);
}

.css-tree-wrap {
  width: 100%;
  overflow-x: auto;
  padding: 1rem 0 4rem;
  display: flex;
  justify-content: center;
}

.css-tree ul {
  padding-top: 3rem;
  position: relative;
  transition: all 0.5s;
  display: flex;
  justify-content: center;
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.css-tree ul ul {
  margin-top: 2.5rem;
}

.css-tree li {
  text-align: center;
  list-style-type: none;
  position: relative;
  padding: 3rem 1rem 0 1rem;
  flex: 1;
}

.css-tree li::before,
.css-tree li::after {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  border-top: 1px solid rgba(198, 138, 42, 0.4);
  width: 50%;
  height: 3rem;
}

.css-tree li::after {
  right: auto;
  left: 50%;
  border-left: 1px solid rgba(198, 138, 42, 0.4);
}

.css-tree li:only-child::after,
.css-tree li:only-child::before {
  display: none;
}

.css-tree li:only-child {
  padding-top: 0;
}

.css-tree li:first-child::before,
.css-tree li:last-child::after {
  border: 0 none;
}

.css-tree li:last-child::before {
  border-right: 1px solid rgba(198, 138, 42, 0.4);
  border-radius: 0 12px 0 0;
}

.css-tree li:first-child::after {
  border-radius: 12px 0 0 0;
}

.css-tree ul ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  border-left: 1px solid rgba(198, 138, 42, 0.4);
  width: 0;
  height: 3rem;
  transform: translateX(-50%);
}

.tree-root {
  background: var(--cream);
  border-radius: 16px;
  border: 1px solid rgba(8, 27, 14, 0.08);
  padding: 2.5rem 3.5rem;
  display: inline-block;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.tree-brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}

.tree-sub {
  font-size: 0.85rem;
  color: var(--sand);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tree-card {
  background: var(--ivory);
  border: 1px solid rgba(8, 27, 14, 0.08);
  border-radius: 12px;
  padding: 2rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  position: relative;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  z-index: 2;
  min-width: 220px;
}

.tree-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.tree-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 5px;
  border-radius: 12px 12px 0 0;
}

.tree-social::before {
  background: var(--jade);
}

.tree-agro::before {
  background: var(--gold);
}

.tree-eco::before {
  background: var(--mint);
}

.tree-const::before {
  background: var(--rust);
}

.tree-icon {
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
  background: rgba(8, 27, 14, 0.03);
  width: 4.2rem;
  height: 4.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.tree-card strong {
  font-size: 1.15rem;
  color: var(--forest);
  font-weight: 600;
}

.tree-card span:last-child {
  font-size: 0.9rem;
  color: var(--bark);
}

@media (max-width: 900px) {
  .css-tree ul {
    flex-direction: column;
    align-items: center;
  }

  .css-tree li {
    padding: 2rem 0 0 0;
    width: 100%;
    max-width: 320px;
  }

  .css-tree li::before,
  .css-tree li::after,
  .css-tree ul ul::before {
    display: none !important;
  }

  .css-tree ul ul li::before {
    display: block !important;
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 2rem;
    background: rgba(198, 138, 42, 0.4);
    transform: translateX(-50%);
  }

  .css-tree-wrap {
    overflow-x: hidden;
    justify-content: flex-start;
  }
}

.legal-card {
  background: var(--forest);
  border-radius: 12px;
  padding: 3.5rem;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

.legal-head {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  color: var(--honey);
  margin-bottom: 2rem;
}

.legal-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.4rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--sand);
  font-weight: 300;
}

.legal-bullet {
  color: var(--mint);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* CONTACT */
#contact {
  position: relative;
  background-color: var(--forest);
  background-image: var(--pattern-dark);
  text-align: center;
  padding: 10rem 5rem;
  overflow: hidden;
}

#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  mix-blend-mode: overlay;
  z-index: 0;
}

/* Gradient removed as per user request */

.contact-title {
  position: relative;
  z-index: 2;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.contact-title em {
  font-style: italic;
  color: var(--honey);
}

.contact-sub {
  position: relative;
  z-index: 2;
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(248, 242, 230, 0.85);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-weight: 300;
}

.cta-btn {
  position: relative;
  z-index: 2;
  display: inline-block;
  background: var(--gold);
  color: var(--forest);
  padding: 1.2rem 3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(198, 138, 42, 0.3);
}

.cta-btn:hover {
  background: var(--honey);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(198, 138, 42, 0.4);
}

.contact-loc {
  position: relative;
  z-index: 2;
  margin-top: 3rem;
  font-size: 0.95rem;
  color: var(--mint);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* FOOTER */
footer {
  background-color: var(--brown);
  background-image: var(--pattern-dark);
  border-top: 1px solid rgba(198, 138, 42, 0.2);
  padding: 3rem 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  gap: 2rem;
}

.footer-brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.05em;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(248, 242, 230, 0.3);
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: rgba(248, 242, 230, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--honey);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(8, 27, 14, 0.92);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.3s;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: var(--cream);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-right {
    padding: 2rem 5rem 5rem;
  }

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

  .bento-lg {
    grid-column: span 1;
  }

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

  .stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .zcard {
    flex-direction: column !important;
  }

  .zcard-img {
    width: 100%;
    min-height: 300px;
  }

  .zcard-body {
    width: 100%;
    padding: 3rem 2rem;
  }

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

  .impact-nums {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  nav {
    padding: 0 1.5rem;
    max-width: 100%;
    box-sizing: border-box;
    z-index: 200; /* Always above the menu overlay */
    background: rgba(8, 27, 14, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(82, 232, 122, 0.18);
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-width: 100%;
    background-color: #100a05;
    background-image: linear-gradient(160deg, #0d3513 0%, #0d2919 50%, #07170f 100%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 2rem 2rem;
    gap: 0;
    border-radius: 0;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    overflow: hidden;
    box-sizing: border-box;
    z-index: 190;
  }

  .nav-links::before {
    content: "";
    position: absolute;

    opacity: 0.5;
    pointer-events: none;
  }

  .nav-links::after {
    content: "";
    position: absolute;

    transform: translateX(-50%);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    list-style: none;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.05rem;
    letter-spacing: 0.2em;
    color: var(--cream);
    opacity: 0.85;
    transition:
      color 0.2s,
      background 0.2s,
      opacity 0.2s;
    text-decoration: none;
  }

  .nav-links a:hover {
    color: var(--honey);
    background: rgba(232, 173, 82, 0.06);
    opacity: 1;
  }

  .nav-cta {
    display: inline-block !important;
    width: auto !important;
    background: var(--gold) !important;
    color: var(--forest) !important;
    border-radius: 999px !important;
    margin-top: 1rem;
    padding: 1rem 2.5rem !important;
    font-size: 1rem !important;
    opacity: 1 !important;
  }

  .nav-cta:hover {
    background: var(--honey) !important;
    opacity: 1 !important;
  }

  .nav-links li:last-child {
    border: none;
  }

  .nav-close {
    display: flex;
    position: absolute;
    top: 1.4rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    background: rgba(107, 79, 48, 0.15);
    border: 1px solid rgba(107, 79, 48, 0.35);
    border-radius: 50%;
    color: var(--sand);
    cursor: pointer;
    transition:
      background 0.2s,
      color 0.2s,
      border-color 0.2s;
    z-index: 10;
  }

  .nav-close:hover {
    background: rgba(107, 79, 48, 0.3);
    border-color: rgba(200, 185, 154, 0.5);
    color: var(--cream);
  }

  .hamburger {
    display: flex;
  }

  .section,
  #hero,
  #stats,
  #parc,
  #missions,
  #impact,
  #structure,
  #contact {
    padding: 5rem 1.5rem;
    overflow: hidden;
  }

  #hero {
    padding: 0;
    overflow: hidden;
    max-width: 100%;
  }

  #stats {
    padding: 0;
    overflow: hidden;
    max-width: 100%;
  }

  .vision-hero,
  .missions-bento,
  #roadmap {
    padding: 5rem 1.5rem;
    overflow: hidden;
  }

  .contact-maps {
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
  }

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

  .rm-nav-container {
    margin-top: 2.5rem;
  }

  .rm-nav-item {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .rm-grid {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1.5rem;
    gap: 1.2rem;
    padding: 0 1.5rem 3rem;
  }

  .rm-card {
    min-width: calc(100vw - 4rem);
    max-width: calc(100vw - 4rem);
    width: calc(100vw - 4rem);
    scroll-snap-align: center;
  }

  .hero-left,
  .hero-right {
    padding: 5rem 1.5rem 3rem;
  }

  .hero-title {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-devize {
    font-size: 1.1rem;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
    padding: 0 0.5rem;
    max-width: 100%;
    overflow: hidden;
  }

  .stat-num {
    font-size: 2.8rem;
  }

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

  .zcard-body {
    padding: 2rem 1.5rem;
  }

  .impact-points {
    grid-template-columns: 1fr;
  }

  .rm-phase-num {
    font-size: 3rem;
  }

  .rm-card {
    padding: 2rem 1.5rem;
  }

  footer {
    padding: 3rem 1.5rem 1rem 1.5rem;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
    max-width: 100%;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .legal-card {
    padding: 2rem 1.2rem;
    max-width: 100%;
    border-radius: 8px;
  }

  .rm-wrapper {
    overflow-x: hidden;
  }

  .rm-grid {
    overflow-x: auto;
    overflow-y: hidden;
  }
}

/* Close button — mobile menu only */
@media (min-width: 701px) {
  .nav-close {
    display: none;
  }
}
.scroll-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(8, 27, 14, 0.6);
  color: var(--gold);
  border: 1px solid var(--gold);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--honey);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(198, 138, 42, 0.4);
}
