/* ============================================================
   BSR PROJECTS — RED SANDAL FARM LAND
   Premium digital presentation design system
   ============================================================ */

:root {
  --forest: #0B2A0A;
  --forest-2: #123B16;
  --navy: #071A2B;
  --gold: #C89B3C;
  --gold-light: #D9B65D;
  --cream: #F5F1E8;
  --ivory: #FBF8F1;
  --white: #FFFFFF;
  --brick: #6B170F;
  --ink: #101510;
  --charcoal: #0B0F0B;
  --line: rgba(245, 241, 232, 0.14);
  --line-dark: rgba(11, 42, 10, 0.14);
  --serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --serif-2: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Inter", system-ui, sans-serif;
  --num: "Inter", "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.35);
  --maxw: 1240px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

[id] { scroll-margin-top: 5rem; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--cream);
  background: var(--forest);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: var(--gold); color: var(--charcoal); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.heading-xl {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 5.6vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
}

.heading-md {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  margin-bottom: 0.7rem;
}

.heading-sm {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
}

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.75;
  color: rgba(245, 241, 232, 0.92);
  max-width: 56ch;
}

.body-muted {
  font-size: 0.95rem;
  line-height: 1.78;
  color: rgba(245, 241, 232, 0.66);
  max-width: 52ch;
}

.gold { color: var(--gold); }
.gold-dark { color: var(--gold); }
.micro-note {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.55);
  line-height: 1.7;
  margin-top: 0.9rem;
  font-family: var(--num);
}

.disclaimer {
  font-size: 0.82rem;
  line-height: 1.75;
  color: rgba(245, 241, 232, 0.5);
  max-width: 72ch;
  margin: 2.4rem auto 0;
  text-align: center;
  font-family: var(--num);
  letter-spacing: 0.01em;
}
.section-cream .disclaimer, .section-ivory .disclaimer { color: rgba(11, 42, 10, 0.6); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }

/* ---------- Layout helpers ---------- */
.section { padding: clamp(5rem, 10vw, 8.5rem) 0; position: relative; }
.section-cream { background: var(--cream); color: var(--ink); }
.section-cream .lead { color: rgba(16, 21, 16, 0.86); }
.section-cream .body-muted { color: rgba(16, 21, 16, 0.62); }
.section-ivory { background: var(--ivory); color: var(--ink); }
.section-ivory .lead { color: rgba(16, 21, 16, 0.86); }
.section-ivory .body-muted { color: rgba(16, 21, 16, 0.62); }
.section-dark { background: var(--charcoal); color: var(--cream); }
.section-forest { background: var(--forest); color: var(--cream); }
.section-forest .lead { color: rgba(245, 241, 232, 0.92); }
.section-dark .body-muted { color: rgba(245, 241, 232, 0.6); }
.section-navy { background: var(--navy); color: var(--cream); }
.section-navy .body-muted { color: rgba(229, 238, 245, 0.66); }

.section-head { margin-bottom: 3.4rem; }
.section-head.center { text-align: center; }
.section-head.center .lead, .section-head.center .body-muted { margin: 0 auto; }

.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.9rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: color 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 0.62rem 1.2rem; font-size: 0.72rem; }
.btn-block { width: 100%; }

.btn-gold { background: var(--gold); color: var(--charcoal); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(200, 155, 60, 0.55); }

.btn-gold-outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-gold-outline:hover { background: var(--gold); color: var(--charcoal); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(245, 241, 232, 0.35); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--forest); color: var(--gold); transform: translateY(-2px); }

.btn-ghost-dark { background: transparent; color: var(--ink); border-color: rgba(11, 42, 10, 0.4); }
.btn-ghost-dark:hover { border-color: var(--forest); color: var(--forest); transform: translateY(-2px); }

