:root {
  --ink: #171512;
  --muted: #676059;
  --paper: #f5efe4;
  --paper-deep: #e6d8c2;
  --sand: #efe4d0;
  --stone: #c8bca9;
  --bronze: #9b6a36;
  --bronze-dark: #6f461f;
  --jade: #23483f;
  --sea: #789d9a;
  --white: #fffaf2;
  --line: rgba(23, 21, 18, 0.16);
  --shadow: 0 24px 70px rgba(31, 24, 16, 0.16);
  --display: "Canela", "Cormorant Garamond", Georgia, serif;
  --body: "Avenir Next", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.lightbox-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(23, 21, 18, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 21, 18, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
}

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

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

button,
input,
select {
  font: inherit;
}

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

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

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 220ms var(--ease), box-shadow 220ms var(--ease), color 220ms var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(245, 239, 228, 0.94);
  box-shadow: 0 12px 36px rgba(23, 21, 18, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-text {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms var(--ease);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav .nav-cta {
  padding: 11px 16px;
  color: var(--white);
  background: var(--bronze);
}

.site-nav .nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(15, 13, 10, 0.78), rgba(15, 13, 10, 0.4) 46%, rgba(15, 13, 10, 0.2)),
    linear-gradient(0deg, rgba(15, 13, 10, 0.78), transparent 42%);
}

.hero-placeholder {
  width: 100%;
  height: 100%;
}

.hero-picture,
.media-frame {
  display: block;
  overflow: hidden;
}

.hero-picture,
.hero-picture img,
.media-frame img {
  width: 100%;
  height: 100%;
}

.hero-picture img,
.media-frame img {
  object-fit: cover;
}

.hero-picture img {
  object-position: center center;
  transform: scale(1.02);
  transform-origin: center center;
  filter: contrast(1.04) saturate(1.04);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  width: min(1180px, calc(100% - 36px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 132px 0 52px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--bronze);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--paper-deep);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: clamp(48px, 7.5vw, 112px);
}

h2 {
  font-size: clamp(36px, 5vw, 76px);
}

h3 {
  font-size: clamp(25px, 2.4vw, 36px);
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 250, 242, 0.84);
  font-size: clamp(17px, 1.6vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 48px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

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

.button.primary {
  color: var(--white);
  background: var(--bronze);
}

.button.primary:hover {
  background: var(--bronze-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 250, 242, 0.55);
}

.button.ghost {
  color: var(--ink);
  border-color: var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(720px, 100%);
  margin: 0;
  background: rgba(255, 250, 242, 0.22);
  border: 1px solid rgba(255, 250, 242, 0.22);
}

.hero-stats div {
  padding: 20px;
  background: rgba(23, 21, 18, 0.34);
  backdrop-filter: blur(14px);
}

.hero-stats dt {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
}

.hero-stats dd {
  margin: 7px 0 0;
  color: rgba(255, 250, 242, 0.76);
  font-size: 13px;
}

/* Shared sections */
.section {
  padding: clamp(76px, 10vw, 142px) clamp(18px, 4vw, 56px);
}

.section-heading {
  width: min(960px, 100%);
  margin: 0 auto 42px;
}

.section-heading.compact {
  width: min(740px, 100%);
  margin-left: 0;
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 20px);
}

/* Essentials */
.essentials {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: center;
  padding: clamp(54px, 7vw, 92px) clamp(18px, 4vw, 56px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.essentials-copy {
  justify-self: end;
  width: min(520px, 100%);
}

.essentials-copy h2 {
  font-size: clamp(34px, 4vw, 58px);
}

.essentials-copy p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
}

.essentials-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) 1fr;
  width: min(720px, 100%);
  min-height: 260px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(31, 24, 16, 0.08);
}

.essentials-main {
  display: grid;
  align-content: end;
  gap: 12px;
  padding: clamp(24px, 3vw, 34px);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(23, 21, 18, 0.12), rgba(23, 21, 18, 0.5)),
    var(--jade);
}

