/* ==========================================================================
   Terra Blue LEAF — design tokens
   Palette drawn from the site itself: deep teal (the "blue" in Terra Blue),
   sun-baked clay (the enclave's soil and boundary walls), stone/sand
   (the plaza paving), moss (the Balinese planting).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Work+Sans:wght@400;500;600&display=swap');

:root{
  --teal-deep:   #0B211F;
  --teal:        #12332F;
  --teal-soft:   #1D4A48;
  --clay:        #8B4A3A;
  --clay-soft:   #B4694F;
  --moss:        #5C6B4F;
  --sand:        #EDE6D8;
  --sand-soft:   #F6F2E9;

  /* Gold, matched to the logo mark's own gradient */
  --brass-deep:  #996326;
  --brass:       #C6A025;
  --brass-light: #D9BA25;
  --gold-grad:   linear-gradient(100deg, var(--brass-deep), var(--brass) 55%, var(--brass-light));

  --ink:         #1C1B17;
  --ink-soft:    #4A4A42;
  --white:       #FFFEFB;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --content-max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-soft: 0 1px 2px rgba(15,33,31,0.04), 0 8px 24px -12px rgba(15,33,31,0.18);
  --shadow-lift: 0 12px 32px -12px rgba(15,33,31,0.28);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; }
button{ font: inherit; }

