:root {
  --black: #0b0b0a;
  --black-soft: #12120f;
  --gold: #a48d69;
  --warm-gray: #b7b2aa;
  --white: #f5f5f2;
  --green: #1e3528;
  --wine: #641e2d;
  --sand: #e8dfd0;
  --paper: #f4eee4;
  --text-dark: #171713;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

picture {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--black);
  background: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.chapter-dark {
  background: var(--black);
  color: var(--white);
}

.chapter-light {
  background: var(--paper);
  color: var(--text-dark);
}

.chapter-green {
  background: var(--green);
  color: var(--white);
}

.chapter-wine {
  background: var(--wine);
  color: var(--white);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px var(--gutter);
  color: var(--white);
  transition: background 500ms ease, color 500ms ease, padding 500ms ease;
}

.site-header.is-scrolled {
  color: var(--white);
  background: rgba(11, 11, 10, 0.78);
  backdrop-filter: blur(18px);
  padding-block: 14px;
}

.menu-open .site-header {
  background: transparent;
  backdrop-filter: none;
}

.brand {
  position: relative;
  z-index: 72;
  width: clamp(158px, 16.8vw, 228px);
  height: 53px;
}

.brand__logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transition: opacity 400ms ease;
}

.brand__logo--dark {
  opacity: 0;
}

.menu-toggle {
  position: relative;
  z-index: 72;
  display: grid;
  place-items: center;
  width: 54px;
  height: 44px;
  border: 0;
  padding: 0;
  color: currentColor;
  background: transparent;
  cursor: pointer;
}

.menu-toggle__line {
  display: block;
  width: 38px;
  height: 1px;
  background: currentColor;
  transition: transform 360ms ease, opacity 260ms ease;
}

.menu-toggle__line + .menu-toggle__line {
  margin-top: 8px;
}

.menu-open .menu-toggle__line:nth-child(1) {
  transform: translateY(9px) rotate(42deg);
}

.menu-open .menu-toggle__line:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle__line:nth-child(3) {
  transform: translateY(-9px) rotate(-42deg);
}

.site-nav {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  align-items: center;
  overflow-y: auto;
  padding: clamp(88px, 9vw, 126px) var(--gutter) clamp(28px, 4vw, 52px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(11, 11, 10, 0.88), rgba(100, 30, 45, 0.86)),
    url("assets/images/hero/hero1-1920.webp") center / cover;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 520ms ease, visibility 520ms ease;
}

.site-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 10, 0.52);
}

.menu-open .site-nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-nav__inner {
  position: relative;
  display: grid;
  gap: clamp(10px, 1.3vw, 16px);
  width: min(1080px, 100%);
  margin: 0 auto;
}

.site-nav a:not(.site-nav__contact) {
  position: relative;
  width: fit-content;
  opacity: 0;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.4vw, 5.2rem);
  font-weight: 500;
  line-height: 0.92;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 520ms ease, color 260ms ease;
}

.site-nav a:not(.site-nav__contact)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.menu-open .site-nav a:not(.site-nav__contact) {
  opacity: 0.92;
  transform: translateY(0);
}

.site-nav a:hover {
  color: var(--sand);
}

.site-nav__contacts {
  display: grid;
  grid-template-columns: 0.8fr 1.15fr 1fr;
  gap: clamp(18px, 3vw, 48px);
  margin: clamp(26px, 4vw, 46px) 0 0;
  padding-top: clamp(20px, 2.5vw, 30px);
  border-top: 1px solid rgba(245, 245, 242, 0.3);
  font-style: normal;
}

.site-nav__contact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(245, 245, 242, 0.82);
  font-size: clamp(0.76rem, 1vw, 0.92rem);
  line-height: 1.45;
}

.nav-icon {
  display: grid;
  flex: 0 0 28px;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(245, 245, 242, 0.38);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.82rem;
}

.site-nav__contact small {
  display: block;
  margin-bottom: 3px;
  color: rgba(245, 245, 242, 0.55);
  font-size: 0.64rem;
  font-weight: 600;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: -8vh 0;
  z-index: -3;
  height: calc(100% + 16vh);
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.045);
  animation: heroBreath 18s ease-in-out infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(11, 11, 10, 0.42), rgba(11, 11, 10, 0.14) 36%, rgba(11, 11, 10, 0.84)),
    radial-gradient(circle at 18% 62%, rgba(100, 30, 45, 0.32), transparent 46%);
}