.essentials-main span,
.essentials-specs dt {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.essentials-main strong {
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 500;
  line-height: 0.92;
}

.essentials-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line);
}

.essentials-specs div {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 130px;
  padding: 20px;
  background: var(--white);
}

.essentials-specs dt {
  color: var(--bronze);
}

.essentials-specs dd {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1;
}

.media-placeholder {
  display: grid;
  min-height: 240px;
  place-items: center;
  color: rgba(255, 250, 242, 0.76);
  background:
    linear-gradient(135deg, rgba(35, 72, 63, 0.7), rgba(155, 106, 54, 0.58)),
    repeating-linear-gradient(45deg, rgba(255, 250, 242, 0.12) 0 1px, transparent 1px 20px),
    #2c332f;
  border: 1px solid rgba(255, 250, 242, 0.16);
}

.media-placeholder span {
  padding: 8px 12px;
  color: var(--white);
  background: rgba(23, 21, 18, 0.38);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* Investment */
.investment {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(35, 72, 63, 0.08), transparent 34%),
    linear-gradient(180deg, var(--sand), var(--paper));
}

.investment::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(23, 21, 18, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 21, 18, 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}

.investment-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 6vw, 86px);
  width: min(1180px, 100%);
  margin: 0 auto;
  align-items: start;
}

.investment-intro {
  position: sticky;
  top: 110px;
}

.investment-intro h2 {
  font-size: clamp(40px, 5vw, 78px);
}

.investment-intro p:not(.eyebrow) {
  max-width: 560px;
  margin: 24px 0 0;
  color: #50483f;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  gap: 12px;
}

.feature-card {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: clamp(18px, 3vw, 34px);
  min-height: 178px;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 250, 242, 0.78);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(31, 24, 16, 0.08);
  backdrop-filter: blur(16px);
}

.feature-number {
  display: block;
  color: rgba(155, 106, 54, 0.56);
  font-family: var(--display);
  font-size: clamp(46px, 5vw, 74px);
  font-weight: 500;
  line-height: 0.9;
}

.feature-card h3 {
  max-width: 520px;
  font-size: clamp(27px, 2.4vw, 38px);
  line-height: 1;
}

.feature-card p {
  max-width: 560px;
  margin: 14px 0 0;
  color: #5a5148;
  font-size: 16px;
  line-height: 1.75;
}

/* Villas */
.villas {
  background: var(--jade);
  color: var(--white);
}

.villas .eyebrow {
  color: var(--paper-deep);
}

.villas .section-heading p {
  color: rgba(255, 250, 242, 0.72);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(34px, 6vw, 86px);
  width: min(1180px, 100%);
  margin: 0 auto;
  align-items: start;
}

.villa-list {
  display: grid;
  gap: 18px;
}

.villa-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) 1fr;
  min-height: 260px;
  border: 1px solid rgba(255, 250, 242, 0.18);
  background: rgba(255, 250, 242, 0.08);
}

.villa-card.featured {
  background: rgba(255, 250, 242, 0.14);
}

.villa-image {
  display: block;
  min-height: 100%;
}

.villa-body {
  padding: 28px;
}

.villa-kicker {
  margin: 0 0 8px;
  color: var(--paper-deep);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.villa-body ul {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  padding-left: 18px;
  color: rgba(255, 250, 242, 0.78);
}

.villa-body a {
  color: var(--paper-deep);
  font-weight: 900;
  text-transform: uppercase;
}

.brochure-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 250, 242, 0.18);
  background: rgba(255, 250, 242, 0.1);
}

.brochure-cta span {
  color: rgba(255, 250, 242, 0.76);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.brochure-cta .button {
  color: var(--paper-deep);
  border-color: rgba(255, 250, 242, 0.34);
}

.brochure-cta .button:hover {
  border-color: var(--paper-deep);
}

/* Pricing */
.pricing {
  background: var(--paper);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto 18px;
}

.price-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 310px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
}

.highlighted-price {
  color: var(--white);
  background: var(--jade);
  border-color: rgba(255, 250, 242, 0.16);
}

