/* ========== Tokens ========== */
:root {
  --green-900: #1a2e1a;
  --green-800: #243d22;
  --green-700: #2d4a2b;
  --green-500: #4a6a48;
  --sage: #8ba888;
  --sage-light: #c4d4c0;
  --gold: #ffffff;
  --gold-light: #ffffff;
  --cream: #f5f3ed;
  --cream-dark: #e8e5d9;
  --ink: #1c1c1c;
  --ink-60: #5a5a5a;
  --ink-40: #8a8a8a;
  --paper: #fafaf7;
  --white: #ffffff;
  --line: #e4e1d6;

  --ff-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1280px;
  --pad: clamp(1.25rem, 4vw, 3rem);

  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========== Base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ========== Typography ========== */
.h2 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: var(--green-900);
}
.h2 em {
  font-style: normal;
  color: var(--green-700);
  font-weight: 800;
}
.h2--light { color: var(--cream); }
.h2--light em { color: var(--gold-light); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 2.25rem;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.75rem;
  height: 1px;
  background: var(--green-500);
}
.eyebrow--light { color: var(--gold-light); }

p { margin: 0 0 1rem; color: var(--ink-60); font-size: 1.0625rem; }

.text-center { text-align: center; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all .3s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--gold {
  background: var(--white);
  color: var(--green-900);
  border-color: var(--green-900);
}
.btn--gold:hover {
  background: var(--green-900);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(0,0,0,.35);
}
.btn--dark {
  background: var(--green-900);
  color: var(--cream);
}
.btn--dark:hover {
  background: var(--white);
  color: var(--green-900);
  transform: translateY(-2px);
}
.btn--ghost {
  border-color: rgba(255,255,255,.6);
  color: var(--white);
  background: transparent;
}
.btn--ghost:hover {
  background: var(--white);
  color: var(--green-900);
}
.btn--ghost-dark {
  border-color: var(--green-700);
  color: var(--green-700);
  background: transparent;
}
.btn--ghost-dark:hover {
  background: var(--green-700);
  color: var(--cream);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-700);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: all .3s var(--ease);
}
.link-arrow:hover {
  color: var(--green-500);
  letter-spacing: 0.16em;
}

/* ========== Topbar ========== */
.topbar {
  background: var(--green-900);
  color: var(--cream);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
}
.topbar__langs { display: flex; gap: 1rem; }
.topbar__langs a {
  opacity: .55;
  padding: 4px 2px;
  font-weight: 500;
}
.topbar__langs a.active, .topbar__langs a:hover { opacity: 1; color: var(--gold-light); }
.topbar__phone { color: var(--gold-light); font-weight: 500; }
.topbar__phone:hover { color: var(--white); }

/* ========== Nav ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,247,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all .35s var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,0.98);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px -10px rgba(0,0,0,.08);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--ff-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--green-900);
  letter-spacing: -0.01em;
}
.nav__logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 800;
  font-style: normal;
}
.nav__menu {
  display: flex;
  gap: 2rem;
}
.nav__menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-60);
  letter-spacing: 0.03em;
  position: relative;
  padding: 6px 0;
}
.nav__menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--green-900);
  transition: width .35s var(--ease);
}
.nav__menu a:hover, .nav__menu a.active { color: var(--green-900); }
.nav__menu a:hover::after, .nav__menu a.active::after { width: 100%; }

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 8px;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--green-900);
  transition: all .3s var(--ease);
}
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== Hero ========== */
.hero {
  position: relative;
  height: calc(100vh - 118px);
  min-height: 600px;
  overflow: hidden;
  color: var(--white);
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s var(--ease), transform 7s linear;
}
.hero__slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(26,46,26,0.35) 0%,
    rgba(26,46,26,0.4) 60%,
    rgba(26,46,26,0.65) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  padding-left: 2.25rem;
  position: relative;
  animation: fadeUp .9s var(--ease-out) .2s both;
}
.hero__eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.75rem;
  height: 1px;
  background: var(--gold-light);
}
.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -0.035em;
  margin: 0 0 1.5rem;
  max-width: 900px;
}
.hero__title span {
  display: block;
  animation: fadeUp 1s var(--ease-out) .35s both;
}
.hero__title-accent {
  font-style: normal;
  color: var(--gold-light);
  font-weight: 800;
  animation-delay: .5s !important;
}
.hero__subtitle {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  max-width: 540px;
  animation: fadeUp .9s var(--ease-out) .7s both;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeUp .9s var(--ease-out) .9s both;
}