.hero__content {
  width: min(980px, calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding-top: 10vh;
}

.eyebrow,
.section-kicker {
  margin: 0 0 28px;
  color: var(--gold);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 252, 244, 0.96);
  font-size: clamp(0.88rem, 0.95vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.48);
}

h1,
h2,
h3,
blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.06;
}

.hero h1 {
  max-width: 880px;
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  line-height: 1.02;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 30px 0 0;
  color: rgba(245, 245, 242, 0.88);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
}

.hero__support {
  margin-top: 14px !important;
  color: rgba(245, 245, 242, 0.74) !important;
}

.quiet-cta,
.whatsapp-link,
.text-link {
  display: inline-block;
  margin-top: 34px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero__footer {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(245, 245, 242, 0.68);
  font-size: 0.78rem;
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 30px;
  width: 1px;
  height: 76px;
  background: rgba(245, 245, 242, 0.28);
  overflow: hidden;
}

.scroll-cue::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  animation: drift 2.8s ease-in-out infinite;
}

.manifesto {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr);
  gap: clamp(36px, 8vw, 120px);
  align-items: center;
  padding: clamp(146px, 18vw, 260px) var(--gutter);
}

.manifesto__mark {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.manifesto__lines {
  max-width: 940px;
}

.manifesto__lines p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.93vw, 3.35rem);
  line-height: 1.17;
}

.manifesto__lines p + p {
  margin-top: clamp(24px, 3vw, 46px);
}

.section-heading {
  max-width: 1120px;
  margin: 0 auto clamp(54px, 8vw, 96px);
  padding-inline: var(--gutter);
}

.section-heading--split {
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.section-heading h2,
.living__intro h2,
.governance h2,
.contact h2 {
  max-width: 980px;
  font-size: clamp(2.22rem, 3.95vw, 3.7rem);
}

.section-heading p:not(.section-kicker),
.living__intro p,
.governance p,
.contact__intro p {
  max-width: 650px;
  color: rgba(245, 245, 242, 0.68);
}

.section-heading p:not(.section-kicker) + p,
.living__intro p + p,
.governance__copy p + p,
.contact__intro p + p,
.masterplan__copy p + p,
.teresopolis__copy > p + p {
  margin-top: 14px;
}

.chapter-light .section-heading p:not(.section-kicker),
.chapter-light .living__intro p,
.chapter-light .governance p {
  color: rgba(23, 23, 19, 0.68);
}

.territory {
  background: #e4d8c8;
  color: var(--text-dark);
  border-top: 1px solid rgba(23, 23, 19, 0.08);
  border-bottom: 1px solid rgba(23, 23, 19, 0.08);
  padding: clamp(100px, 13vw, 180px) 0;
}

.territory .section-kicker,
.territory .eyebrow {
  color: rgba(100, 30, 45, 0.74);
}

.territory .section-heading p:not(.section-kicker),
.territory__copy p {
  color: rgba(23, 23, 19, 0.68);
}

.territory .editorial-stats .stat-item {
  border-top-color: rgba(23, 23, 19, 0.18);
}

.territory .editorial-stats .stat-label {
  color: rgba(23, 23, 19, 0.58);
}

.wide-landscape {
  width: min(100% - var(--gutter), 1500px);
  margin: 0 auto;
}

.wide-landscape img {
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.wide-landscape--hero5 img {
  object-position: center 46%;
}

.wide-landscape picture,
.rail__item picture,
.living__feature picture,
.living__detail picture,
.masonry__item picture,
.masterplan__stage picture {
  width: 100%;
  height: 100%;
}

.image-mask {
  overflow: hidden;
}

.image-mask img {
  transform: scale(1.035);
  transition: transform 1200ms ease;
}

.image-mask.is-visible img,
.reveal.is-visible .image-mask img {
  transform: scale(1);
}

.territory__body {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.7fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
  width: min(100% - var(--gutter) * 2, var(--max));
  margin: clamp(64px, 8vw, 110px) auto 0;
}

.territory__copy h3 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.territory__copy p {
  color: rgba(23, 23, 19, 0.68);
}

.teresopolis {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  gap: clamp(42px, 7vw, 112px);
  align-items: center;
  padding: clamp(100px, 13vw, 180px) var(--gutter);
}

.teresopolis__media {
  min-height: clamp(520px, 72vh, 820px);
}

.teresopolis__media picture,
.teresopolis__media img {
  height: 100%;
}

.teresopolis__media img {
  object-fit: cover;
}

.teresopolis__copy {
  max-width: 650px;
}

.teresopolis__copy h2 {
  max-width: 620px;
  font-size: clamp(2.22rem, 3.95vw, 3.7rem);
}

.teresopolis__copy > p {
  color: rgba(23, 23, 19, 0.68);
}

.teresopolis__highlight {
  color: var(--wine) !important;
  font-family: var(--serif);
  font-size: clamp(1.28rem, 1.75vw, 1.72rem);
  line-height: 1.24;
}

.teresopolis__emphasis {
  color: var(--wine) !important;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  line-height: 1;
}

.teresopolis__notes {
  display: grid;
  gap: 24px;
  margin-top: clamp(34px, 5vw, 64px);
}

.teresopolis__notes div {
  border-top: 1px solid rgba(23, 23, 19, 0.16);
  padding-top: 18px;
}

.teresopolis__notes h3 {
  margin: 0 0 8px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.5vw, 1.48rem);
  font-weight: 500;
}

.teresopolis__notes p {
  margin: 0;
  color: rgba(23, 23, 19, 0.66);
  font-size: 0.92rem;
}

.editorial-stats,
.project-facts {
  display: grid;
  gap: clamp(18px, 3vw, 42px);
  margin: 0;
}

.editorial-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 48px) clamp(36px, 5vw, 56px);
}

