/* TerraVentures — design tokens */
:root {
  --ink: #1B2418;          /* deep forest near-black */
  --forest: #2C3F2A;       /* primary forest green */
  --moss: #5C7A52;         /* moss accent */
  --leaf: #93B17A;         /* light leaf — matches logo */
  --leaf-dim: #A8C290;
  --ochre: #A67C2E;        /* warm earth */
  --ochre-l: #C49653;
  --sand: #D8CCBA;
  --bone: #EFEAE0;         /* warm cream */
  --paper: #F6F2E9;        /* page background */
  --paper-2: #FBF8F1;
  --line: #E4DECF;
  --text: #2A2E25;
  --text-mute: #6E6E63;
  --whatsapp: #25D366;

  --ff-display: "Cardo", "EB Garamond", "Garamond", "Georgia", serif;
  --ff-grand:   "Italiana", "Cardo", "Garamond", serif;
  --ff-body:    "Manrope", "Helvetica Neue", system-ui, sans-serif;
  --ff-mono:    "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(.4,0,.15,1);
  --ease-out: cubic-bezier(.16,.84,.32,1);

  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-weight: 300;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--leaf); color: var(--ink); }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* tweak-driven italic */
.display em, .hero__h1 em, .timeline__year em { font-style: var(--em-style, italic); }

/* paper grain */
body::before{
  content:"";
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: var(--grain-opacity, .035);
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyNDAnIGhlaWdodD0nMjQwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nLjg1JyBudW1PY3RhdmVzPScyJyBzZWVkPSczJy8+PGZlQ29sb3JNYXRyaXggdmFsdWVzPScwIDAgMCAwIC4xICAwIDAgMCAwIC4xICAwIDAgMCAwIC4xICAwIDAgMCAuNiAwJy8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9JzEwMCUnIGhlaWdodD0nMTAwJScgZmlsdGVyPSd1cmwoI24pJy8+PC9zdmc+");
  mix-blend-mode: multiply;
  transition: opacity .3s var(--ease);
}

/* -------- Type system -------- */
.eyebrow{
  font-family: var(--ff-mono);
  font-size: 11px; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--moss);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before{
  content:""; width: 22px; height: 1px; background: currentColor;
  display: inline-block;
}
.display{
  font-family: var(--ff-display);
  font-weight: 400; line-height: 1.04;
  letter-spacing: -.012em;
  color: var(--ink);
}
.display em{ font-style: italic; font-weight: 400; color: var(--moss); }
.display.grand{ font-family: var(--ff-grand); font-weight: 400; letter-spacing: .01em; line-height: 1; }
.display.grand em{ font-family: var(--ff-display); font-style: italic; }
.d-xl{ font-size: calc(clamp(54px, 9.2vw, 148px) * var(--display-scale, 1)); }
.d-l { font-size: calc(clamp(44px, 6.2vw, 96px)  * var(--display-scale, 1)); }
.d-m { font-size: calc(clamp(34px, 4.4vw, 64px)  * var(--display-scale, 1)); }
.d-s { font-size: calc(clamp(26px, 3vw, 40px)    * var(--display-scale, 1)); }

.lead{
  font-family: var(--ff-body);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.65;
  font-weight: 300;
  color: var(--text);
  max-width: 56ch;
  letter-spacing: -.005em;
}
.body{
  font-family: var(--ff-body);
  font-size: 15.5px; line-height: 1.75; font-weight: 300;
  color: var(--text);
  max-width: 62ch;
  letter-spacing: -.003em;
}
.body strong{ font-weight: 600; color: var(--ink); }
.small{
  font-family: var(--ff-mono);
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-mute);
}

/* -------- Layout -------- */
.wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section{ padding: clamp(80px, 11vw, 160px) 0; }
.section--tight{ padding: clamp(56px, 8vw, 110px) 0; }
.section--ink{ background: var(--ink); color: var(--bone); }
.section--ink .display{ color: var(--bone); }
.section--ink .body, .section--ink .lead{ color: rgba(239, 234, 224, .78); }
.section--ink .eyebrow{ color: var(--leaf); }
.section--ink .small{ color: rgba(239, 234, 224, .55); }
.section--forest{ background: var(--forest); color: var(--bone); }
.section--forest .display{ color: var(--bone); }
.section--forest .display em{ color: var(--leaf); }
.section--forest .body, .section--forest .lead{ color: rgba(239, 234, 224, .82); }
.section--forest .eyebrow{ color: var(--leaf); }
.section--bone{ background: var(--bone); }
.section--paper2{ background: var(--paper-2); }

.grid{ display: grid; gap: 32px; }
.g-2{ grid-template-columns: repeat(2, 1fr); }
.g-3{ grid-template-columns: repeat(3, 1fr); }
.g-4{ grid-template-columns: repeat(4, 1fr); }
.g-6{ grid-template-columns: repeat(6, 1fr); }
@media (max-width: 980px){
  .g-2, .g-3, .g-4, .g-6 { grid-template-columns: 1fr; }
  .g-md-2{ grid-template-columns: repeat(2, 1fr); }
}