.hero__controls {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .75rem;
  z-index: 3;
}
.hero__dot {
  width: 40px;
  height: 2px;
  background: rgba(255,255,255,0.4);
  transition: all .3s var(--ease);
}
.hero__dot.active { background: var(--gold); width: 64px; }

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  width: 34px;
  height: 54px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 20px;
  z-index: 3;
  display: grid;
  place-items: center;
}
.hero__scroll span {
  width: 3px;
  height: 8px;
  background: var(--gold-light);
  border-radius: 2px;
  animation: scrollDot 1.8s infinite var(--ease);
}
@keyframes scrollDot {
  0% { transform: translateY(-8px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== About ========== */
.about {
  padding: clamp(4rem, 10vw, 8rem) 0;
  background: var(--paper);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about__text p { max-width: 500px; margin-bottom: 1.25rem; }
.about__image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
}
.about__image--wide { aspect-ratio: 1/1; }
.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.about__image:hover img { transform: scale(1.05); }
.about__badge {
  position: absolute;
  bottom: 2rem;
  right: -2rem;
  background: var(--cream);
  padding: 1.5rem 2rem;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.2);
  text-align: center;
}
.about__badge-num {
  font-family: var(--ff-display);
  font-size: 2.25rem;
  color: var(--green-900);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.about__badge-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-top: .25rem;
}

/* ========== Pillars ========== */
.pillars {
  padding: clamp(4rem, 10vw, 8rem) 0;
  background: var(--cream);
}
.pillars__head { text-align: center; margin-bottom: 3rem; }
.pillars__head .eyebrow { padding-left: 0; }
.pillars__head .eyebrow::before { display: none; }

.pillars__tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 3rem;
}
.pillars__tab {
  padding: 1.5rem 1rem;
  text-align: left;
  transition: all .3s var(--ease);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  color: var(--ink-60);
  position: relative;
}
.pillars__tab:last-child { border-right: 0; }
.pillars__tab-num {
  font-family: var(--ff-display);
  font-style: normal;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--green-500);
}
.pillars__tab-name {
  font-family: var(--ff-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.pillars__tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-900);
  transition: width .4s var(--ease);
}
.pillars__tab.active, .pillars__tab:hover { color: var(--green-900); }
.pillars__tab.active::after { width: 100%; }

.pillars__panels { position: relative; }
.pillars__panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  animation: fadePanel .6s var(--ease-out);
}
.pillars__panel.active { display: grid; }
@keyframes fadePanel {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.pillars__panel-img {
  aspect-ratio: 5/4;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
}
.pillars__panel-body h3 {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 700;
  color: var(--green-900);
  margin: 0 0 1rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.pillars__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem 1.5rem;
  margin-top: 1.5rem;
}
.pillars__list li {
  padding: .75rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--ink);
  position: relative;
  padding-left: 1.25rem;
}
.pillars__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
}

/* ========== Stats ========== */
.stats {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--green-900);
  color: var(--cream);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  text-align: center;
}
.stats__item {
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.stats__item:last-child { border-right: 0; }
.stats__num {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  display: inline;
  letter-spacing: -0.03em;
}
.stats__unit {
  display: inline;
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin-left: 4px;
}
.stats__label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,241,232,0.7);
  margin-top: .75rem;
}

/* ========== Amenities ========== */
.amenities {
  padding: clamp(4rem, 10vw, 8rem) 0;
  background: var(--paper);
}
.amenities__head { text-align: center; margin-bottom: 3.5rem; }
.amenities__head .eyebrow { padding-left: 0; }
.amenities__head .eyebrow::before { display: none; }
.amenities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.amenity {
  background: var(--paper);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: all .4s var(--ease);
  cursor: default;
}
.amenity:hover {
  background: var(--green-900);
  color: var(--cream);
  transform: scale(1.03);
  z-index: 1;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,.3);
}
.amenity__icon {
  display: inline-block;
  width: 58px;
  height: 58px;
  margin: 0 auto 1.25rem;
  color: var(--green-700);
  transition: color .4s var(--ease), transform .5s cubic-bezier(0.76,0,0.24,1);
  position: relative;
  z-index: 1;
}
.amenity__icon svg { width: 100%; height: 100%; display: block; stroke-width: 2.2; }
.amenity:hover .amenity__icon {
  color: var(--cream);
  transform: translateY(-4px) scale(1.08);
}
.amenity h4 {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ========== Features ========== */
.features {
  padding: clamp(4rem, 10vw, 8rem) 0;
  background: var(--cream);
}
.features__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.features__text { position: sticky; top: 120px; }
.features__list { display: grid; gap: 1.5rem; }
.feature {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 1.75rem;
  background: var(--paper);
  border-left: 2px solid var(--green-500);
  transition: all .35s var(--ease);
}
.feature:hover {
  transform: translateX(8px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.12);
  border-left-color: var(--green-900);
}
.feature__num {
  font-family: var(--ff-display);
  font-style: normal;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--green-700);
  line-height: 1;
  letter-spacing: -0.03em;
}
.feature h4 {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 .5rem;
  color: var(--green-900);
  letter-spacing: -0.01em;
}
.feature p { margin: 0; font-size: .9375rem; }