.project-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editorial-stats .stat-item,
.project-facts div {
  min-width: 0;
  border-top: 1px solid rgba(245, 245, 242, 0.24);
  padding-top: 20px;
}

.editorial-stats .stat-value {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: 0;
}

.project-facts dt {
  font-family: var(--sans);
  font-size: clamp(1.65rem, 2.4vw, 2.8rem);
  font-weight: 300;
  line-height: 1;
}

.editorial-stats .stat-label {
  margin: 8px 0 0;
  color: rgba(245, 245, 242, 0.6);
  font-family: var(--serif);
  font-size: 1.5em;
  font-weight: 600;
  line-height: 1.65;
}

.project-facts dd {
  margin: 8px 0 0;
  color: rgba(245, 245, 242, 0.6);
  font-size: 0.78rem;
}

.vertical-gallery {
  background: var(--green);
  padding: clamp(80px, 10vw, 140px) 0;
}

.rail-shell {
  position: relative;
}

.rail {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  overflow-x: auto;
  padding: 0 var(--gutter) 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.rail::-webkit-scrollbar {
  display: none;
}

.rail-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245, 245, 242, 0.34);
  border-radius: 999px;
  color: rgba(245, 245, 242, 0.86);
  background: rgba(18, 20, 16, 0.2);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 260ms ease, border-color 260ms ease, color 260ms ease, opacity 260ms ease;
}

.rail-control:hover {
  border-color: rgba(245, 245, 242, 0.58);
  color: var(--white);
  background: rgba(18, 20, 16, 0.36);
}

.rail-control--prev {
  left: clamp(18px, 3vw, 44px);
}

.rail-control--next {
  right: clamp(18px, 3vw, 44px);
}

.rail__item {
  position: relative;
  flex: 0 0 clamp(250px, 28vw, 390px);
  height: min(70vh, 720px);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
  scroll-snap-align: center;
}

.rail__item img {
  height: 100%;
  object-fit: cover;
  transition: transform 900ms ease, filter 900ms ease;
}

.rail__item span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: var(--white);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.rail__item::after,
.masonry__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 10, 0.24);
  z-index: 1;
  opacity: 0;
  transition: opacity 300ms ease;
}