.btn-whatsapp { background: #128C4B; color: var(--white); }
.btn-whatsapp:hover { background: #17a558; transform: translateY(-2px); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  z-index: 120;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6, 18, 6, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.8);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.05rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
}
.brand-mark { width: 38px; height: 38px; color: var(--gold); flex: none; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--white);
}
.brand-text span {
  font-family: var(--num);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: var(--gold);
  margin-top: 0.32rem;
}

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  color: rgba(245, 241, 232, 0.85);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.site-nav a:hover { color: var(--gold); }
.site-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid rgba(245, 241, 232, 0.25);
  border-radius: 4px;
  cursor: pointer;
  padding: 0 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--cream);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: linear-gradient(160deg, var(--forest) 0%, var(--charcoal) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-18px);
  transition: opacity 0.45s var(--ease), visibility 0.45s, transform 0.45s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1.4rem; }
.mobile-menu nav a {
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--cream);
  text-decoration: none;
  opacity: 0.85;
  transition: color 0.3s, opacity 0.3s;
}
.mobile-menu nav a:hover { color: var(--gold); opacity: 1; }
.mobile-menu-footer { margin-top: 2.4rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 12% 10%, rgba(18, 59, 22, 0.55), transparent 55%),
    radial-gradient(100% 90% at 85% 90%, rgba(7, 26, 43, 0.55), transparent 60%),
    var(--charcoal);
}
.hero-atmos { position: absolute; inset: 0; z-index: 0; }
.hero-atmos-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.26;
  filter: blur(2px) saturate(0.9);
  transform: scale(1.1);
  animation: kenburns 26s var(--ease) infinite alternate;
}
@keyframes kenburns {
  0% { transform: scale(1.1) translate(0, 0); }
  100% { transform: scale(1.18) translate(-1.2%, 1.2%); }
}
.hero-atmos-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 16, 9, 0.92) 0%, rgba(7, 16, 9, 0.55) 55%, rgba(7, 16, 9, 0.35) 100%);
}
.hero-base {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 150px;
  background: linear-gradient(180deg, transparent, rgba(6, 16, 7, 0.85));
  z-index: 2;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 7rem 2rem 6rem;
}
.hero-copy { animation: heroIn 1.1s var(--ease) both; }
.hero-eyebrow {
  font-family: var(--num);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.8rem;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.04;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-title .gold { color: var(--gold); }
.hero-tag {
  font-family: var(--serif-2);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-style: italic;
  color: rgba(245, 241, 232, 0.92);
  margin-bottom: 2.6rem;
  max-width: 34ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* Hero framed card */
.hero-card {
  margin: 0;
  animation: heroIn 1.1s var(--ease) 0.15s both;
}
.hero-card-frame {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(200, 155, 60, 0.5);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(200, 155, 60, 0.22), rgba(245, 241, 232, 0.05) 40%, rgba(200, 155, 60, 0.12));
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(245, 241, 232, 0.06) inset;
}
.hero-card-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.hero-card-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(217, 182, 93, 0.55);
  background: rgba(7, 12, 7, 0.55);
  backdrop-filter: blur(6px);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}
.hero-card-caption {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 1.1rem;
  background: rgba(6, 14, 7, 0.68);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 155, 60, 0.35);
  border-radius: 10px;
}
.hero-card-caption-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}
.hero-card-caption-sub {
  font-family: var(--num);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.8);
}

.hero-scroll {
  position: absolute;
  left: 2rem;
  bottom: 2.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: rgba(245, 241, 232, 0.7);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: color 0.3s;
  z-index: 3;
}
.hero-scroll:hover { color: var(--gold); }
.hero-scroll-line {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: -40px; left: 0;
  width: 100%; height: 40px;
  background: rgba(245, 241, 232, 0.9);
  animation: drop 2.4s var(--ease) infinite;
}
@keyframes drop { 0% { top: -40px; } 100% { top: 52px; } }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--forest);
  border-top: 1px solid rgba(200, 155, 60, 0.25);
  border-bottom: 1px solid rgba(200, 155, 60, 0.25);
  padding: 3rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.trust-item {
  text-align: center;
  padding: 1.2rem 1rem;
  border-right: 1px solid rgba(245, 241, 232, 0.1);
}
.trust-item:last-child { border-right: none; }
.trust-num {
  display: block;
  font-family: var(--num);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.trust-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: rgba(245, 241, 232, 0.65);
}