.row{ display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.divider{ width: 56px; height: 1px; background: var(--moss); }
.rule{ height: 1px; background: var(--line); width: 100%; }

/* -------- Buttons -------- */
.btn{
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ff-mono); font-size: 11.5px;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 16px 28px;
  border: 1px solid transparent;
  transition: all .35s var(--ease);
  white-space: nowrap; cursor: pointer;
  position: relative; isolation: isolate;
}
.btn::after{
  content:""; width: 14px; height: 1px; background: currentColor;
  transition: width .35s var(--ease);
}
.btn:hover::after{ width: 22px; }
.btn--solid{ background: var(--ink); color: var(--bone); }
.btn--solid:hover{ background: var(--forest); }
.btn--ochre{ background: var(--ochre); color: #fff; }
.btn--ochre:hover{ background: var(--ochre-l); }
.btn--ghost{ border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover{ background: var(--ink); color: var(--bone); }
.btn--ghost-l{ border-color: rgba(239,234,224,.4); color: var(--bone); }
.btn--ghost-l:hover{ background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn--wa{ background: var(--whatsapp); color: #fff; }
.btn--wa:hover{ background: #1fb858; }
.btn--link{
  padding: 0; background: none; border: 0;
  color: var(--ink); letter-spacing: .14em;
}
.btn--link::after{ background: var(--ink); }

/* -------- NAV -------- */
.nav{
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 90;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
  /* pre-scroll: semi-transparent dark band so white nav text stays legible on any hero */
  background: rgba(15, 21, 12, .34);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.nav.is-light{ background: rgba(246, 242, 233, .88); backdrop-filter: blur(14px); border-color: var(--line); padding: 12px var(--gutter); }
/* Slightly more opaque dark band on the project pages (TH1/TH2) for nav legibility over the bright heroes */
.nav.nav--proj{ background: rgba(15, 21, 12, .52); }
.nav.is-over-dark{ color: var(--bone); }
.nav__logo{ display: flex; align-items: center; gap: 10px; cursor: pointer; }
.nav__logo img{ height: 36px; width: auto; }
.nav.is-light .nav__logo img{ filter: none; }
.nav__links{ display: flex; gap: 4px; align-items: center; }
.nav__a{
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 8px 14px;
  opacity: .72;
  transition: opacity .3s var(--ease), color .3s var(--ease);
  position: relative;
}
.nav__a:hover{ opacity: 1; }
.nav__a--on{ opacity: 1; color: var(--moss); }
.nav.is-over-dark .nav__a--on{ color: var(--leaf); }

/* Featured Projects dropdown */
.nav__group{ position: relative; display: inline-flex; }
.nav__group > .nav__a{ display: inline-flex; align-items: center; gap: 6px; }
.nav__caret{ transition: transform .3s var(--ease); }
.nav__group:hover .nav__caret{ transform: rotate(180deg); }
.nav__dropdown{
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: rgba(246, 242, 233, .98);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 16px 40px rgba(27, 36, 24, .18);
  padding: 8px; margin-top: 8px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  z-index: 95;
}
.nav__group:hover .nav__dropdown{ opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear 0s; }
.nav__drop-a{
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); opacity: .8; text-align: left;
  padding: 11px 14px; border-radius: 3px;
  transition: background .2s var(--ease), opacity .2s var(--ease), color .2s var(--ease);
}
.nav__drop-a:hover{ background: rgba(44, 63, 42, .08); opacity: 1; }
.nav__drop-a--on{ opacity: 1; color: var(--moss); background: rgba(44, 63, 42, .06); }
.nav__cta{ margin-left: 12px; }
.nav__burger{ display:none; }
@media(max-width: 1100px){
  .nav__links{ display:none; }
  .nav__cta{ display:none; }
  .nav__burger{ display:flex; flex-direction:column; gap:5px; padding: 8px; }
  .nav__burger span{ display:block; width:22px; height:1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .3s var(--ease); }
  .nav__burger.is-open span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
  .nav__burger.is-open span:nth-child(2){ opacity:0; }
  .nav__burger.is-open span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }
}
.mobile-menu{
  position: fixed; inset: 0; z-index: 89;
  background: var(--ink); color: var(--bone);
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: center; padding: 90px var(--gutter) 40px;
  gap: 14px;
  overflow: hidden;
  visibility: hidden;
  transform: translateY(-100%);
  transition: transform .5s var(--ease), visibility 0s linear .5s;
}
.mobile-menu.is-open{ transform: translateY(0); visibility: visible; transition: transform .5s var(--ease), visibility 0s linear 0s; }
.mobile-menu > button{
  font-family: var(--ff-display);
  font-size: clamp(28px, 5.4vw, 44px); font-weight: 300;
  color: var(--bone); text-align: left;
  line-height: 1.05;
}
.mobile-menu > button.on{ color: var(--leaf); font-style: italic; }

/* -------- Image slot (striped placeholders) -------- */
.imgslot{
  position: relative; width: 100%; aspect-ratio: 4/3;
  background:
    repeating-linear-gradient(135deg,
      rgba(44,63,42,.06) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, var(--bone), #e8e1d0);
  overflow: hidden;
  border: 1px solid var(--line);
}

/* -------- Scene (painted SVG illustrations) -------- */
.scene{
  position: relative; width: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--bone);
  border: 1px solid var(--line);
}
.scene__art{ position: absolute; inset: 0; }
.scene__art svg{ width: 100%; height: 100%; display: block; }
.scene__cap{
  position: absolute; left: 14px; bottom: 12px;
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.78);
  padding: 6px 10px;
  background: rgba(27,36,24,.45);
  backdrop-filter: blur(6px);
  border: .5px solid rgba(255,255,255,.16);
  border-radius: 2px;
  z-index: 2;
}
.imgslot::after{
  content: attr(data-label);
  position: absolute; inset: auto 16px 14px 16px;
  font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-mute);
  display: flex; justify-content: space-between; align-items: end;
}
.imgslot::before{
  content: "△"; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -60%);
  font-size: 28px; color: rgba(44,63,42,.18); font-family: var(--ff-display);
}
.imgslot--dark{
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,.04) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, #2a3a28, #1c2519);
}
.imgslot--dark::after{ color: rgba(239, 234, 224, .55); }
.imgslot--dark::before{ color: rgba(255,255,255,.12); }
.imgslot--tall{ aspect-ratio: 3/4; }
.imgslot--wide{ aspect-ratio: 16/9; }
.imgslot--sq{ aspect-ratio: 1/1; }
.imgslot--hero{ aspect-ratio: auto; height: 100%; }