.rail__item:hover img,
.masonry__item:hover img {
  transform: scale(1.04);
  filter: saturate(0.9);
}

.rail__item:hover::after,
.rail__item:hover span {
  opacity: 1;
  transform: translateY(0);
}

.living {
  background: #e4d8c8;
  border-top: 1px solid rgba(23, 23, 19, 0.08);
  padding: clamp(112px, 14vw, 198px) var(--gutter);
}

.living__intro {
  width: min(100%, 940px);
  max-width: 620px;
  margin: 0 auto clamp(72px, 9vw, 128px);
}

.living__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 42px);
  row-gap: clamp(40px, 5.6vw, 78px);
  max-width: 940px;
  margin: 0 auto;
  align-items: end;
}

.living__feature,
.living__detail {
  margin: 0;
}

.living__feature img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.living__feature figcaption {
  max-width: 520px;
  margin-top: 28px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.72rem);
  line-height: 1.2;
}

.living__detail img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.living__feature {
  grid-column: 2 / span 5;
}

.living__detail.image-position--vida-model-landscape {
  grid-column: 7 / -1;
  align-self: end;
}

.living__detail.image-position--vida-model-landscape img {
  aspect-ratio: 1031 / 516;
}

.living__detail.image-position--vida-fire {
  grid-column: 2 / span 8;
}

.living__detail.image-position--vida-fire img {
  aspect-ratio: 1179 / 885;
}

.living__detail:nth-of-type(4) {
  grid-column: 2 / span 5;
}

.living__detail:nth-of-type(5) {
  grid-column: 7 / -1;
}

.living__detail--wide {
  grid-column: 2 / -1;
}

.living__detail--wide img {
  aspect-ratio: 16 / 8;
}

.image-position--vida-model-landscape img {
  object-position: center center;
}

.image-position--vida-fire img {
  object-position: center center;
}

.architecture {
  padding: clamp(96px, 13vw, 180px) var(--gutter);
}

.masonry {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 205px;
  gap: clamp(18px, 2.2vw, 32px);
  max-width: var(--max);
  margin: 0 auto;
}

.masonry__item {
  position: relative;
  grid-column: span 2;
  grid-row: span 2;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.masonry__item--wide {
  grid-column: span 4;
}

.masonry__item--tall {
  grid-row: span 3;
}

.masonry__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms ease, filter 900ms ease;
}

.contact-hero {
  position: relative;
  display: grid;
  place-items: end start;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(96px, 12vw, 160px) var(--gutter);
  isolation: isolate;
}

.contact-hero picture,
.contact-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.contact-hero img {
  object-fit: cover;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 11, 10, 0.56), rgba(11, 11, 10, 0.18) 58%, rgba(11, 11, 10, 0.44)),
    linear-gradient(180deg, rgba(11, 11, 10, 0.1), rgba(11, 11, 10, 0.54));
}

.contact-hero__content {
  max-width: 760px;
}

.contact-hero h2 {
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 5.6rem);
  font-weight: 400;
  line-height: 0.98;
}

.contact-hero p {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(245, 245, 242, 0.78);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  letter-spacing: 0;
  line-height: 1.75;
  text-transform: none;
}

.contact-hero p + p {
  margin-top: 12px;
}

.contact-hero .quiet-cta {
  margin-top: 38px;
}

.masterplan {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 1.08fr);
  gap: clamp(34px, 5.4vw, 90px);
  align-items: center;
  padding: clamp(96px, 13vw, 180px) var(--gutter);
}

.masterplan__copy {
  max-width: 560px;
}

.masterplan__copy h2 {
  font-size: clamp(2.25rem, 3.85vw, 3.62rem);
}

.masterplan__copy p {
  color: rgba(245, 245, 242, 0.72);
}

.masterplan__stage {
  position: relative;
}

.masterplan__stage img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.masterplan--image-only {
  background: #e4d8c8;
  color: var(--text-dark);
  display: block;
  padding: clamp(84px, 11vw, 150px) var(--gutter);
}

.masterplan--image-only .masterplan__stage {
  max-width: min(1500px, 100%);
  margin: 0 auto;
}