/* ========== Residences ========== */
.residences {
  padding: clamp(4rem, 10vw, 8rem) 0;
  background: var(--paper);
}
.residences__head { text-align: center; margin-bottom: 3.5rem; }
.residences__head .eyebrow { padding-left: 0; }
.residences__head .eyebrow::before { display: none; }
.residences__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.residence {
  background: var(--white);
  overflow: hidden;
  transition: all .4s var(--ease);
  border: 1px solid var(--line);
}
.residence:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -20px rgba(0,0,0,0.18);
}
.residence__img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  transition: transform .6s var(--ease);
}
.residence:hover .residence__img { transform: scale(1.05); }
.residence__body { padding: 1.75rem; }
.residence__body h4 {
  font-family: var(--ff-display);
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 .5rem;
  color: var(--green-900);
  letter-spacing: -0.015em;
}
.residence__meta {
  font-size: .875rem;
  color: var(--ink-60);
  margin-bottom: 1.25rem;
}

/* ========== Location ========== */
.location {
  padding: clamp(4rem, 10vw, 8rem) 0;
  background: var(--cream);
}
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.location__list {
  margin: 2rem 0;
  border-top: 1px solid var(--line);
}
.location__list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  font-size: 1rem;
}
.location__list span {
  font-family: var(--ff-display);
  font-style: normal;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green-700);
  letter-spacing: -0.01em;
}
.location__map {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 2px;
}
.location__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  transition: transform 1.2s var(--ease);
}
.location__map:hover img { transform: scale(1.03); }

/* ========== Gallery Preview ========== */
.gallery-preview {
  padding: clamp(4rem, 10vw, 8rem) 0;
  background: var(--paper);
}
.gallery-preview__head { text-align: center; margin-bottom: 3rem; }
.gallery-preview__head .eyebrow { padding-left: 0; }
.gallery-preview__head .eyebrow::before { display: none; }
.gallery-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.gallery-preview__item {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  overflow: hidden;
  transition: all .5s var(--ease);
  position: relative;
}
.gallery-preview__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26,46,26,0.5) 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.gallery-preview__item:hover::after { opacity: 1; }
.gallery-preview__item:hover { transform: scale(1.02); }

/* ========== Developer ========== */
.developer {
  background: var(--green-900);
  color: var(--cream);
}
.developer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}
.developer__image {
  background-size: cover;
  background-position: center;
}
.developer__text {
  padding: clamp(3rem, 7vw, 6rem) clamp(2rem, 5vw, 5rem);
  align-self: center;
}
.developer__text .h2 { color: var(--cream); }
.developer__text .h2 em { color: var(--gold-light); }
.developer__text p { color: rgba(245,241,232,0.75); }
.developer__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.developer__stat-num {
  font-family: var(--ff-display);
  font-size: 2.25rem;
  color: var(--gold-light);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.developer__stat-label {
  font-size: .75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,241,232,0.6);
  margin-top: .5rem;
}

/* ========== CTA / Contact ========== */
.cta {
  padding: clamp(4rem, 10vw, 8rem) 0;
  background: url('https://images.unsplash.com/photo-1500375592092-40eb2168fd21?w=1920&q=80') center/cover;
  position: relative;
  color: var(--cream);
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,46,26,0.92) 0%, rgba(36,61,34,0.88) 100%);
}
.cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.cta__text p { color: rgba(245,241,232,0.8); max-width: 420px; }
.cta__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  background: var(--cream);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--ink);
}
.cta__form label {
  display: block;
}
.cta__form label > span {
  display: block;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: .5rem;
}
.cta__form input,
.cta__form select {
  width: 100%;
  padding: .9rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .25s;
}
.cta__form input:focus,
.cta__form select:focus {
  outline: none;
  border-bottom-color: var(--green-900);
}
.cta__checkbox {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .8125rem;
  color: var(--ink-60);
  cursor: pointer;
}
.cta__checkbox input { width: auto; }
.cta__checkbox span { margin: 0; }
.cta__form .btn { grid-column: 1 / -1; }
.cta__success {
  grid-column: 1 / -1;
  color: var(--green-700);
  font-weight: 500;
  text-align: center;
  display: none;
}
.cta__success.visible { display: block; }