/* -------- Reveal on scroll -------- */
.rv{ opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.rv.is-on{ opacity: 1; transform: none; }
.rv-1{ transition-delay: .08s; }
.rv-2{ transition-delay: .16s; }
.rv-3{ transition-delay: .24s; }
.rv-4{ transition-delay: .32s; }

/* page swap */
.page{ animation: pagein .55s var(--ease-out) both; }
@keyframes pagein{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: none; }
}

/* -------- Hero (premium) -------- */
.hero{
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  color: var(--bone);
  background: var(--ink);
  padding-top: clamp(96px, 13vh, 132px);   /* clear the fixed nav */
  padding-bottom: clamp(64px, 9vw, 120px);
}
.hero-parallax{ position: absolute; inset: 0; will-change: transform; }
.hero__layer{
  position: absolute; inset: -8%;
  transition: transform .8s cubic-bezier(.16,.84,.32,1);
  will-change: transform;
}
.hero__layer .scene{ width: 100%; height: 100%; border: 0; }
.hero__vignette{
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,14,9,.5) 0%, rgba(10,14,9,0) 20%),
    linear-gradient(180deg, transparent 52%, rgba(15,21,12,.5) 100%);
}
.hero--premium .hero__bg, .hero--premium .hero__hill{ display: none; }
.hero__c{ position: relative; z-index: 2; width: 100%; }
.hero__meta{
  display: flex; justify-content: space-between; align-items: end;
  gap: 24px;
  margin-bottom: 36px;
}
.hero__h1{
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: calc(clamp(44px, 6.2vw, 96px) * var(--display-scale, 1));
  line-height: 1.04; letter-spacing: -.012em;
  color: var(--bone);
  max-width: 20ch;
}
.hero__h1 em{ font-family: var(--ff-display); font-style: italic; font-weight: 400; }
.hero__sub-row{
  display: grid; grid-template-columns: 1fr 1px auto;
  gap: 28px; align-items: center;
  margin-top: 32px;
  max-width: 920px;
}
.hero__sub{
  font-family: var(--ff-display);
  font-style: italic; font-weight: 400;
  font-size: clamp(17px, 1.5vw, 22px);
  color: rgba(239, 234, 224, .8);
}
.hero__line{ width: 1px; height: 36px; background: rgba(239,234,224,.18); }
.hero__corner-stat{ text-align: right; }
.hero__cta{ display: flex; gap: 14px; margin-top: 44px; flex-wrap: wrap; }
.hero__scroll{
  position: absolute; left: var(--gutter); bottom: 28px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(239, 234, 224, .55);
}
.hero__scroll .bar{
  width: 1px; height: 36px; background: rgba(239, 234, 224, .35);
  position: relative; overflow: hidden;
}
.hero__scroll .bar::after{
  content:""; position: absolute; top: -50%; left: 0; right: 0; height: 50%;
  background: var(--leaf);
  animation: scrolltick 2.2s var(--ease-out) infinite;
}
.hero__num{
  position: absolute; right: var(--gutter); bottom: 28px; z-index: 2;
  font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .22em;
  color: rgba(239, 234, 224, .55);
}
@media(max-width: 700px){
  .hero__sub-row{ grid-template-columns: 1fr; gap: 16px; }
  .hero__line, .hero__corner-stat{ display: none; }
}
/* Short / landscape viewports — shrink the headline so it never overlaps the nav */
@media(max-height: 860px){
  .hero__h1{ font-size: calc(clamp(40px, 6.6vw, 96px) * var(--display-scale, 1)); }
  .hero__meta{ margin-bottom: 22px; }
  .hero__sub-row{ margin-top: 22px; }
  .hero__cta{ margin-top: 30px; }
  .hero{ padding-bottom: clamp(52px, 7vw, 88px); }
}
@media(max-height: 680px){
  .hero__h1{ font-size: calc(clamp(32px, 5.4vw, 72px) * var(--display-scale, 1)); line-height: 1; }
  .hero__cta{ margin-top: 22px; }
  .hero__scroll{ display: none; }
}
@keyframes scrolltick{ 0%{ top:-50%; } 100%{ top: 100%; } }
.hero__corner{
  display: none;
}
/* Mobile only: lift home hero content up a little.
   Placed after the max-height rules above so the home hero padding-bottom override wins on phones. */