/* ---------- Reality ---------- */
.reality-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: center;
}
.reality-copy { padding-right: 1rem; }
.reality-copy .lead { margin-bottom: 1.2rem; }
.reality-copy .body-muted { margin-bottom: 2.2rem; }
.reality-visual {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.reality-visual img {
  width: 100%;
  height: min(72vh, 760px);
  object-fit: cover;
  object-position: center;
}
.reality-visual figcaption,
.why-land figcaption,
.numbers figcaption,
.landprice figcaption,
.shares figcaption,
.company figcaption,
.track figcaption,
.redsandal figcaption,
.products figcaption,
.documents figcaption,
.opp figcaption,
.calc figcaption,
.phase24 figcaption {
  position: absolute;
  bottom: 0.6rem;
  left: 1.1rem;
  z-index: 3;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(7, 12, 7, 0.55);
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  font-family: var(--num);
}

/* ---------- Why land ---------- */
.why-land-photo {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin: 2rem 0 3.4rem;
}
.why-land-photo img {
  width: 100%;
  height: clamp(300px, 52vw, 560px);
  object-fit: cover;
  object-position: center;
}
.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-bottom: 4rem;
}
.why-card {
  position: relative;
  padding: 2.2rem 1.9rem;
  background: linear-gradient(165deg, rgba(18, 59, 22, 0.55), rgba(7, 26, 43, 0.55));
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s;
}
.why-card:hover { transform: translateY(-6px); border-color: rgba(200, 155, 60, 0.5); }
.card-index {
  font-family: var(--num);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--gold);
  display: block;
  margin-bottom: 1.6rem;
}
.why-card .body-muted { font-size: 0.92rem; }

.why-case {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2.6rem;
}
.why-case figure {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.why-case figure img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
}
.why-case-note .lead { color: var(--gold-light); margin-bottom: 1rem; }