/* ========== Footer ========== */
.footer {
  background: var(--green-900);
  color: rgba(245,241,232,0.75);
  padding-top: clamp(3rem, 6vw, 5rem);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer__brand .nav__logo { color: var(--cream); margin-bottom: 1.25rem; }
.footer__brand .nav__logo-mark { background: var(--gold); color: var(--green-900); }
.footer__brand p { color: rgba(245,241,232,0.65); font-size: .9375rem; line-height: 1.7; }
.footer__phone {
  color: var(--gold-light);
  font-size: 1.125rem;
  font-weight: 500;
  display: inline-block;
  margin-top: .5rem;
}
.footer__phone:hover { color: var(--white); }
.footer h5 {
  color: var(--cream);
  font-family: var(--ff-display);
  font-size: .875rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer__col ul li { margin-bottom: .625rem; }
.footer__col ul li a { font-size: .9375rem; color: rgba(245,241,232,0.65); }
.footer__col ul li a:hover { color: var(--gold-light); }
.footer__social { display: flex; gap: .75rem; margin-bottom: 1.5rem; }
.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.3);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  transition: all .3s var(--ease);
}
.footer__social a:hover {
  background: var(--gold);
  color: var(--green-900);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.footer__newsletter { font-size: .875rem; color: rgba(245,241,232,0.6); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(245,241,232,0.12);
  font-size: .8125rem;
  color: rgba(245,241,232,0.5);
  margin-top: 0;
}
.footer__bottom a:hover { color: var(--gold-light); }

/* ========== Page Header (for sub pages) ========== */
.page-hero {
  position: relative;
  height: 55vh;
  min-height: 380px;
  color: var(--white);
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,46,26,0.4) 0%, rgba(26,46,26,0.75) 100%);
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero__eyebrow {
  font-size: .75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
  display: block;
}
.page-hero__title {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 700;
  line-height: 1;
  margin: 0;
  letter-spacing: -0.03em;
}
.page-hero__sub {
  max-width: 640px;
  margin: 1.5rem auto 0;
  color: rgba(255,255,255,0.85);
  font-size: 1.125rem;
}

/* ========== Reveal on scroll ========== */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-clip {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.4s cubic-bezier(0.85, 0, 0.15, 1);
}
.reveal-clip.in-view { clip-path: inset(0); }

.reveal-image img,
.reveal-image {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.4s cubic-bezier(0.85, 0, 0.15, 1);
}
.reveal-image.in-view img,
.reveal-image.in-view { clip-path: inset(0); }

/* ========== Custom cursor (desktop only) ========== */
@media (hover: hover) and (pointer: fine) {
  body.has-cursor { cursor: none; }
  body.has-cursor a, body.has-cursor button { cursor: none; }
  .cursor {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
  }
  .cursor__dot, .cursor__ring {
    position: absolute;
    top: 0; left: 0;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, width, height;
  }
  .cursor__dot {
    width: 6px; height: 6px;
    background: #ffffff;
    margin: -3px 0 0 -3px;
  }
  .cursor__ring {
    width: 36px; height: 36px;
    border: 1.5px solid #ffffff;
    margin: -18px 0 0 -18px;
    transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), background-color .25s;
  }
  .cursor.cursor--hover .cursor__ring {
    width: 72px; height: 72px;
    margin: -36px 0 0 -36px;
    background: rgba(255, 255, 255, 0.15);
  }
  .cursor.cursor--click .cursor__ring { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
}

/* ========== Scroll progress bar ========== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--green-500), var(--green-900));
  z-index: 200;
  pointer-events: none;
  transition: width .08s linear;
}

/* ========== Page transition overlay ========== */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  background: var(--green-900);
  transform: translateY(100%);
}
.page-transition.is-entering {
  animation: pt-reveal 1s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}