@media(max-width: 700px){
  .hero{ padding-bottom: clamp(96px, 22vw, 150px); }
}

/* -------- Numbers band -------- */
.numbers{
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.numbers__cell{
  padding: 36px 24px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}
.numbers__cell:last-child{ border-right: 0; }
.numbers__n{
  font-family: var(--ff-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400; line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.numbers__l{ font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mute); }
@media(max-width: 720px){ .numbers{ grid-template-columns: repeat(2, 1fr); } .numbers__cell:nth-child(2){ border-right: 0; } .numbers__cell:nth-child(-n+2){ border-bottom: 1px solid var(--line); } }

/* -------- Connect cards -------- */
.connect-card{
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.connect-card:hover{ border-color: var(--moss); transform: translateY(-4px); }
.connect-card__n{
  font-family: var(--ff-display); font-size: clamp(32px, 3.6vw, 44px); font-weight: 400;
  color: var(--ink); line-height: 1.1;
  min-height: 2.2em; /* reserve 2 lines so single-line headlines match the wrapping one */
}
@media(max-width: 980px){ .connect-card__n{ min-height: 0; } }
.connect-card__l{ font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mute); margin-top: 12px; }

/* Connectivity section with side map */
.conmap{ display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
@media(max-width: 900px){ .conmap{ grid-template-columns: 1fr; } }

/* Testimonial carousel arrows */
.tcar-arrow{ width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.tcar-arrow:hover{ background: var(--ink); color: var(--bone); border-color: var(--ink); }

/* Getting There — bulleted transport lists */
.reach-list{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.reach-list li{ position: relative; padding-left: 18px; font-family: var(--ff-body); font-size: 14px; line-height: 1.55; font-weight: 300; color: var(--text-mute); }
.reach-list li::before{ content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 999px; background: var(--moss); }

/* -------- Lifestyle cards (with scene) -------- */
.ls-card{
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
  transition: border-color .35s var(--ease);
}
.ls-card:hover{ border-color: var(--moss); }
.ls-card:hover .scene__art svg{ transform: scale(1.04); }
.ls-card .scene{ border: 0; border-bottom: 1px solid var(--line); }
.ls-card .scene__art svg{ transition: transform .9s var(--ease-out); }
.ls-card__body{
  display: grid; grid-template-columns: 60px 1fr;
  padding: 28px;
  gap: 20px;
  align-items: start;
}
.ls-card__n{ font-family: var(--ff-mono); font-size: 12px; letter-spacing: .15em; color: var(--moss); padding-top: 4px; }
.ls-card__t{ font-family: var(--ff-display); font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; color: var(--ink); }
.ls-card__d{ font-family: var(--ff-body); font-size: 14.5px; line-height: 1.65; color: var(--text-mute); margin-top: 6px; }

/* -------- Marquee -------- */
.marquee{
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 26px 0;
  background: var(--paper-2);
}
.marquee__track{
  display: flex; gap: 80px; white-space: nowrap;
  animation: marq var(--marq-duration, 12s) linear infinite;
  font-family: var(--ff-display); font-style: italic; font-weight: 300;
  font-size: clamp(28px, 4vw, 56px); color: var(--moss);
}
.marquee__track span{ display: inline-flex; align-items: center; gap: 80px; }
.marquee__track .dot{ width: 8px; height: 8px; border-radius: 999px; background: var(--ochre); display: inline-block; }
@keyframes marq{ to{ transform: translateX(-50%); } }

/* -------- Cards -------- */
.card{
  background: var(--paper-2);
  padding: 36px 30px;
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), border-color .35s var(--ease), background .45s var(--ease);
  position: relative;
}
.card:hover{ transform: translateY(-4px); border-color: var(--moss); }
.card--ink{ background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); }
.card--ink:hover{ background: rgba(255,255,255,.07); border-color: var(--leaf); }
.card__n{
  font-family: var(--ff-display); font-size: 56px; font-weight: 300;
  line-height: 1; color: var(--moss);
}
.card--ink .card__n{ color: var(--leaf); }
.card__t{
  font-family: var(--ff-display); font-size: 26px; font-weight: 400;
  margin-top: 18px; color: var(--ink);
}
.card--ink .card__t{ color: var(--bone); }
.card__d{
  font-family: var(--ff-body); font-size: 14px; line-height: 1.65; font-weight: 300;
  color: var(--text-mute);
  margin-top: 10px;
}
.card--ink .card__d{ color: rgba(239, 234, 224, .68); }

/* -------- Badge / chip -------- */
.chip{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-mute);
  transition: all .3s var(--ease);
}
.chip:hover{ border-color: var(--moss); color: var(--ink); }
.chip__dot{ width: 5px; height: 5px; border-radius: 999px; background: var(--leaf); display: inline-block; }
.chip--solid{ background: var(--ink); color: var(--bone); border-color: var(--ink); }
.chip--status{ background: var(--ochre); border-color: var(--ochre); color: #fff; }
/* Animated scroll cue for full-height heroes */
@keyframes scrollcue{ 0%,100%{ transform: translateY(0); opacity:.5 } 50%{ transform: translateY(6px); opacity:1 } }
.scroll-cue{ position:absolute; left:50%; bottom:24px; transform:translateX(-50%); z-index:2; display:flex; flex-direction:column; align-items:center; gap:8px; font-family:var(--ff-mono); font-size:9.5px; letter-spacing:.22em; text-transform:uppercase; color:var(--bone); text-shadow:0 1px 6px rgba(0,0,0,.45); pointer-events:none; }
.scroll-cue .ln{ width:1px; height:34px; background:var(--bone); box-shadow:0 1px 6px rgba(0,0,0,.45); animation:scrollcue 1.8s var(--ease) infinite; }
@media (max-width: 720px){ .scroll-cue{ display:none } }
/* Respect users who prefer reduced motion — neutralise animations, transitions and the scroll cue */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .scroll-cue .ln{ animation: none !important; }
}

/* -------- Floating WhatsApp -------- */
.fab{
  position: fixed; right: 22px; bottom: 92px; z-index: 78;
  width: 50px; height: 50px; border-radius: 999px;
  background: var(--whatsapp); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px rgba(37, 211, 102, .35);
  transition: transform .35s var(--ease);
}
.fab:hover{ transform: translateY(-3px) scale(1.04); }
.fab svg{ width: 22px; height: 22px; }
@media(max-width: 720px){ .fab{ display: none; } }

/* -------- Stat -------- */
.stat{ display: flex; flex-direction: column; gap: 8px; padding: 8px 0; }
.stat__n{ font-family: var(--ff-display); font-size: clamp(40px, 5vw, 72px); font-weight: 300; color: var(--ink); line-height: 1; }
.section--ink .stat__n, .section--forest .stat__n{ color: var(--bone); }
.stat__l{ font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mute); }
.section--ink .stat__l, .section--forest .stat__l{ color: rgba(239,234,224,.6); }

/* -------- Footer -------- */
.footer{
  background: var(--ink); color: var(--bone);
  padding: 80px var(--gutter) 28px;
}
.footer__top{ display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; max-width: var(--maxw); margin: 0 auto; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,.08); }
@media(max-width: 880px){ .footer__top{ grid-template-columns: 1fr 1fr; } }
@media(max-width: 520px){ .footer__top{ grid-template-columns: 1fr; } }
.footer__bottom{
  max-width: var(--maxw); margin: 0 auto;
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(239,234,224,.5);
  flex-wrap: wrap; gap: 16px;
}
.footer h4{ font-family: var(--ff-mono); font-size: 10.5px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--leaf); margin-bottom: 22px; }
.footer ul{ list-style: none; display:flex; flex-direction:column; gap: 10px; }
.footer a{ font-family: var(--ff-body); font-size: 14px; font-weight: 300; color: rgba(239,234,224,.72); transition: color .3s var(--ease); }
.footer a:hover{ color: var(--leaf); }
.footer__logo{ height: 64px; margin-bottom: 22px; filter: brightness(1.05); }
.footer__about{ font-family: var(--ff-body); font-size: 14px; line-height: 1.75; color: rgba(239,234,224,.7); max-width: 36ch; }