/* ---------- Numbers / population ---------- */
.numbers-card {
  max-width: 1000px;
  margin: 0 auto 2.6rem;
}
.numbers-figure {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-dark);
}
.numbers-figure img {
  width: 100%;
  height: auto;
  display: block;
  background: #eae4d6;
}
.numbers-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-bottom: 1rem;
}
.numbers-strip figure {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.4);
}
.numbers-strip img { width: 100%; height: 300px; object-fit: cover; object-position: center; background: #eae4d6; }

/* ---------- Land price timeline ---------- */
.timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin: 3.4rem auto;
  max-width: 560px;
  text-align: center;
}
.timeline-node { position: relative; padding: 1.4rem 2.4rem; }
.timeline-year {
  display: block;
  font-family: var(--num);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.34em;
  color: rgba(245, 241, 232, 0.6);
  margin-bottom: 0.5rem;
}
.timeline-value {
  display: block;
  font-family: var(--num);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--cream);
  line-height: 1.1;
}
.timeline-value small {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(245, 241, 232, 0.6);
  margin-left: 0.4rem;
  font-family: var(--sans);
}
.timeline-arrow {
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}
.landprice-note { text-align: center; margin-bottom: 3rem; }
.landprice-note .lead {
  margin: 0 auto 0.8rem;
  color: var(--gold-light);
}
.landprice-note .body-muted { margin: 0 auto; }
.landprice-refs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}
.landprice-refs figure {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.landprice-refs img { width: 100%; height: 320px; object-fit: cover; object-position: center; }

/* ---------- Shares vs Land ---------- */
.compare-board {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.4rem;
  align-items: stretch;
  margin: 2.6rem 0;
}
.compare-col {
  background: #f0eadd;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 2.2rem 2rem;
}
.compare-col-gold {
  background: var(--forest);
  color: var(--cream);
}
.compare-title {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: 1.8rem;
}
.compare-col-gold .compare-title { color: var(--gold); }
.compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif-2);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--charcoal);
}
.compare-list { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; }
.compare-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed rgba(11, 42, 10, 0.18);
}
.compare-col-gold .compare-list li { border-bottom-color: rgba(245, 241, 232, 0.15); }
.comp-key {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.compare-col-gold .comp-key { color: var(--gold-light); }
.comp-val { font-size: 0.95rem; color: rgba(16, 21, 16, 0.78); }
.compare-col-gold .comp-val { color: rgba(245, 241, 232, 0.85); }

.shares-visual {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
  max-width: 980px;
  margin: 0 auto;
}
.shares-visual img { width: 100%; height: auto; background: #eae4d6; }

/* ---------- Company ---------- */
.company-board {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3.6rem;
}
.company-photo {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.company-photo img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
}
.company-copy .lead { margin-bottom: 1.9rem; }
.journey-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(200, 155, 60, 0.15));
  margin: 1.8rem 0 1.2rem;
}
.journey-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}
.jstat dt {
  font-family: var(--num);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  color: var(--gold);
  line-height: 1.1;
}
.jstat dd {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.62);
  margin-top: 0.3rem;
  font-family: var(--num);
}
.company-history {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.company-history img { width: 100%; height: auto; background: #0c2310; }

/* ---------- Track record ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.8rem;
}
.chip {
  padding: 0.55rem 1.25rem;
  font-family: var(--num);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(11, 42, 10, 0.28);
  border-radius: 999px;
  background: transparent;
  color: rgba(11, 42, 10, 0.7);
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.chip:hover { border-color: var(--forest); color: var(--forest); }
.chip.is-active { background: var(--forest); border-color: var(--forest); color: var(--gold-light); }

.phase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-bottom: 3.4rem;
}
.phase-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 2rem 1.8rem;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.5s;
}
.phase-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(200, 155, 60, 0.55); }
.phase-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--brick));
  opacity: 0;
  transition: opacity 0.4s;
}
.phase-card:hover::before { opacity: 1; }
.phase-index {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold);
  display: block;
  margin-bottom: 0.9rem;
}
.phase-name {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
  line-height: 1.2;
  text-transform: capitalize;
}
.phase-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-top: 1.3rem; }
.phase-loc { font-size: 0.8rem; color: rgba(16, 21, 16, 0.6); letter-spacing: 0.04em; }
.phase-acres {
  font-family: var(--num);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--forest);
  white-space: nowrap;
}
.phase-status {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid;
}
.phase-status.coming { color: var(--brick); border-color: rgba(107, 23, 15, 0.4); background: rgba(107, 23, 15, 0.06); }
.phase-status.done { color: var(--forest-2); border-color: rgba(18, 59, 22, 0.35); background: rgba(18, 59, 22, 0.06); }

.phase-card.is-hidden { display: none; }

.track-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin-bottom: 1rem;
}
.track-strip figure {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.track-strip img { width: 100%; height: 300px; object-fit: cover; object-position: center; }

.track-summary {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2.2rem 2.4rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(200, 155, 60, 0.28);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(11, 42, 10, 0.55), rgba(7, 26, 43, 0.45));
}
.track-summary .heading-md { margin-bottom: 0.4rem; }
.track-summary .body-muted { margin: 0; }
.track-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  text-align: center;
  border-left: 1px solid rgba(200, 155, 60, 0.35);
  padding-left: 2rem;
}
.track-facts li { display: flex; flex-direction: column; gap: 0.2rem; }
.track-facts strong {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--gold);
  font-weight: 600;
}
.track-facts span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Farm ---------- */
.farm {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.farm-bg { position: absolute; inset: -12% 0; z-index: 0; }
.farm-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}
.farm-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 18, 11, 0.72), rgba(7, 18, 11, 0.58) 50%, rgba(7, 18, 11, 0.85)),
    radial-gradient(90% 70% at 80% 20%, rgba(11, 42, 10, 0.22), transparent);
}
.farm-content { position: relative; z-index: 2; }
.farm-stages {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1.2rem;
  align-items: center;
  margin-top: 2.6rem;
}
.farm-stage {
  padding: 2.2rem 1.8rem;
  border: 1px solid rgba(245, 241, 232, 0.2);
  border-radius: 14px;
  background: rgba(7, 12, 7, 0.4);
  backdrop-filter: blur(6px);
  transition: border-color 0.4s, transform 0.5s var(--ease);
}
.farm-stage:hover { border-color: rgba(200, 155, 60, 0.6); transform: translateY(-4px); }
.stage-num {
  font-family: var(--num);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--gold);
  display: block;
  margin-bottom: 1.1rem;
}
.stage-arrow { font-size: 1.7rem; color: var(--gold); text-align: center; }