.masterplan--image-only .masterplan__stage img {
  aspect-ratio: auto;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.pin {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid var(--white);
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.pin span {
  position: absolute;
  left: 20px;
  top: 50%;
  width: max-content;
  padding: 6px 9px;
  color: var(--black);
  background: var(--white);
  font-size: 0.72rem;
  opacity: 0;
  transform: translateY(-50%) translateX(-4px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.pin:hover span,
.pin:focus-visible span {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.pin--one {
  left: 28%;
  top: 32%;
}

.pin--two {
  left: 62%;
  top: 48%;
}

.pin--three {
  left: 82%;
  top: 24%;
}

.project-facts {
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-facts dt {
  font-size: clamp(1.9rem, 2.8vw, 3.2rem);
}

.governance {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 0.62fr);
  gap: clamp(42px, 8vw, 120px);
  padding: clamp(96px, 13vw, 180px) var(--gutter);
}

.governance__copy {
  max-width: 760px;
  color: var(--text-dark);
  visibility: visible;
}

.governance__copy.reveal {
  opacity: 1;
  transform: none;
}

.governance__copy p {
  color: rgba(23, 23, 19, 0.82);
  visibility: visible;
}

.accordion {
  display: grid;
  gap: 12px;
  align-self: start;
}

.accordion details {
  border-top: 1px solid rgba(23, 23, 19, 0.18);
  padding: 18px 0;
}

.accordion summary {
  cursor: pointer;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
}

.accordion p {
  margin-bottom: 0;
  color: rgba(23, 23, 19, 0.78);
  line-height: 1.7;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: clamp(56px, 8.5vw, 132px);
  padding: clamp(96px, 13vw, 180px) var(--gutter);
}

.contact__intro {
  max-width: 560px;
}

.contact h2 {
  font-size: clamp(2rem, 3.2vw, 3.1rem);
}

.contact-socials {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  margin-top: 22px;
  color: var(--gold);
}

.contact-socials::before,
.contact-socials::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.24;
}

.contact-socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: inherit;
  opacity: 0.78;
  transition: opacity 220ms ease, transform 220ms ease;
}

.contact-socials a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.contact-socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px clamp(28px, 3.5vw, 52px);
  align-self: start;
}

.contact-form label {
  display: grid;
  gap: 12px;
}

.contact-form__full {
  grid-column: 1 / -1;
}

.contact-form__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.contact-form span {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(245, 245, 242, 0.42);
  border-radius: 0;
  padding: 14px 0 16px;
  color: var(--white);
  background: transparent;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(245, 245, 242, 0.36);
}

.contact-form select option {
  color: var(--text-dark);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.contact-form input:invalid,
.contact-form select:invalid,
.contact-form textarea:invalid {
  box-shadow: none;
}

.contact-form button {
  width: fit-content;
  border: 1px solid rgba(245, 245, 242, 0.55);
  padding: 15px 28px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 260ms ease, color 260ms ease;
}

.contact-form button:hover {
  color: var(--wine);
  background: var(--white);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.form-note {
  align-self: center;
  margin: 0;
  color: rgba(245, 245, 242, 0.7);
  font-size: 0.84rem;
}

.form-note[data-status="success"] {
  color: rgba(245, 245, 242, 0.88);
}

.form-note[data-status="error"] {
  color: rgba(245, 245, 242, 0.72);
}

.site-footer {
  padding: 54px var(--gutter) 30px;
  border-top: 1px solid rgba(245, 245, 242, 0.12);
}

.site-footer__main {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.site-footer__main img {
  width: 190px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  color: rgba(245, 245, 242, 0.72);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.site-footer address {
  color: rgba(245, 245, 242, 0.68);
  font-style: normal;
  font-size: 0.9rem;
}

.footer-signature {
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 245, 242, 0.08);
  color: rgba(245, 245, 242, 0.18);
  font-size: 0.7rem;
  line-height: 1.4;
}

.footer-signature p {
  margin: 0;
}

.footer-signature p + p {
  margin-top: 4px;
}

.footer-signature a {
  color: rgba(245, 245, 242, 0.26);
  transition: color 220ms ease;
}

.footer-signature a:hover {
  color: rgba(245, 245, 242, 0.46);
}

.whatsapp-float {
  position: fixed;
  right: clamp(18px, 2.6vw, 34px);
  bottom: calc(clamp(18px, 2.6vw, 34px) + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  display: block;
  width: 48px;
  height: 48px;
  transition: transform 220ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
}

.whatsapp-float img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 44px;
    height: 44px;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 7vw;
  background: rgba(11, 11, 10, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(100%, 1280px);
  max-height: 78vh;
  object-fit: contain;
}

.lightbox p {
  margin: 18px 0 0;
  color: rgba(245, 245, 242, 0.72);
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  border: 1px solid rgba(245, 245, 242, 0.52);
  padding: 11px 16px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1000ms ease, transform 1000ms ease;
}

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

@keyframes drift {
  0% {
    transform: translateY(-100%);
  }
  55%,
  100% {
    transform: translateY(100%);
  }
}

@keyframes heroBreath {
  from {
    transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.045);
  }
  to {
    transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.08);
  }
}

@media (max-width: 980px) {
  .hero__footer {
    display: none;
  }

  .manifesto,
  .territory__body,
  .teresopolis,
  .living__grid,
  .masterplan,
  .governance,
  .contact,
  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .teresopolis__copy h2,
  .living__intro h2,
  .governance h2,
  .contact h2,
  .masterplan__copy h2 {
    font-size: clamp(2rem, 6vw, 3.1rem);
    line-height: 1.08;
  }

  .living__intro {
    margin-bottom: clamp(58px, 8vw, 92px);
  }

  .living__grid {
    max-width: 740px;
  }

  .living__feature,
  .living__detail,
  .living__detail--wide,
  .living__detail.image-position--vida-model-landscape,
  .living__detail.image-position--vida-fire,
  .living__detail:nth-of-type(4),
  .living__detail:nth-of-type(5) {
    grid-column: auto;
  }

  .teresopolis__media {
    min-height: min(72vh, 620px);
  }

  .editorial-stats,
  .project-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 230px;
  }

  .masonry__item,
  .masonry__item--wide {
    grid-column: span 1;
  }

  .site-nav__contacts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-top: 18px;
  }

  .brand {
    width: 142px;
    height: 53px;
  }

  .site-nav {
    padding-top: 104px;
  }

  .site-nav a:not(.site-nav__contact) {
    font-size: clamp(1.72rem, 8.8vw, 2.8rem);
    line-height: 1.02;
  }

  .hero h1 {
    font-size: clamp(2.125rem, 10vw, 2.625rem);
  }

  .eyebrow,
  .section-kicker {
    margin-bottom: 20px;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
  }

  .manifesto {
    min-height: auto;
    padding-block: clamp(110px, 30vw, 150px);
  }

  .manifesto__lines p {
    font-size: clamp(1.64rem, 7.4vw, 2.39rem);
    line-height: 1.18;
  }

  .section-heading h2,
  .teresopolis__copy h2,
  .living__intro h2,
  .governance h2,
  .contact h2,
  .masterplan__copy h2 {
    font-size: clamp(1.9rem, 9.2vw, 2.55rem);
  }

  .hero__content {
    padding-top: 4vh;
  }

  .wide-landscape img {
    aspect-ratio: 4 / 5;
  }

  .rail__item {
    flex-basis: 78vw;
    height: 62vh;
  }

  .rail-control {
    width: 38px;
    height: 38px;
    background: rgba(18, 20, 16, 0.28);
  }

  .rail-control--prev {
    left: 12px;
  }

  .rail-control--next {
    right: 12px;
  }

  .living__detail--wide {
    grid-column: auto;
  }

  .living__grid {
    gap: 34px;
  }

  .living__feature figcaption {
    margin-top: 22px;
  }

  .masonry {
    display: block;
  }

  .teresopolis {
    gap: 42px;
  }

  .teresopolis__media {
    min-height: 68vh;
    margin-inline: calc(var(--gutter) * -1);
  }

  .masterplan--image-only {
    padding-inline: 14px;
  }

  .masonry__item {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 18px;
  }

  .masonry__item img {
    aspect-ratio: 4 / 5;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .editorial-stats,
  .project-facts {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