/* -------- Forms -------- */
.field{ display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label{ font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mute); }
.field input, .field select, .field textarea{
  font-family: var(--ff-body); font-size: 15px; font-weight: 300;
  border: 0; border-bottom: 1px solid var(--line);
  padding: 12px 0; background: transparent; color: var(--ink);
  transition: border-color .3s var(--ease);
  width: 100%;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--moss); }
.field textarea{ resize: vertical; min-height: 110px; }

/* -------- Booking modal -------- */
.modal{
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20, 27, 18, .55);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease);
}
.modal.is-open{ opacity: 1; pointer-events: auto; }
.modal__inner{
  background: var(--paper-2);
  width: 100%; max-width: 920px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  transform: translateY(20px); transition: transform .45s var(--ease);
  position: relative;
  max-height: 92vh; overflow: auto;
}
.modal.is-open .modal__inner{ transform: none; }
.modal__art{
  background: var(--ink); color: var(--bone);
  padding: 48px 36px; position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 540px;
  background-image:
    radial-gradient(ellipse at 30% 20%, rgba(147,177,122,.15), transparent 50%),
    linear-gradient(180deg, #243322, #131a11);
}
.modal__form{ padding: 48px 40px; }
.modal__close{
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06); color: var(--bone);
  font-family: var(--ff-mono); font-size: 12px;
  transition: background .3s var(--ease);
}
.modal__close:hover{ background: rgba(255,255,255,.16); }
@media(max-width: 760px){ .modal__inner{ grid-template-columns: 1fr; } .modal__art{ min-height: 200px; padding: 28px; } }