/* ---------- Red sandal ---------- */
.rs-pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  margin: 2.8rem 0 4rem;
}
.pillar {
  padding: 1.9rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(18, 59, 22, 0.28);
  transition: transform 0.5s var(--ease), border-color 0.5s;
}
.pillar:hover { transform: translateY(-5px); border-color: rgba(200, 155, 60, 0.55); }
.pillar-icon {
  display: block;
  width: 42px; height: 42px;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.pillar-icon svg { width: 100%; height: 100%; }
.pillar .body-muted { font-size: 0.85rem; }

.rs-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 1.4rem;
  margin-bottom: 4.4rem;
}
.rs-fig {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.rs-fig-wide { grid-column: span 1; }
.rs-fig img { width: 100%; height: 340px; object-fit: cover; object-position: center; }
.rs-fig img, .why-case figure img, .rs-gallery .rs-fig img, .products img, .doc-fig img, .shares-visual img {
  transition: transform 0.8s var(--ease);
}
.rs-fig:hover img, .products .p-item:hover img, .doc-card:hover .doc-fig img, .shares-visual:hover img, .why-case figure:hover img { transform: scale(1.045); }

.rs-quote {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2.4rem;
}
.rs-quote figure {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.rs-quote figure img { width: 100%; height: auto; }
.rs-quote .lead { font-family: var(--serif-2); font-size: clamp(1.25rem, 2vw, 1.6rem); font-style: italic; line-height: 1.6; color: rgba(245, 241, 232, 0.9); }
.quote-mark { font-size: 2.6rem; font-family: var(--serif); line-height: 0; display: inline-block; margin-right: 0.3rem; }

/* ---------- Products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}
.p-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #efe9db;
  cursor: zoom-in;
}
.p-item img { width: 100%; height: 260px; object-fit: cover; object-position: center; }
.p-item-wide { grid-column: span 2; }
.p-item-wide img { height: 300px; }
.p-item figcaption {
  position: absolute;
  bottom: 0.6rem;
  left: 0.9rem;
  right: 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(7, 12, 7, 0.55);
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  font-family: var(--num);
}
.p-item.is-hidden { display: none; }

/* ---------- Documents ---------- */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.4rem;
}
.doc-card {
  background: var(--white);
  border: 1px solid rgba(11, 42, 10, 0.14);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px -24px rgba(0, 0, 0, 0.35);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.doc-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.4); }
.doc-fig { position: relative; overflow: hidden; }
.doc-fig img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top center;
  background: #eae4d6;
}
.doc-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.doc-body .heading-sm { color: var(--ink); }
.doc-body .btn { align-self: flex-start; margin-top: auto; }
.doc-note { margin-bottom: 1rem; }
.doc-note .heading-sm { margin-bottom: 1.4rem; }