.page-transition.is-leaving {
  animation: pt-cover .65s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}
@keyframes pt-reveal {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}
@keyframes pt-cover {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}

/* ========== Parallax ========== */
.parallax {
  transform: translate3d(0, var(--parallax-y, 0), 0);
  will-change: transform;
}
.parallax-wrap { overflow: hidden; }
.parallax-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, 0), 0);
  will-change: transform;
}

/* ========== Magnetic button ========== */
.btn {
  will-change: transform;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transform: translate(-50%, -50%);
  transition: width .6s var(--ease), height .6s var(--ease);
  pointer-events: none;
}
.btn:hover::before { width: 300px; height: 300px; }
.btn--gold:hover::before { background: rgba(26, 46, 26, 0.15); }
.btn--ghost-dark:hover::before { background: rgba(245, 241, 232, 0.15); }

/* ========== Marquee ========== */
.marquee {
  padding: clamp(2rem, 5vw, 4rem) 0;
  background: var(--green-900);
  color: var(--cream);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.marquee__track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: marquee-scroll 35s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 4rem;
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 4.25rem);
  font-style: normal;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.03em;
}
.marquee__item em {
  font-style: normal;
  font-weight: 400;
  color: var(--gold-light);
}
.marquee__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== Enhanced reveal stagger ========== */
.stagger-children > * { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
.stagger-children.in-view > * { opacity: 1; transform: translateY(0); }
.stagger-children.in-view > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.in-view > *:nth-child(2) { transition-delay: .08s; }
.stagger-children.in-view > *:nth-child(3) { transition-delay: .16s; }
.stagger-children.in-view > *:nth-child(4) { transition-delay: .24s; }
.stagger-children.in-view > *:nth-child(5) { transition-delay: .32s; }
.stagger-children.in-view > *:nth-child(6) { transition-delay: .4s; }
.stagger-children.in-view > *:nth-child(7) { transition-delay: .48s; }
.stagger-children.in-view > *:nth-child(8) { transition-delay: .56s; }

/* ========== Enhanced card hovers ========== */
.residence { position: relative; }
.residence__img { transition: transform .9s cubic-bezier(0.25, 0.8, 0.25, 1); }
.residence:hover .residence__img { transform: scale(1.08); }
.residence__body { position: relative; z-index: 2; background: var(--white); }

.amenity { overflow: hidden; position: relative; }
.amenity::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--green-900);
  transform: translateY(100%);
  transition: transform .5s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: 0;
}
.amenity:hover::before { transform: translateY(0); }
.amenity > * { position: relative; z-index: 1; }
.amenity:hover { box-shadow: 0 20px 40px -15px rgba(0,0,0,.3); }

/* ========== Heading wipe effect ========== */
.h2-wipe {
  position: relative;
  display: inline-block;
  overflow: hidden;
}
.h2-wipe::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform: translateX(0);
  transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1);
}
.reveal.in-view .h2-wipe::after { transform: translateX(101%); }

/* ========== Responsive ========== */

/* Large laptop / small desktop */
@media (max-width: 1200px) {
  :root { --container: 1100px; }
  .h2 { font-size: clamp(1.875rem, 4vw, 3.25rem); }
}

/* iPad Pro / landscape tablet */
@media (max-width: 1100px) {
  .pillars__tabs { grid-template-columns: repeat(2, 1fr); }
  .pillars__tab { border-right: 1px solid var(--line); }
  .pillars__tab:nth-child(2n) { border-right: 0; }
  .pillars__tab:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stats__item:nth-child(3) { border-right: 0; }
  .residences__grid { grid-template-columns: repeat(2, 1fr); }
  .amenities__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer__col:last-child { grid-column: 1 / -1; }
  .marquee__item { gap: 2rem; }
  .marquee__track { gap: 2rem; }
}