/* -------- Plot Explorer -------- */
.plotmap{
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: clamp(20px, 3vw, 36px);
  display: grid; grid-template-columns: 1fr 320px; gap: 36px;
  align-items: stretch;
}
@media(max-width: 900px){ .plotmap{ grid-template-columns: 1fr; } }
.plotmap__canvas{
  position: relative; aspect-ratio: 16/10;
  background:
    radial-gradient(circle at 60% 35%, rgba(147,177,122,.18), transparent 55%),
    radial-gradient(circle at 25% 75%, rgba(166,124,46,.1), transparent 50%),
    linear-gradient(160deg, #e9e1cf 0%, #d9d2bd 100%);
  overflow: hidden;
  border: 1px solid var(--line);
}
.plotmap__canvas svg{ position: absolute; inset: 0; width: 100%; height: 100%; }
.plotmap__legend{
  display: flex; flex-direction: column; gap: 18px;
  font-family: var(--ff-body); font-size: 14px;
}
.plotmap__legend h5{ font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mute); font-weight: 400; }
.plotmap__sel{
  border: 1px solid var(--moss);
  padding: 16px 18px;
  background: #fff;
}
.plotmap__sel h3{ font-family: var(--ff-display); font-size: 28px; font-weight: 400; color: var(--ink); }
.plotmap__sel .meta{ display: flex; gap: 14px; margin-top: 8px; font-family: var(--ff-mono); font-size: 11px; color: var(--text-mute); letter-spacing: .12em; text-transform: uppercase; }
.legend-item{ display:flex; align-items:center; gap: 10px; font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); }
.legend-sw{ width: 16px; height: 16px; border-radius: 4px; border: 1px solid rgba(0,0,0,.06); }