/* ---------- Opportunity ---------- */
.opp-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4.6rem;
}
.opp-figure {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(200, 155, 60, 0.35);
}
.opp-figure img { width: 100%; height: auto; }
.opp-number {
  font-family: var(--num);
  font-weight: 700;
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  line-height: 1;
  letter-spacing: 0.01em;
  margin-bottom: 0.1rem;
}
.opp-unit {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  color: rgba(245, 241, 232, 0.6);
  margin-bottom: 1.6rem;
}
.opp-copy .lead { margin-bottom: 1rem; }
.opp-copy .body-muted { margin-bottom: 2.2rem; }
.opp-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.opp-context {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.opp-context figure {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}
.opp-context figure img { width: 100%; max-height: 460px; object-fit: cover; object-position: center; }
.opp-context-copy .body-muted { margin-bottom: 1.8rem; }

/* ---------- Calculator ---------- */
.calc-board {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  align-items: stretch;
  margin-bottom: 3.4rem;
}
.calc-panel {
  background: rgba(11, 18, 30, 0.85);
  border: 1px solid rgba(122, 166, 200, 0.18);
  border-radius: 16px;
  padding: 2.4rem 2.2rem;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.1rem;
  margin: 1.8rem 0;
}
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(229, 238, 245, 0.7);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  background: rgba(245, 241, 232, 0.06);
  border: 1px solid rgba(245, 241, 232, 0.18);
  border-radius: 8px;
  color: var(--cream);
  font-family: var(--num);
  font-size: 1.05rem;
  transition: border-color 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field select option { background: var(--navy); color: var(--cream); }
.calc-result {
  text-align: center;
  padding: 1.6rem;
  border: 1px dashed rgba(200, 155, 60, 0.5);
  border-radius: 12px;
  margin-bottom: 1.2rem;
}
.calc-result-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(229, 238, 245, 0.6);
  margin-bottom: 0.5rem;
}
.calc-result-value { font-family: var(--num); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }

.calc-reference {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: rgba(11, 18, 30, 0.6);
  border: 1px solid rgba(122, 166, 200, 0.18);
  border-radius: 16px;
  padding: 1.8rem;
}
.calc-reference figure { overflow: hidden; border-radius: 10px; }
.calc-reference img { width: 100%; height: auto; }
.calc-reference figcaption {
  position: static;
  bottom: auto;
  left: auto;
  background: none;
  padding: 0;
  backdrop-filter: none;
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: rgba(229, 238, 245, 0.62);
  line-height: 1.6;
  text-transform: none;
  letter-spacing: 0.02em;
}
.calc-examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin-bottom: 1rem;
}
.calc-examples figure {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.calc-examples img { width: 100%; max-height: 420px; object-fit: cover; object-position: center; }

/* ---------- Income ---------- */
.income-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin: 2.6rem 0 1.4rem;
}
.income-card {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 2.4rem 2rem;
  transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.5s;
}
.income-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(200, 155, 60, 0.6); }
.income-icon {
  display: block;
  width: 52px; height: 52px;
  color: var(--forest);
  background: rgba(200, 155, 60, 0.14);
  border-radius: 50%;
  padding: 13px;
  margin-bottom: 1.6rem;
}
.income-icon svg { width: 100%; height: 100%; }
.income-card .heading-md { color: var(--ink); }
.income-card .body-muted { font-size: 0.92rem; }

/* ---------- Phase 24 ---------- */
.phase24 {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.phase24-bg { position: absolute; inset: 0; z-index: 0; }
.phase24-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.07);
}
.phase24-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 16, 7, 0.92), rgba(6, 16, 7, 0.6) 58%, rgba(6, 16, 7, 0.45)),
    linear-gradient(180deg, rgba(6, 16, 7, 0.4), transparent 40%);
}
.phase24-content {
  position: relative;
  z-index: 2;
  padding-top: 7rem;
  padding-bottom: 6rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.8rem;
}
.badge.coming {
  color: var(--gold-light);
  border: 1px solid rgba(217, 182, 93, 0.55);
  background: rgba(217, 182, 93, 0.1);
}
.phase24-acres {
  font-family: var(--num);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1.1rem;
  letter-spacing: 0.02em;
}
.phase24-head .lead { margin-bottom: 2.2rem; }
.phase24-poster {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(200, 155, 60, 0.4);
}
.phase24-poster img { width: 100%; height: auto; }