.price-card strong {
  font-family: var(--display);
  font-size: clamp(42px, 4.5vw, 66px);
  font-weight: 500;
  line-height: 0.95;
}

.price-card p {
  margin: 0;
  color: var(--muted);
}

.highlighted-price p {
  color: rgba(255, 250, 242, 0.74);
}

.deal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.deal-panel {
  padding: clamp(24px, 3vw, 38px);
  background: var(--white);
  border: 1px solid var(--line);
}

.payment-steps {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.payment-steps div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: #fffdf8;
}

.payment-steps strong {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.payment-steps span,
.lease-panel li {
  color: var(--muted);
}

.lease-panel {
  background: var(--ink);
  color: var(--white);
}

.lease-panel .eyebrow {
  color: var(--paper-deep);
}

.lease-panel ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding-left: 18px;
}

.lease-panel li {
  color: rgba(255, 250, 242, 0.74);
}

/* Floorplans */
.floorplans {
  background: var(--white);
}

.floorplan-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.floorplan-card {
  display: grid;
  min-height: 640px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(31, 24, 16, 0.1);
}

.primary-plan {
  grid-template-rows: minmax(420px, 1fr) auto;
}

.secondary-plan {
  grid-template-rows: minmax(330px, 0.86fr) auto;
}

.floorplan-preview {
  padding: clamp(16px, 2.8vw, 34px);
  background:
    linear-gradient(135deg, rgba(35, 72, 63, 0.08), rgba(155, 106, 54, 0.08)),
    var(--paper);
}

.floorplan-preview .media-frame {
  height: 100%;
  min-height: 300px;
  background: #fffdf8;
  border: 1px solid rgba(23, 21, 18, 0.1);
  box-shadow: inset 0 0 0 10px rgba(255, 250, 242, 0.74);
}

.floorplan-preview img {
  object-fit: contain;
  padding: clamp(12px, 2vw, 24px);
  background: #fffdf8;
}

.floorplan-content {
  display: grid;
  gap: 14px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
}

.plan-tag {
  width: max-content;
  padding: 8px 11px;
  color: var(--bronze-dark);
  background: rgba(155, 106, 54, 0.12);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.floorplan-content p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.floorplan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

/* Lifestyle */
.lifestyle {
  background: var(--white);
}

.lifestyle-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  width: min(1180px, 100%);
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.lifestyle-image {
  min-height: 560px;
}

.lifestyle-copy {
  display: grid;
  align-content: center;
  padding: clamp(34px, 5vw, 70px);
  background: var(--ink);
  color: var(--white);
}

.lifestyle-copy .eyebrow {
  color: var(--paper-deep);
}

.lifestyle-copy p:not(.eyebrow) {
  color: rgba(255, 250, 242, 0.72);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.service-list span {
  padding: 9px 12px;
  color: var(--paper-deep);
  border: 1px solid rgba(255, 250, 242, 0.22);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

/* Location */
.location {
  background: var(--paper);
}

.location-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.map-card,
.location-slider {
  min-height: 520px;
}

.location-slider {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.location-slides,
.location-slide {
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.location-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 420ms var(--ease), transform 720ms var(--ease);
}

.location-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.location-slider::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 42%;
  content: "";
  background: linear-gradient(0deg, rgba(23, 21, 18, 0.58), transparent);
  pointer-events: none;
}

.location-slider-ui {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.location-slider-ui > button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  background: rgba(23, 21, 18, 0.46);
  border: 1px solid rgba(255, 250, 242, 0.42);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}

.location-slider-ui > button:hover {
  background: rgba(155, 106, 54, 0.82);
  transform: translateY(-1px);
}

.location-slider-ui span {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
  transform: translateY(-2px);
}

.location-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  background: rgba(23, 21, 18, 0.42);
  border: 1px solid rgba(255, 250, 242, 0.2);
  backdrop-filter: blur(10px);
}

.location-dots button {
  width: 28px;
  height: 3px;
  padding: 0;
  background: rgba(255, 250, 242, 0.42);
  border: 0;
  cursor: pointer;
}

.location-dots button.is-active {
  background: var(--paper-deep);
}

.distance-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.distance-list div {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 128px;
  padding: 24px;
  background: var(--white);
}

.distance-list strong {
  font-family: var(--display);
  font-size: 42px;
  font-weight: 500;
}

.distance-list span {
  color: var(--muted);
}

/* Gallery */
.gallery {
  background: var(--ink);
  color: var(--white);
}

.gallery .eyebrow {
  color: var(--paper-deep);
}

.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(1180px, 100%);
  margin: 0 auto 22px;
}

.gallery-controls button {
  min-height: 42px;
  padding: 10px 15px;
  color: rgba(255, 250, 242, 0.74);
  background: transparent;
  border: 1px solid rgba(255, 250, 242, 0.2);
  cursor: pointer;
}

.gallery-controls button.is-active {
  color: var(--ink);
  background: var(--paper-deep);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 12px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  display: block;
  min-height: auto;
  padding: 0;
  color: var(--white);
  background: var(--jade);
  border: 0;
  cursor: zoom-in;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-item:hover {
  transform: translateY(-3px);
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(23, 21, 18, 0.5), transparent 55%);
  opacity: 0;
  transition: opacity 180ms var(--ease);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

.gallery-item:focus-visible {
  outline: 2px solid var(--paper-deep);
  outline-offset: 3px;
}

.gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease);
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.045);
}