/* -------- Process timeline -------- */
.timeline{ position: relative; }
.timeline__row{
  display: grid; grid-template-columns: 110px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.timeline__row:last-child{ border-bottom: 1px solid var(--line); }
.timeline__year{
  font-family: var(--ff-display); font-size: clamp(28px, 3.4vw, 44px); font-weight: 400;
  color: var(--moss); line-height: 1;
}
.timeline__year em{ font-style: italic; }
.timeline__txt{ font-family: var(--ff-body); font-size: 16px; line-height: 1.6; color: var(--text); font-weight: 300; max-width: 60ch; }
.timeline__row.is-now .timeline__year{ color: var(--ochre); }
.timeline__row.is-now .timeline__txt{ color: var(--ink); font-weight: 400; }

/* -------- Testimonials -------- */
.quote{
  font-family: var(--ff-display); font-style: italic; font-weight: 300;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.25;
  color: var(--ink);
}
.section--ink .quote, .section--forest .quote{ color: var(--bone); }
.quote::before{ content: "“"; font-family: var(--ff-display); font-size: 1.6em; line-height: 0; color: var(--ochre); margin-right: .1em; vertical-align: -.18em; }
.quote::after{ content: "”"; font-family: var(--ff-display); font-size: 1.6em; line-height: 0; color: var(--ochre); margin-left: .04em; vertical-align: -.18em; }

/* -------- Numbered list -------- */
.numlist{ list-style: none; display: flex; flex-direction: column; }
.numlist li{
  display: grid; grid-template-columns: 56px 1fr;
  gap: 24px; padding: 22px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.numlist li:last-child{ border-bottom: 1px solid var(--line); }
.numlist .n{ font-family: var(--ff-mono); font-size: 12px; color: var(--moss); letter-spacing: .14em; }
.numlist .t{ font-family: var(--ff-body); font-size: 16px; font-weight: 300; line-height: 1.65; color: var(--ink); }
.numlist .t b{ font-weight: 500; }

/* -------- Form validation -------- */
.field--error label { color: #b03a2e; }
.field--error input, .field--error select, .field--error textarea { border-bottom-color: #b03a2e !important; }
.field__err { display: block; color: #b03a2e; font-family: var(--ff-mono); font-size: 10px; letter-spacing: .06em; margin-top: 5px; }

/* utility */
.text-center{ text-align: center; }
.mt-s{ margin-top: 14px; }
.mt-m{ margin-top: 28px; }
.mt-l{ margin-top: 52px; }
.mt-xl{ margin-top: 88px; }
.mb-m{ margin-bottom: 28px; }
.flex{ display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.between{ display:flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.cluster{ display: flex; flex-wrap: wrap; gap: 8px; }

/* -------- Scroll progress -------- */
.scroll-prog{
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: var(--ochre);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 95;
  transition: transform .12s linear;
}

/* -------- Sticky bottom CTA -------- */
.sticky-cta{
  position: fixed; left: 50%; bottom: 22px;
  transform: translate(-50%, 24px);
  opacity: 0; pointer-events: none;
  z-index: 75;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  width: min(580px, calc(100% - 32px));
}
.sticky-cta.is-on{ opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.sticky-cta__inner{
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 14px 12px 22px;
  background: rgba(27, 36, 24, .92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(239, 234, 224, .12);
  color: var(--bone);
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(0,0,0,.28);
}
.sticky-cta__txt{ display:flex; flex-direction: column; gap: 2px; min-width: 0; }
.sticky-cta__title{
  font-family: var(--ff-body); font-size: 14px; font-weight: 400;
  color: var(--bone);
  white-space: nowrap; text-overflow: ellipsis; overflow: hidden;
}
.sticky-cta__btns{ display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.sticky-cta__wa{
  width: 42px; height: 42px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--whatsapp); color: #fff;
  transition: transform .25s var(--ease);
}
.sticky-cta__wa:hover{ transform: scale(1.06); }
.sticky-cta .btn{ padding: 12px 26px; font-size: 10.5px; border-radius: 999px; }
@media (max-width: 520px){
  .sticky-cta__title{ font-size: 12px; }
  .sticky-cta__inner{ padding: 10px 12px 10px 16px; }
  .sticky-cta__btns .btn{ padding: 10px 16px; }
  .sticky-cta__wa{ width: 38px; height: 38px; }
}

/* -------- FAQ accordion -------- */
.faq{ display: flex; flex-direction: column; }
.faq__row{ border-top: 1px solid var(--line); }
.faq__row:last-child{ border-bottom: 1px solid var(--line); }
.faq__q{
  width: 100%;
  display: grid; grid-template-columns: 64px 1fr auto;
  gap: 24px; align-items: center;
  padding: 28px 6px;
  text-align: left;
  background: transparent;
  transition: padding .3s var(--ease), color .3s var(--ease);
}
.faq__q:hover{ color: var(--moss); }
.faq__row.is-open .faq__q{ color: var(--ink); }
.faq__n{ font-family: var(--ff-mono); font-size: 11px; letter-spacing: .15em; color: var(--moss); }
.faq__qt{ font-family: var(--ff-display); font-size: clamp(20px, 2vw, 28px); font-weight: 400; color: inherit; line-height: 1.25; }
.faq__icon{
  width: 38px; height: 38px; border-radius: 999px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: transform .35s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.faq__row.is-open .faq__icon{ background: var(--ink); color: var(--bone); border-color: var(--ink); transform: rotate(45deg); }
.faq__icon-v{ transition: opacity .25s; }
.faq__a-wrap{
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease);
}
.faq__row.is-open .faq__a-wrap{ grid-template-rows: 1fr; }
.faq__a{
  overflow: hidden;
  font-family: var(--ff-body); font-size: 15.5px; line-height: 1.75; color: var(--text-mute);
  padding: 0 0 6px 88px;
}
.faq__row.is-open .faq__a{ padding-bottom: 30px; }
@media (max-width: 640px){
  .faq__q{ grid-template-columns: 36px 1fr auto; gap: 14px; padding: 22px 0; }
  .faq__a{ padding-left: 50px; }
}

/* -------- Magnetic wrapper -------- */
.magnetic{ display: inline-block; transition: transform .3s var(--ease-out); will-change: transform; }

/* -------- Brochure capture -------- */
.brochure{
  display: grid; grid-template-columns: 1fr 1.1fr;
  background: var(--ink); color: var(--bone);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.brochure__art{ position: relative; min-height: 460px; }
.brochure__art .scene{ height: 100%; border: 0; }
.brochure__art-meta{
  position: absolute; left: 28px; top: 28px;
  background: rgba(27, 36, 24, .58);
  backdrop-filter: blur(8px);
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.1);
}
.brochure__form{ padding: 50px 44px; }
.brochure__form .field label{ color: rgba(239,234,224,.55); }
.brochure__form .field input,
.brochure__form .field select,
.brochure__form .field textarea{
  color: var(--bone); border-bottom-color: rgba(239,234,224,.16);
  background: transparent;
}
.brochure__form .field input::placeholder,
.brochure__form .field select{ color: rgba(239,234,224,.45); }
.brochure__form .field input:focus,
.brochure__form .field select:focus,
.brochure__form .field textarea:focus{ border-bottom-color: var(--leaf); }
.brochure__form .body{ color: rgba(239,234,224,.78); }
.brochure__form .display{ color: var(--bone); }
.brochure__form .eyebrow{ color: var(--leaf); }
@media(max-width: 880px){
  .brochure{ grid-template-columns: 1fr; }
  .brochure__art{ min-height: 220px; aspect-ratio: 16/9; }
}

/* -------- Press strip -------- */
.press{
  display: flex; align-items: center; gap: 36px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.press__label{ flex-shrink: 0; color: var(--text-mute); }
.press__row{
  display: flex; flex-wrap: wrap; gap: 36px 48px;
  align-items: center;
  font-family: var(--ff-grand);
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 400;
  color: rgba(27, 36, 24, .55);
  letter-spacing: .02em;
}
.press__item{ transition: color .3s var(--ease); }
.press__item:hover{ color: var(--ink); }
@media(max-width: 720px){ .press{ flex-direction: column; align-items: flex-start; gap: 20px; } }

/* -------- Section index list -------- */
.sec-index{ display: flex; flex-direction: column; }
.sec-index__row{
  display: grid; grid-template-columns: 60px 1fr;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  transition: padding-left .35s var(--ease), color .35s var(--ease);
}
.sec-index__row:last-child{ border-bottom: 1px solid var(--line); }
.sec-index__row:hover{ padding-left: 12px; color: var(--moss); }
.sec-index__n{ font-family: var(--ff-mono); font-size: 11px; letter-spacing: .18em; color: var(--moss); }
.sec-index__t{ font-family: var(--ff-display); font-size: clamp(20px, 2.2vw, 30px); font-weight: 400; }

/* -------- Proximity map -------- */
.prox{ width: 100%; }
.prox__svg{ width: 100%; height: auto; max-width: 720px; margin: 0 auto; display: block; }

/* -------- Refined card hover -------- */
.card{
  position: relative;
}
.card::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--ochre);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.card:hover::after{ transform: scaleX(1); }


/* ============================================================
   Static build additions
   ------------------------------------------------------------
   main.css hides every .rv at opacity:0 and relies on JavaScript
   to reveal it. Without JS — or for a crawler that does not run
   it — the page rendered blank. The .js class is set inline in
   <head>, so the animation is unchanged for everyone else.
   ============================================================ */
html:not(.js) .rv         { opacity: 1 !important; transform: none !important; }
html:not(.js) .page       { animation: none !important; }
html:not(.js) .sticky-cta,
html:not(.js) .scroll-progress { display: none; }

@media (prefers-reduced-motion: reduce) {
  .rv, .page { opacity: 1 !important; transform: none !important;
               animation: none !important; transition: none !important; }
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--leaf, #93B17A);
  outline-offset: 3px;
}

/* nav/footer items converted from <button> to <a> keep their original look.
   NOTE: do NOT use the `font` shorthand here — `font: inherit` would override
   the font-family and font-size set by .nav__a further up this file. */
a.nav__a, a.nav__drop-a, .mobile-menu > a {
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
}
/* NOTE: no `color` here. These selectors outrank .nav__drop-a, so setting
   colour would make the dropdown inherit the nav's light colour over its own
   cream panel — invisible until the nav turned light on scroll. */
.mobile-menu > a { display: block; }
a.btn { text-decoration: none; }

/* Terra Heavens-2 hero: the gate photograph is dark and busy exactly where the
   headline sits, so the hero gets a scrim and light text instead of the dark
   green used over the previous, brighter image. */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(15,21,12,.84) 0%, rgba(15,21,12,.70) 42%, rgba(15,21,12,.34) 66%, rgba(15,21,12,0) 100%),
    linear-gradient(to bottom, rgba(15,21,12,.35) 0%, rgba(15,21,12,0) 45%);
}

/* Home hero: the "Phase II / N plots remaining" corner stat and its divider
   were removed, so the sub-row no longer needs the 1px divider column or the
   trailing auto column. */
.hero__sub-row { grid-template-columns: 1fr; }


/* Hero lead paragraphs on the project pages sit over photographs whose
   brightness varies with the crop, so they carry their own soft shadow on top
   of the hero scrim. */
.hero-lead {
  text-shadow: 0 1px 2px rgba(15, 21, 12, .55), 0 2px 14px rgba(15, 21, 12, .45);
}

/* Centred 16:9 testimonial film on the Testimonials page. */
.video-frame {
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--forest, #2C3F2A);
  box-shadow: 0 18px 50px rgba(27, 36, 24, .14);
}
.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  background: #1B2418;
}
/* Fallback for browsers without aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
  .video-frame { position: relative; padding-top: 56.25%; }
  .video-frame video { position: absolute; inset: 0; height: 100%; }
}