/* ---------- Final ---------- */
.final {
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(18, 59, 22, 0.5), transparent 60%),
    var(--charcoal);
  padding: clamp(6rem, 12vw, 9rem) 0;
  text-align: center;
}
.final .lead { margin: 0 auto 2.6rem; }
.final-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
  background: #050A05;
  color: rgba(245, 241, 232, 0.75);
  padding: 5rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
  gap: 2.6rem;
  margin-bottom: 3.6rem;
}
.footer-brand .brand { color: var(--cream); margin-bottom: 1rem; }
.footer-brand .body-muted { font-size: 0.85rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-heading {
  font-family: var(--num);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.footer-col a, .footer-link {
  color: rgba(245, 241, 232, 0.68);
  text-decoration: none;
  font-size: 0.92rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s;
}
.footer-col a:hover, .footer-link:hover { color: var(--gold); }
.footer-disclaimer {
  border-top: 1px solid rgba(245, 241, 232, 0.12);
  padding-top: 2rem;
  margin-bottom: 1.6rem;
}
.footer-disclaimer p {
  font-size: 0.74rem;
  line-height: 1.8;
  color: rgba(245, 241, 232, 0.45);
  max-width: 90ch;
  margin-bottom: 0.8rem;
  font-family: var(--num);
}
.footer-copy {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: rgba(245, 241, 232, 0.4);
  text-align: center;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #128C4B;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.5rem 0.7rem 0.85rem;
  cursor: pointer;
  box-shadow: 0 16px 40px -14px rgba(18, 140, 75, 0.7);
  transition: transform 0.4s var(--ease), background 0.4s;
}
.wa-float:hover { transform: translateY(-3px); background: #17a558; }
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Chapter rail ---------- */
.chapter-rail {
  position: fixed;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.rail-index {
  font-family: var(--num);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
}
.rail-label {
  font-family: var(--num);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.5);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}
.rail-count { font-family: var(--num); font-size: 0.6rem; color: rgba(245, 241, 232, 0.4); }
.rail-line {
  position: relative;
  width: 1px;
  height: 120px;
  background: rgba(245, 241, 232, 0.2);
  overflow: hidden;
}
.rail-line i {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 16%;
  background: var(--gold);
  transition: top 0.5s var(--ease);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 8, 4, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox-body {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  overflow: auto;
  border-radius: 10px;
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.9);
}
.lightbox-body img { width: auto; max-width: 100%; height: auto; display: block; background: #fff; }
.lightbox-close {
  position: fixed;
  top: 1.4rem;
  right: 1.6rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(245, 241, 232, 0.3);
  background: rgba(7, 12, 7, 0.6);
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 5;
  transition: border-color 0.3s, color 0.3s;
}
.lightbox-close:hover { border-color: var(--gold); color: var(--gold); }
.lightbox-caption {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(245, 241, 232, 0.6);
  max-width: 70ch;
  text-align: center;
}

/* ---------- Modal / Lead form ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 1.4rem; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 4, 0.78);
  backdrop-filter: blur(6px);
}
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--cream);
  color: var(--ink);
  border-radius: 16px;
  padding: 2.6rem 2.4rem 2.4rem;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.8);
  animation: modalIn 0.5s var(--ease);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(22px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(11, 42, 10, 0.25);
  background: transparent;
  color: var(--ink);
  font-size: 1.3rem;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}
.modal-close:hover { border-color: var(--brick); color: var(--brick); }
.modal-view .eyebrow { color: var(--forest); }
.modal-view .heading-md { color: var(--ink); }
.modal-sub { margin-bottom: 1.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
#lead-form { display: flex; flex-direction: column; gap: 1.05rem; }
#lead-form .field span { color: rgba(11, 42, 10, 0.66); }
#lead-form input, #lead-form select, #lead-form textarea {
  background: var(--white);
  border: 1px solid rgba(11, 42, 10, 0.22);
  color: var(--ink);
}
.form-error {
  background: rgba(107, 23, 15, 0.08);
  border: 1px solid rgba(107, 23, 15, 0.3);
  color: var(--brick);
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  font-size: 0.84rem;
}
.modal .micro-note { color: rgba(11, 42, 10, 0.5); }

#modal-success-view { text-align: center; padding: 1.6rem 0 0.6rem; }
.success-mark {
  display: block;
  width: 68px;
  height: 68px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold-light);
  font-size: 1.8rem;
  line-height: 68px;
  text-align: center;
}

/* ---------- Reveal animations ---------- */
.reveal, .reveal-img {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
.reveal-img { transform: translateY(26px) scale(0.99); }
.reveal.is-visible, .reveal-img.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.6rem; padding-top: 7rem; }
  .hero-card { max-width: 520px; }
  .rs-pillars { grid-template-columns: repeat(3, 1fr); }
  .phase-grid { grid-template-columns: repeat(2, 1fr); }
  .opp-board, .opp-context, .company-board, .calc-board { grid-template-columns: 1fr; gap: 2.4rem; }
  .company-photo img { height: 420px; }
  .phase24-content { grid-template-columns: 1fr; gap: 3rem; }
  .phase24-poster { max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(n+3) { border-top: 1px solid rgba(245, 241, 232, 0.1); padding-top: 2rem; }
  .reality-grid, .why-case, .numbers-strip, .landprice-refs, .track-strip,
  .calc-examples, .rs-quote { grid-template-columns: 1fr; }
  .track-summary { grid-template-columns: 1fr; }
  .track-facts { border-left: none; padding-left: 0; border-top: 1px solid rgba(200, 155, 60, 0.35); padding-top: 1.4rem; }
  .reality-copy { padding-right: 0; }
  .why-cards { grid-template-columns: 1fr; }
  .compare-board { grid-template-columns: 1fr; }
  .compare-vs { font-size: 1.2rem; padding: 0.6rem 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-grid { grid-template-columns: 1fr 1fr; }
  .income-grid { grid-template-columns: 1fr; }
  .farm-stages { grid-template-columns: 1fr; }
  .stage-arrow { transform: rotate(90deg); }
  .journey-stats { grid-template-columns: repeat(2, 1fr); }
  .chapter-rail { display: none; }
  .rs-gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 1.25rem; }
  .header-inner { padding: 0.85rem 1.25rem; }
  .brand-text strong { font-size: 1.15rem; }
  .header-actions .btn { display: none; }
  .hero-title { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .hero-grid { padding: 6rem 1.25rem 5rem; }
  .hero-card { max-width: none; }
  .hero-scroll { left: 1.25rem; bottom: 1.6rem; }
  .hero-scroll-text { display: none; }
  .heading-xl { font-size: clamp(2rem, 9vw, 2.9rem); }
  .phase-grid, .product-grid, .doc-grid, .calc-grid, .form-row,
  .rs-pillars, .rs-gallery { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .numbers-figure img, .shares-visual img, .rs-fig img, .p-item img, .calc-examples img { height: auto; }
  .product-grid .p-item img { height: 240px; }
  .p-item-wide { grid-column: span 1; }
  .trust-bar { padding: 2.4rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float { padding: 0.72rem 0.9rem; }
  .wa-float-label { display: none; }
  .wa-float svg { width: 28px; height: 28px; }
  .modal { padding: 0.9rem; }
  .modal-panel { padding: 2rem 1.4rem 1.6rem; }
  .lightbox { padding: 3.4rem 0.8rem 1.4rem; }
  .reality-visual img { height: auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .reveal, .reveal-img { opacity: 1; transform: none; }
  .hero-atmos-img, .farm-bg-img, .phase24-bg-img { animation: none; transform: none; }
}