.gallery-label {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 250, 242, 0.88);
  font-size: 11px;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 180ms var(--ease);
}

.gallery-item:hover .gallery-label,
.gallery-item:focus-visible .gallery-label {
  opacity: 1;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

/* Quick enquiry */
.quick-enquiry {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(52px, 7vw, 92px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(135deg, rgba(155, 106, 54, 0.12), transparent 38%),
    var(--paper-deep);
  border-bottom: 1px solid var(--line);
}

.quick-enquiry-copy {
  justify-self: end;
  width: min(520px, 100%);
}

.quick-enquiry-copy h2 {
  font-size: clamp(34px, 4vw, 60px);
}

.quick-enquiry-copy p:not(.eyebrow) {
  max-width: 460px;
  margin: 18px 0 0;
  color: var(--muted);
}

.compact-form {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  width: min(820px, 100%);
  padding: clamp(18px, 2.4vw, 28px);
}

.compact-form .form-status {
  grid-column: 1 / -1;
}

.compact-form .form-submit {
  min-width: 184px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 76px 1fr 76px;
  align-items: center;
  gap: 10px;
  padding: 22px;
  color: var(--white);
  background: rgba(12, 11, 9, 0.94);
  backdrop-filter: blur(18px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-frame {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  width: 100%;
  height: min(86svh, 820px);
  margin: 0;
}

.lightbox-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 250, 242, 0.78);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lightbox-close,
.lightbox-arrow {
  color: var(--white);
  background: rgba(255, 250, 242, 0.08);
  border: 1px solid rgba(255, 250, 242, 0.2);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}

.lightbox-close:hover,
.lightbox-arrow:hover {
  background: rgba(155, 106, 54, 0.76);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  min-height: 42px;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lightbox-arrow {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  justify-self: center;
}

.lightbox-arrow span {
  font-family: var(--display);
  font-size: 44px;
  line-height: 1;
  transform: translateY(-3px);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 90px);
  background: var(--paper-deep);
}

.contact-copy {
  align-self: center;
  max-width: 620px;
  justify-self: end;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 20px);
}

.lead-form {
  display: grid;
  gap: 14px;
  width: min(560px, 100%);
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
}

.lead-form span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 0;
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 2px solid rgba(155, 106, 54, 0.3);
  border-color: var(--bronze);
}

.form-submit {
  width: 100%;
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--jade);
  font-size: 14px;
}

/* Footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(18px, 4vw, 56px) 92px;
  color: var(--white);
  background: var(--ink);
}

.site-footer div {
  display: grid;
  gap: 5px;
}

.site-footer span {
  color: rgba(255, 250, 242, 0.62);
}

.site-footer a {
  color: var(--paper-deep);
  font-weight: 900;
  text-transform: uppercase;
}

.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 12;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile-cta a {
  display: grid;
  min-height: 48px;
  place-items: center;
  color: var(--white);
  background: var(--bronze);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(23, 21, 18, 0.2);
}

.mobile-cta a + a {
  background: var(--jade);
}

@media (max-width: 940px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 18px 22px;
    color: var(--ink);
    background: rgba(245, 239, 228, 0.98);
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: grid;
    gap: 0;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    margin-top: 12px;
    padding: 14px;
    text-align: center;
    border-bottom: 0;
  }

  .essentials,
  .investment-layout,
  .pricing-grid,
  .split,
  .lifestyle-panel,
  .location-grid,
  .floorplan-grid,
  .deal-grid,
  .quick-enquiry,
  .contact {
    grid-template-columns: 1fr;
  }

  .essentials-copy {
    justify-self: start;
  }

  .contact-copy {
    justify-self: start;
  }

  .quick-enquiry-copy {
    justify-self: start;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lightbox {
    grid-template-columns: 52px 1fr 52px;
    padding: 16px;
  }

  .lightbox-arrow {
    width: 48px;
    height: 48px;
  }
}

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

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(15, 13, 10, 0.02), rgba(15, 13, 10, 0.12) 46%, rgba(15, 13, 10, 0.66) 88%),
      linear-gradient(90deg, rgba(15, 13, 10, 0.18), rgba(15, 13, 10, 0.04));
  }

  .hero-picture img {
    object-position: center center;
    height: 122%;
    transform: translateY(-18%);
  }

  .hero-content {
    text-shadow: 0 2px 10px rgba(15, 13, 10, 0.62), 0 10px 34px rgba(15, 13, 10, 0.52);
  }

  .hero-content h1 {
    text-shadow: 0 2px 8px rgba(15, 13, 10, 0.72), 0 14px 44px rgba(15, 13, 10, 0.62);
  }

  .hero-copy {
    color: rgba(255, 250, 242, 0.94);
    text-shadow: 0 2px 8px rgba(15, 13, 10, 0.78), 0 10px 28px rgba(15, 13, 10, 0.58);
  }

  .brand-text {
    font-size: 12px;
  }

  .hero-content {
    width: calc(100% - 28px);
    padding-bottom: 86px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-stats,
  .essentials-card,
  .villa-card,
  .brochure-cta,
  .feature-card,
  .payment-steps div,
  .compact-form,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: auto;
  }

  .hero-stats div {
    padding: 16px;
    background: rgba(23, 21, 18, 0.46);
    backdrop-filter: blur(10px);
  }

  .brochure-cta {
    align-items: stretch;
  }

  .essentials {
    padding: 52px 14px;
  }

  .essentials-specs {
    grid-template-columns: 1fr;
  }

  .essentials-specs div {
    min-height: auto;
  }

  .section {
    padding: 66px 14px;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-number {
    font-size: 52px;
  }

  .investment-intro {
    position: static;
  }

  .villa-image,
  .lifestyle-image,
  .map-card,
  .location-slider {
    min-height: 300px;
  }

  .floorplan-card {
    min-height: auto;
  }

  .primary-plan,
  .secondary-plan {
    grid-template-rows: auto auto;
  }

  .floorplan-preview .media-frame {
    min-height: 260px;
  }

  .location-slider-ui {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .location-slider-ui > button {
    width: 40px;
    height: 40px;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .lightbox {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .lightbox-frame {
    grid-column: 1 / -1;
    grid-row: 1;
    height: 78svh;
  }

  .lightbox-arrow.previous,
  .lightbox-arrow.next {
    grid-row: 2;
  }

  .lightbox-arrow.previous {
    justify-self: start;
  }

  .lightbox-arrow.next {
    justify-self: end;
  }

  .lightbox-frame figcaption {
    display: grid;
    gap: 4px;
  }

  .site-footer {
    display: grid;
  }

  .mobile-cta {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