/* iPad portrait / tablet */
@media (max-width: 960px) {
  .nav__menu {
    position: fixed;
    top: 118px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 1.25rem 2rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform .45s var(--ease-out), top .35s var(--ease);
    max-height: calc(100vh - 118px);
    overflow-y: auto;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.15);
  }
  /* When the page is scrolled, the topbar slides off and the nav sticks to top:0.
     Pull the menu up so it sits flush against the bottom of the nav. */
  .nav.scrolled .nav__menu { top: 80px; max-height: calc(100vh - 80px); }
  .nav__menu.open { transform: translateY(0); }
  .nav__menu a { font-size: 1.125rem; padding: .5rem 0; }
  .nav__toggle { display: flex; }

  .about__grid,
  .location__grid,
  .features__grid,
  .cta__inner,
  .developer__grid,
  .loc-intro__grid { grid-template-columns: 1fr; }

  .features__text { position: static; }
  .pillars__panel { grid-template-columns: 1fr; }
  .pillars__list { grid-template-columns: 1fr 1fr; }
  .gallery-preview__grid { grid-template-columns: repeat(2, 1fr); }
  .cta__form { grid-template-columns: 1fr 1fr; }
  .about__badge { right: 1rem; bottom: 1rem; padding: 1rem 1.5rem; }
  .hero__scroll { display: none; }
  .developer__image { min-height: 360px; }
  .developer__stats { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .residences__grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero { height: 45vh; min-height: 340px; }
  .facility-row, .facility-row:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
  .facility-row__img { min-height: 320px; }
  .plan, .plan--reverse { grid-template-columns: 1fr; direction: ltr; gap: 2rem; }
  .plan__features { grid-template-columns: 1fr 1fr; }
  .poi__grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr 1fr; }
}

/* Mobile landscape / large phone */
@media (max-width: 720px) {
  :root { --pad: clamp(1rem, 4vw, 1.5rem); }
  .nav__inner { height: 70px; }
  .topbar__inner { height: 34px; }
  .nav__menu { top: 104px; max-height: calc(100vh - 104px); }
  .nav.scrolled .nav__menu { top: 70px; max-height: calc(100vh - 70px); }

  .amenities__grid { grid-template-columns: repeat(2, 1fr); }
  .amenity { padding: 2rem 1rem; }
  .residences__grid { grid-template-columns: 1fr; }
  .gallery-preview__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__col:last-child { grid-column: 1 / -1; }
  .pillars__list { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stats__item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.2); }
  .stats__item:nth-child(even) { border-right: 0; }
  .stats__item:nth-child(-n+4) { border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: 1.5rem; margin-bottom: .5rem; }
  .cta__form { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .plan__features { grid-template-columns: 1fr; }
  .poi__grid { grid-template-columns: 1fr; }
  .hero__controls { bottom: 1.5rem; }
  .hero__dot { width: 28px; }
  .hero__dot.active { width: 48px; }
}

/* Small phone */
@media (max-width: 560px) {
  .topbar { font-size: .7rem; }
  .topbar__langs { gap: .7rem; }
  .hero { height: calc(100vh - 104px); min-height: 560px; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: .75rem; }
  .hero__cta .btn { width: 100%; }
  .pillars__tabs { grid-template-columns: 1fr; }
  .pillars__tab { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .pillars__tab:last-child { border-bottom: 0; }
  .stats__grid { grid-template-columns: 1fr; }
  .stats__item { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: 1.25rem; margin-bottom: .5rem; }
  .stats__item:last-child { border-bottom: 0; }
  .amenities__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-preview__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .developer__stats { grid-template-columns: 1fr; gap: 1.25rem; text-align: center; }
  .feature { grid-template-columns: 60px 1fr; padding: 1.25rem; gap: 1rem; }
  .feature__num { font-size: 2rem; }
  .btn { padding: .9rem 1.5rem; font-size: .75rem; }
  .developer__text { padding: 2rem 1.5rem; }
  .hero__title { font-size: clamp(2.25rem, 10vw, 3.5rem); }
  .hero__subtitle { font-size: 1rem; margin-bottom: 2rem; }
  .page-hero { height: 40vh; min-height: 300px; }
  .page-hero__title { font-size: clamp(2rem, 9vw, 3.5rem); }
}

/* Tiny phones (360px and below) */
@media (max-width: 380px) {
  .amenities__grid { grid-template-columns: 1fr; }
  .nav__logo-text { font-size: 1.25rem; }
  .nav__logo-mark { width: 32px; height: 32px; font-size: 1.05rem; }
  .h2 { font-size: 1.75rem; line-height: 1.1; }
  .cta__form { padding: 1.5rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .marquee__track { animation: none; }
  .hero__slide { transform: none !important; }
  .reveal, .reveal-clip, .reveal-image { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* Touch devices — ensure tap targets */
@media (hover: none) {
  .btn { min-height: 44px; }
  .nav__menu a { min-height: 44px; display: flex; align-items: center; }
  .topbar__langs a { min-height: 34px; display: inline-flex; align-items: center; padding: 0 6px; }
}