h1, h2, h3, h4{
  font-family: var(--serif);
  font-weight: 500;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

p{ margin: 0; }

.wrap{
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.visually-hidden{
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

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

/* ---- section rhythm --------------------------------------------------- */
.section{
  padding: clamp(4rem, 9vw, 7.5rem) 0;
  position: relative;
}
.section--dark{
  background: var(--teal-deep);
  color: var(--sand-soft);
}
.section--dark h2, .section--dark h3, .section--dark h4{ color: var(--white); }
.section--sand{ background: var(--sand-soft); }

.section-head{
  max-width: 640px;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.section-head__mark{
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(155deg, rgba(198,160,37,0.14), rgba(198,160,37,0.02));
  border: 1px solid rgba(198,160,37,0.4);
  display: grid;
  place-items: center;
  margin-top: 0.35rem;
  color: var(--brass);
}
.section-head__mark svg{ width: 17px; height: 17px; }
.section-kicker{
  font-size: 0.78rem;
  color: var(--clay);
  margin: 0 0 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.section-kicker::before{
  content: '';
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--gold-grad);
  flex: none;
}
.section--dark .section-kicker{ color: var(--brass-light); }
.section-head h2{
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.15;
}
.section-lede{
  margin-top: 1.1rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 60ch;
}
.section--dark .section-lede{ color: #C9D4CF; }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: linear-gradient(to bottom, rgba(11,33,31,0.55), transparent);
  backdrop-filter: blur(2px);
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.nav.is-solid{
  background: rgba(11,33,31,0.78);
  backdrop-filter: blur(14px) saturate(140%);
  padding: 0.8rem 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), var(--shadow-soft);
}
.nav .wrap{ display: flex; align-items: center; justify-content: space-between; gap: clamp(0.75rem, 2vw, 1.5rem); }
.nav__brand{
  text-decoration: none;
  display: flex; align-items: center; gap: 0.65rem;
  flex: none;
}
.nav__crest{
  height: 32px;
  width: auto;
  display: block;
  transition: height 0.35s ease;
}
.nav__crest--solo{
  height: 52px;
  padding-right: 0;
  border-right: none;
}
.nav.is-solid .nav__crest{ height: 27px; }
.nav.is-solid .nav__crest--solo{ height: 42px; }
.nav__brandname{
  font-family: var(--serif);
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav__brandname em{
  display: block;
  font-style: normal;
  font-size: 0.68em;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
.nav__logo{
  height: 34px;
  width: auto;
  display: block;
  transition: height 0.35s ease;
}
.nav.is-solid .nav__logo{ height: 28px; }
.nav__links{
  display: flex;
  gap: clamp(0.65rem, 1.1vw, 1.3rem);
  list-style: none;
  margin: 0; padding: 0;
  font-size: 0.86rem;
  white-space: nowrap;
}
.nav__links li{ white-space: nowrap; }
.nav__links a{
  text-decoration: none;
  color: #D9E0DA;
  position: relative;
  padding: 0.35rem 0.55rem;
  margin: -0.35rem -0.55rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav__links a::after{
  content: '';
  position: absolute; left: 50%; bottom: 0.15rem;
  width: 0; height: 3px;
  background: var(--gold-grad);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}
.nav__links a:hover{ color: var(--white); background: rgba(255,255,255,0.06); }
.nav__links a:hover::after, .nav__links a.is-active::after{ width: 16px; }
.nav__links a.is-active{ color: var(--white); }
.nav__cta{
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  padding: 0.55rem 1.15rem;
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  flex: none;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.nav__cta:hover{
  background: var(--gold-grad);
  border-color: transparent;
  color: var(--teal-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(198,160,37,0.55);
}
.nav__toggle{
  display: none;
  background: none; border: 0; color: var(--white);
  width: 34px; height: 24px; position: relative; cursor: pointer;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after{
  content: ''; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .25s ease, opacity .25s ease;
}
.nav__toggle span{ top: 11px; }
.nav__toggle span::before{ top: -7px; }
.nav__toggle span::after{ top: 7px; }
.nav.is-open .nav__toggle span{ background: transparent; }
.nav.is-open .nav__toggle span::before{ transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span::after{ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px){
  .nav__links{
    position: fixed; inset: 0 0 0 auto;
    width: min(78vw, 320px);
    background: var(--teal-deep);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    font-size: 1.05rem;
    gap: 1.4rem;
    white-space: normal;
  }
  .nav__links li, .nav__links a{ white-space: normal; }
  .nav.is-open .nav__links{ transform: translateX(0); }
  .nav__cta{ display: none; }
  .nav__toggle{ display: block; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  background: var(--teal-deep);
  color: var(--sand-soft);
  padding: clamp(7rem, 16vw, 9.5rem) 0 clamp(3rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
}
.hero::before{
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 85% 15%, rgba(139,74,58,0.25), transparent 60%),
    radial-gradient(ellipse 600px 400px at 10% 90%, rgba(92,107,79,0.22), transparent 60%);
  pointer-events: none;
}
.hero .wrap{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
}
.hero__kicker{
  font-size: 0.92rem;
  color: var(--brass-light);
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  opacity: 0;
  animation: rise 0.7s ease 0.1s forwards;
}
.hero__banner{
  display: block;
  width: min(100%, 480px);
  height: auto;
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: rise 0.8s ease 0.2s forwards;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.35));
}
.hero h1{
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.08;
  color: var(--white);
  opacity: 0;
  animation: rise 0.8s ease 0.25s forwards;
}
.hero__sub{
  margin-top: 1.4rem;
  font-size: 1.08rem;
  max-width: 46ch;
  color: #C9D4CF;
  opacity: 0;
  animation: rise 0.8s ease 0.4s forwards;
}
.hero__ctas{
  margin-top: 2.1rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise 0.8s ease 0.55s forwards;
}
.btn{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.25s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn--primary{ background: var(--gold-grad); color: var(--teal-deep); box-shadow: 0 10px 24px -10px rgba(198,160,37,0.55); }
.btn--primary:hover{ box-shadow: 0 14px 30px -8px rgba(198,160,37,0.65); }
.btn--ghost{ border-color: rgba(255,255,255,0.45); color: var(--white); }
.btn--ghost:hover{ background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.btn--dark{ background: var(--teal-deep); color: var(--white); box-shadow: var(--shadow-soft); }
.btn--dark:hover{ background: var(--teal); }

.hero__stats{
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(1.2rem, 2.6vw, 2.4rem);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  padding: clamp(1.2rem, 2.5vw, 1.6rem) clamp(1.3rem, 3vw, 1.8rem);
  opacity: 0;
  animation: rise 0.8s ease 0.7s forwards;
}
.stat b{
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}
.stat span{ font-size: 0.82rem; color: #A9B6AF; }

.hero__art{ position: relative; }
.hero__art svg{ width: 100%; height: auto; opacity: 0; animation: fade 1.2s ease 0.5s forwards; }

@keyframes rise{ from{ opacity: 0; transform: translateY(14px);} to{ opacity: 1; transform: translateY(0);} }
@keyframes fade{ from{ opacity: 0; } to{ opacity: 1; } }

@media (max-width: 900px){
  .hero .wrap{ grid-template-columns: 1fr; }
  .hero__art{ order: -1; max-width: 340px; margin: 0 auto 1rem; }
  .hero__stats{ grid-template-columns: repeat(2, auto); row-gap: 1.6rem; }
}

/* ==========================================================================
   Spine — a thin path with a marker per section, echoing the tree-lined
   walkways that run through the enclave. Desktop only.
   ========================================================================== */
.spine{ position: relative; }
.spine .section-head{ position: relative; }
@media (min-width: 981px){
  body{ --spine-x: calc(var(--gutter) - 17px); }
  .spine::before{
    content: '';
    position: absolute;
    left: var(--spine-x);
    top: 0; bottom: 0;
    width: 1px;
    background: currentColor;
    opacity: 0.15;
  }
}

/* ==========================================================================
   About
   ========================================================================== */
.about__grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about__body p{ margin-bottom: 1.1rem; font-size: 1.02rem; color: var(--ink-soft); }
.about__body p:last-child{ margin-bottom: 0; }
.about__figures{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
.figure-card{
  border: 1px solid #E5DCC8;
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.figure-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.figure-card b{
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}
.figure-card span{ font-size: 0.85rem; color: var(--ink-soft); }
@media (max-width: 780px){ .about__grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   LEAF pillars
   ========================================================================== */
.leaf-pillars{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.18);
}
.pillar{
  padding: 2rem 1.4rem;
  border-right: 1px solid rgba(255,255,255,0.18);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pillar:last-child{ border-right: 0; }
.pillar__letter{
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--brass);
  line-height: 1;
  font-weight: 500;
}
.pillar h3{ font-size: 1.05rem; margin: 0.7rem 0 0.5rem; color: var(--white); }
.pillar p{ font-size: 0.92rem; color: #C9D4CF; max-width: 26ch; }
@media (max-width: 780px){
  .leaf-pillars{ grid-template-columns: 1fr 1fr; }
  .pillar{ border-right: 1px solid rgba(255,255,255,0.18); border-bottom: 1px solid rgba(255,255,255,0.18); padding: 1.8rem 1.2rem; }
}

.leaf-intro{
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.leaf-intro__tags{
  margin-top: 1.4rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.tag{
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  color: #E4E9E4;
  background: rgba(255,255,255,0.05);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.tag:hover{ border-color: rgba(198,160,37,0.6); background: rgba(198,160,37,0.1); }
.leaf-intro__art svg{ width: 100%; height: auto; }
@media (max-width: 780px){ .leaf-intro{ grid-template-columns: 1fr; } }

/* ==========================================================================
   Masterplan
   ========================================================================== */
.masterplan__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.plot-types{ margin-top: 1.6rem; }
.plot-type{
  display: grid;
  grid-template-columns: 2.4rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.9rem 0.6rem;
  border-bottom: 1px solid #E5DCC8;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}
.plot-type:hover{ background: rgba(198,160,37,0.06); }
.plot-type__id{ font-family: var(--serif); color: var(--brass-deep); font-size: 1.1rem; }
.plot-type__name{ font-size: 0.98rem; }
.plot-type__size{ font-size: 0.9rem; color: var(--ink-soft); white-space: nowrap; }
.plan-notes{ margin-top: 1.4rem; list-style: none; padding: 0; }
.plan-notes li{
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.5rem;
}
.plan-notes li::before{
  content: '';
  position: absolute; left: 0; top: 0.5em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--brass);
}
.plan-art{ border: 1px solid #E5DCC8; border-radius: var(--radius); padding: clamp(1rem, 3vw, 2rem); background: var(--white); box-shadow: var(--shadow-soft); overflow: hidden; }
.plan-art svg{ width: 100%; height: auto; }
@media (max-width: 860px){ .masterplan__grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   Plaza / Loop of Joy — radial layout
   ========================================================================== */
.loop{
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.loop__art svg{ width: 100%; height: auto; }
.loop__list{
  columns: 2;
  column-gap: 2rem;
  list-style: none;
  padding: 0; margin: 0;
}
.loop__list li{
  break-inside: avoid;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 0.96rem;
  color: #DCE4DE;
}
@media (max-width: 860px){
  .loop{ grid-template-columns: 1fr; }
  .loop__list{ columns: 1; }
}

/* ==========================================================================
   Infrastructure
   ========================================================================== */
.infra-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.infra-card{
  background: var(--white);
  border: 1px solid #E5DCC8;
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.infra-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.infra-card__icon{
  width: 30px; height: 30px;
  padding: 7px;
  box-sizing: content-box;
  border-radius: 10px;
  background: linear-gradient(155deg, rgba(198,160,37,0.14), rgba(198,160,37,0.03));
  color: var(--brass-deep);
  margin-bottom: 1.1rem;
}
.infra-card h3{ font-size: 1.05rem; margin-bottom: 0.7rem; }
.infra-card ul{ margin: 0; padding-left: 1.05rem; }
.infra-card li{ font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.4rem; }
@media (max-width: 900px){ .infra-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .infra-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   Consultants
   ========================================================================== */
.consultants{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 0.5rem;
}
.consultant-card{
  border-top: 2px solid transparent;
  border-image: var(--gold-grad) 1;
  padding-top: 1rem;
}
.consultant-card h4{ font-size: 1rem; margin-bottom: 0.4rem; }
.consultant-card p{ font-size: 0.88rem; color: var(--ink-soft); }
@media (max-width: 780px){ .consultants{ grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Location
   ========================================================================== */
.location__grid{
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.location__art svg{ width: 100%; height: auto; }
.loc-cats{ display: grid; gap: 1.4rem; }
.loc-cat h3{
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1rem; margin-bottom: 0.7rem; color: var(--white);
}
.loc-cat h3 img{ width: 18px; height: 18px; }
.loc-cat ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.loc-cat li{
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: 0.92rem; color: #C9D4CF;
  padding-bottom: 0.4rem;
  border-bottom: 1px dotted rgba(255,255,255,0.15);
}
.loc-cat li b{ color: var(--white); font-weight: 500; white-space: nowrap; }
@media (max-width: 860px){ .location__grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   Chapter 21
   ========================================================================== */
.ch21-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}
.ch21-card{
  padding: 1.5rem 1.2rem;
  border: 1px solid #DED4C0;
  text-align: left;
}
.ch21-card svg{ width: 26px; height: 26px; color: var(--moss); margin-bottom: 0.9rem; }
.ch21-card span{ font-size: 0.92rem; display: block; }
@media (max-width: 900px){ .ch21-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px){ .ch21-grid{ grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.contact__info h2{ font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.2rem; }
.info-line{
  display: flex; gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid #DED4C0;
  font-size: 0.95rem;
}
.info-line img{ width: 20px; height: 20px; flex: none; margin-top: 0.1rem; }
.info-line a{ text-decoration: none; }
.info-line a:hover{ color: var(--clay); }
.rera-note{ margin-top: 1.2rem; font-size: 0.82rem; color: var(--ink-soft); }
.section--dark .info-line{ border-bottom-color: rgba(255,255,255,0.16); }
.section--dark .rera-note{ color: #A9B6AF; }

.form{
  background: var(--white);
  border: 1px solid #E5DCC8;
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-lift);
}
.field{ margin-bottom: 1.2rem; }
.field label{ display: block; font-size: 0.85rem; margin-bottom: 0.45rem; color: var(--ink-soft); }
.field input, .field textarea{
  width: 100%;
  border: 0;
  border-bottom: 1px solid #C9BC9F;
  background: transparent;
  padding: 0.6rem 0.1rem;
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.field input:focus, .field textarea:focus{ border-color: var(--brass); outline: none; }
.field textarea{ resize: vertical; min-height: 70px; }
.form__row{ display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 560px){ .form__row{ grid-template-columns: 1fr; } }
.form__foot{ display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.4rem; flex-wrap: wrap; }
.form__note{ font-size: 0.8rem; color: var(--ink-soft); }
.form__status{
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--moss);
  display: none;
}
.form__status.is-visible{ display: block; }
@media (max-width: 860px){ .contact__grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer{
  position: relative;
  background: var(--teal-deep);
  color: #A9B6AF;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.6rem;
  font-size: 0.88rem;
}
.footer__top{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__brand{ display: flex; align-items: center; margin-bottom: 1.1rem; line-height: 0; }
.footer__logo{ height: 68px; width: auto; display: block; }
.footer h4{ color: var(--white); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.9rem; letter-spacing: 0.02em; font-family: var(--sans); }
.footer address{ font-style: normal; line-height: 1.6; }
.footer ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer a{ text-decoration: none; color: #A9B6AF; }
.footer a:hover{ color: var(--white); }
.footer__socials{ display: flex; gap: 0.9rem; margin-top: 1rem; }
.footer__socials a{
  width: 32px; height: 32px; border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%; display: grid; place-items: center;
}
.footer__socials img{ width: 15px; height: 15px; }
.footer__bottom{
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  padding-top: 1.4rem;
}
.footer__legal{ display: flex; gap: 1.4rem; list-style: none; padding: 0; margin: 0; }
@media (max-width: 780px){
  .footer__top{ grid-template-columns: 1fr; gap: 1.8rem; }
}

/* ==========================================================================
   Modal
   ========================================================================== */
.modal{
  position: fixed; inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(15,43,40,0.68);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal.is-open{ opacity: 1; visibility: visible; }
.modal__panel{
  background: var(--sand-soft);
  border-radius: 14px;
  max-width: 520px;
  width: 100%;
  max-height: 84vh;
  overflow-y: auto;
  padding: clamp(1.8rem, 4vw, 2.6rem);
  position: relative;
  transform: translateY(10px);
  transition: transform 0.25s ease;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4);
}
.modal.is-open .modal__panel{ transform: translateY(0); }
.modal__panel h3{ font-size: 1.4rem; margin-bottom: 1.1rem; padding-right: 1.5rem; }
.modal__body p{ font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.9rem; }
.modal__close{
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: rgba(0,0,0,0.05); border-radius: 50%; border: 0; font-size: 1.4rem; line-height: 1;
  cursor: pointer; color: var(--ink-soft);
  transition: background 0.2s ease;
}
.modal__close:hover{ background: rgba(0,0,0,0.1); }
.modal .btn{ margin-top: 0.5rem; }

/* ==========================================================================
   Wave dividers — organic edges marking dark/light section transitions
   ========================================================================== */
.wave-divider{
  position: absolute;
  left: 0; right: 0;
  top: 0;
  transform: translateY(-99%);
  line-height: 0;
  pointer-events: none;
  z-index: 2;
}
.wave-divider img{
  display: block;
  width: 100%;
  height: clamp(16px, 3vw, 40px);
}
.wave-divider--down img{ height: clamp(11px, 2vw, 26px); }

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.wa-btn{
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 150;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-btn:hover{ transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 30px -8px rgba(0,0,0,0.45); }
.wa-btn:active{ transform: translateY(-1px) scale(0.98); }
@media (max-width: 480px){
  .wa-btn{ width: 48px; height: 48px; }
  .wa-btn svg{ width: 24px; height: 24px; }
}

/* ==========================================================================
   Lead popup (auto-opens, shares .modal base styles)
   ========================================================================== */
.modal__panel--pop{ max-width: 440px; }
.modal--pop .form__status.is-visible{ display: block; }

/* ==========================================================================
   Toast (brochure notice)
   ========================================================================== */
.toast{
  position: fixed;
  bottom: 1.5rem; left: 50%;
  transform: translate(-50%, 12px);
  background: var(--teal-deep);
  color: var(--white);
  border-radius: 999px;
  padding: 0.9rem 1.6rem;
  font-size: 0.9rem;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  max-width: 90vw;
  text-align: center;
  box-shadow: 0 20px 45px -15px rgba(0,0,0,0.45);
}
.toast.is-visible{ opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ==========================================================================
   Hero photo slider
   ========================================================================== */
.hero-slider{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slider__slide{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.4s ease, transform 8s ease;
}
.hero-slider__slide.is-active{
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.hero-slider__scrim{
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(100deg, rgba(10,28,26,0.96) 0%, rgba(10,28,26,0.84) 34%, rgba(10,28,26,0.5) 58%, rgba(10,28,26,0.66) 100%),
    linear-gradient(to top, rgba(10,28,26,0.55), transparent 30%);
}
.hero::before{ z-index: 3; }
.hero .wrap.hero__wrap{ position: relative; z-index: 4; }
.hero .wrap{ grid-template-columns: 1fr; }
.hero__copy{ max-width: 640px; }

.hero-slider__dots{
  position: absolute;
  left: 50%;
  bottom: clamp(2.4rem, 6vw, 3.2rem);
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.55rem;
}
.hero-slider__dots button{
  width: 26px; height: 2px;
  padding: 0;
  border: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.25s ease;
}
.hero-slider__dots button.is-active{ background: var(--brass); }
.hero-slider__dots button:hover{ background: rgba(255,255,255,0.6); }

.scroll-cue{
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  transform: translateX(-50%);
  z-index: 4;
  width: 18px; height: 30px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 9px;
  display: block;
}
.scroll-cue span{
  position: absolute;
  left: 50%; top: 6px;
  width: 3px; height: 3px;
  margin-left: -1.5px;
  border-radius: 50%;
  background: var(--brass);
  animation: cue 1.8s ease infinite;
}
@keyframes cue{
  0%{ opacity: 1; transform: translateY(0); }
  70%{ opacity: 0; transform: translateY(10px); }
  100%{ opacity: 0; transform: translateY(10px); }
}
@media (max-width: 900px){
  .scroll-cue{ display: none; }
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   About — photo gallery
   ========================================================================== */
.about__media{
  display: grid;
  gap: 0.9rem;
}
.about__media-main{
  display: block;
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
  box-shadow: var(--shadow-soft);
}
.about__media-main img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about__media-main:hover img{ transform: scale(1.04); }
.about__media-strip{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.about__media-strip button{
  display: block;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 1;
}
.about__media-strip img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.about__media-strip button:hover img{ transform: scale(1.07); }

/* ==========================================================================
   LEAF intro photo
   ========================================================================== */
.leaf-intro__photo{
  display: block;
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 4 / 3.3;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5);
}
.leaf-intro__photo img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.leaf-intro__photo:hover img{ transform: scale(1.04); }

/* ==========================================================================
   Masterplan art — enlarge hint
   ========================================================================== */
.plan-art{
  position: relative;
  display: block;
  cursor: zoom-in;
  text-align: left;
}
.plan-art img{ width: 100%; height: auto; display: block; }
.plan-art__hint{
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  background: var(--teal-deep);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.78rem;
  padding: 0.5rem 0.95rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.plan-art:hover .plan-art__hint{ opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Plaza — photo gallery (replaces earlier line-art treatment)
   ========================================================================== */
.loop__gallery{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.loop__gallery button{
  display: block;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 1;
}
.loop__gallery img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.loop__gallery button:hover img{ transform: scale(1.06); }

/* ==========================================================================
   Location — map
   ========================================================================== */
.location__map{
  display: block;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  background: var(--white);
  padding: clamp(0.8rem, 2vw, 1.4rem);
  cursor: zoom-in;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.location__map img{ width: 100%; height: auto; display: block; }

/* ==========================================================================
   Chapter 21 — photo gallery with captions
   ========================================================================== */
.ch21-gallery{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #DED4C0;
  border: 1px solid #DED4C0;
  border-radius: var(--radius);
  overflow: hidden;
}
.ch21-photo{
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--white);
}
.ch21-photo img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ch21-photo:hover img{ transform: scale(1.08); }
.ch21-photo__cap{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.9rem 1rem;
  background: linear-gradient(to top, rgba(10,28,26,0.9), rgba(10,28,26,0) 75%);
  color: var(--white);
  font-size: 0.85rem;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ch21-photo .ch21-photo__icon{
  width: 16px; height: 16px;
  flex: none;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
@media (max-width: 900px){ .ch21-gallery{ grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Recognition strip
   ========================================================================== */
.section--recognition{
  padding: clamp(2.6rem, 5vw, 3.6rem) 0;
  border-top: 1px solid #DED4C0;
  border-bottom: 1px solid #DED4C0;
}
.recognition__label{
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: clamp(1.4rem, 3vw, 2rem);
}
.recognition__row{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(2rem, 6vw, 4.5rem);
}
.recognition__row img{
  height: 40px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.72;
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.recognition__row img:hover{ filter: grayscale(0); opacity: 1; }

/* ==========================================================================
   Trust badges (contact)
   ========================================================================== */
.trust-badges{
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 1.3rem;
}
.trust-badges img{ height: 40px; width: 40px; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  background: rgba(10,28,26,0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.lightbox.is-open{ opacity: 1; visibility: visible; }
.lightbox__img{
  max-width: 100%;
  max-height: 100%;
  width: auto; height: auto;
  border-radius: 10px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.28s ease, transform 0.28s ease;
  background: var(--white);
}
.lightbox.is-open .lightbox__img{ opacity: 1; transform: scale(1); }
.lightbox__close{
  position: absolute;
  top: clamp(1rem, 3vw, 1.8rem);
  right: clamp(1rem, 3vw, 1.8rem);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox__close:hover{ background: rgba(255,255,255,0.18); }

@media (max-width: 780px){
  .about__media-strip{ grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .loop__gallery{ grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .ch21-gallery{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px){
  .ch21-gallery{ grid-template-columns: 1fr 1fr; }
  .trust-badges{ gap: 1rem; }
  .trust-badges img{ height: 34px; width: 34px; }
}

/* ==========================================================================
   Extra responsive pass — small phones
   ========================================================================== */
@media (max-width: 640px){
  html{ font-size: 15px; }
  .wrap{ padding-left: 1.1rem; padding-right: 1.1rem; }
  .section{ padding: clamp(2.75rem, 12vw, 4rem) 0; }
  .hero__stats{ grid-template-columns: repeat(2, 1fr); gap: 1.2rem 1rem; }
  .hero__ctas{ flex-direction: column; align-items: stretch; }
  .hero__ctas .btn{ text-align: center; }
  .form__row{ grid-template-columns: 1fr; }
  .modal__panel{ padding: 1.5rem; border-radius: 12px; }
}
@media (max-width: 420px){
  .nav__brandname{ font-size: 0.88rem; }
  .nav__crest--solo{ height: 42px; }
  .nav.is-solid .nav__crest--solo{ height: 36px; }
  .nav__cta{ display: none; }
  .hero__stats{ grid-template-columns: 1fr 1fr; }
  .contact__info .info-line span{ font-size: 0.88rem; }
  .wa-btn{ right: 0.85rem; bottom: 0.85rem; }
}
