/* 
   Aeirisa — A Life, Elevated.
   Main Stylesheet (Alpine Sky & Bronze Theme)
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Color Palette — Overhauled from green to premium Slate Blue & Bronze */
  --forest: #1B2A32;        /* Deep Slate Blue (Peaks & Sky) */
  --forest-deep: #111A20;   /* Deeper Slate Blue (Shadows) */
  --ivory: #F2EFE8;         /* Warm Stone Ivory */
  --stone: #F7F5F0;         /* Soft Background Sand */
  --gold: #B68B5E;          /* Rich Copper-Bronze Accent */
  --gold-soft: #CFAB83;     /* Muted Bronze Accent */
  --charcoal: #3C3C3B;      /* Warm Charcoal Body Text */
  --muted: #7E7A70;         /* Muted Gray */
  --line: rgba(27, 42, 50, 0.12);
  
  /* Layout Options */
  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Global resets & standards */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--stone);
  color: var(--charcoal);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  color: var(--forest);
  margin: 0;
  line-height: 1.08;
}

::selection {
  background: var(--gold);
  color: #fff;
}

/* Layout Utilities */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 64px);
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}

.section {
  padding: clamp(72px, 11vw, 160px) 0;
}

.divider {
  width: 46px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
  margin: 26px 0;
}

.divider.center {
  margin: 26px auto;
}

.fullbleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Scroll Reveals */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Loader Screen */
#loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.9s var(--ease), visibility 0.9s var(--ease);
  animation: loaderAuto 0.9s var(--ease) 3s forwards;
}

#loader.hide {
  opacity: 0;
  visibility: hidden;
  animation: none;
}

@keyframes loaderAuto {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

#loader .mark {
  width: 96px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.15s forwards;
}

#loader .lname {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  letter-spacing: 0.42em;
  color: var(--forest);
  text-transform: uppercase;
  padding-left: 0.42em;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.35s forwards;
}

#loader .ltag {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.55s forwards;
}

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

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), backdrop-filter 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}

header.frost {
  background: rgba(244, 239, 227, 0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  transition: color 0.5s var(--ease);
}

.brand .brand-mark {
  width: 34px;
  flex: 0 0 34px;
  height: 34px;
  object-fit: contain;
}

.brand .brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  padding-left: 0.34em;
  line-height: 1;
}

header.frost .brand {
  color: var(--forest);
}

.menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.menu a {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  transition: color 0.3s var(--ease);
  position: relative;
}

.menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}

.menu a:not(.btn):hover::after {
  width: 100%;
}

header.frost .menu a {
  color: var(--forest);
}

.btn {
  display: inline-block;
  border: 1px solid currentColor;
  padding: 11px 22px;
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  cursor: pointer;
  background: transparent;
  color: #fff;
  font-family: inherit;
}

.menu .btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.menu .btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

header.frost .menu .btn {
  color: var(--forest);
  border-color: var(--forest);
}

header.frost .menu .btn:hover {
  background: var(--forest);
  color: var(--ivory);
  border-color: var(--forest);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  margin: 5px 0;
  transition: 0.3s var(--ease);
}

header.frost .nav-toggle span {
  background: var(--forest);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(60px, 10vh, 120px);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(27, 42, 50, 0.44) 0%, rgba(27, 42, 50, 0.10) 38%, rgba(27, 42, 50, 0.62) 100%);
}

.hero-inner {
  color: #fff;
  max-width: 840px;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.hero h1 {
  color: #fff;
  font-size: clamp(54px, 10vw, 138px);
  font-weight: 300;
  letter-spacing: 0.005em;
  margin: 0.14em 0 0.28em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
}

.hero .sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.04em;
  font-weight: 300;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-cta .btn.solid {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.hero-cta .btn.solid:hover {
  background: #fff;
  color: var(--forest);
  border-color: #fff;
}

/* Philosophy Section */
.philosophy {
  background: var(--ivory);
}

.philosophy .lead {
  font-family: 'Cormorant Garamond', serif;
  color: var(--forest);
  font-size: clamp(30px, 4.6vw, 62px);
  line-height: 1.16;
  font-weight: 400;
  max-width: 15ch;
  margin-top: 0.4em;
}

.philosophy .lead .g {
  color: var(--gold);
  font-style: italic;
}

.philosophy .body {
  max-width: 44ch;
  margin-top: 34px;
  color: var(--muted);
  font-weight: 300;
}

/* The Land Section */
.land-opener {
  position: relative;
  height: clamp(320px, 52vh, 580px);
  overflow: hidden;
}

.land-opener img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.land-opener .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(24px, 5vw, 60px);
  background: linear-gradient(0deg, rgba(27, 42, 50, 0.55), transparent);
}

.land-opener .cap span {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--ivory);
  font-size: clamp(20px, 3vw, 34px);
}

.land-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  margin: clamp(48px, 8vw, 90px) 0 50px;
}

.land-head .r {
  text-align: right;
  margin-left: auto;
}

.land-head h2 {
  font-size: clamp(34px, 5vw, 60px);
  max-width: 16ch;
}

.land-head p {
  max-width: 34ch;
  color: var(--muted);
  font-weight: 300;
  margin: 0;
}

.masonry {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.plate {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ivory);
}

.plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.plate:hover img {
  transform: scale(1.05);
}

.plate figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 20px 22px;
  color: #fff;
  background: linear-gradient(0deg, rgba(27, 42, 50, 0.78), rgba(27, 42, 50, 0));
}

.plate figcaption b {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.02em;
  display: block;
}

.plate figcaption em {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: rgba(244, 239, 227, 0.85);
}

.p-tall {
  grid-column: span 5;
  grid-row: span 2;
  min-height: 560px;
}

.p-wide {
  grid-column: span 7;
  min-height: 270px;
}

.p-half {
  grid-column: span 4;
  min-height: 300px;
}

/* Cottage Collection Villa Tiers (New Brochure Section) */
.blueprint-sec {
  background: var(--stone);
  border-top: 1px solid var(--line);
}

.blueprint-header {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 56px;
}

.blueprint-header h2 {
  font-size: clamp(38px, 5.6vw, 68px);
}

.ratio-bar {
  display: flex;
  background: var(--line);
  height: 48px;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ratio-green {
  background: var(--forest);
  color: var(--ivory);
  display: flex;
  align-items: center;
  padding: 0 20px;
  width: 85%;
}

.ratio-built {
  background: var(--gold-soft);
  color: var(--forest-deep);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px;
  width: 15%;
}

.blueprint-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 48px;
  margin-top: 40px;
}

.villa-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.villa-card {
  background: var(--stone);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.villa-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 30px -15px rgba(27, 42, 50, 0.15);
}

.villa-card .v-tier {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
}

.villa-card h3 {
  font-size: 26px;
  margin: 6px 0 12px;
}

.villa-card .v-size {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 20px;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.villa-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
}

.spec-sidebar {
  background: #FCFAF6;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px;
}

.spec-sidebar h3 {
  font-size: 24px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 10px;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-item label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 500;
}

.spec-item span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  color: var(--forest);
  font-weight: 500;
}

/* Lifestyle Section */
.lifestyle {
  background: var(--forest);
  color: var(--ivory);
}

.life-top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 56px;
}

.lifestyle h2 {
  color: var(--ivory);
  font-size: clamp(38px, 5.6vw, 72px);
  max-width: 14ch;
  line-height: 1.02;
}

.life-top p {
  color: rgba(244, 239, 227, 0.7);
  font-weight: 300;
  margin: 0;
  max-width: 34ch;
}

.life-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.life-card {
  background: var(--forest);
  padding: 44px 38px;
  transition: background 0.5s var(--ease);
}

.life-card:hover {
  background: #23353F;
}

.life-card .ic {
  width: 30px;
  height: 30px;
  color: var(--gold-soft);
  margin-bottom: 22px;
}

.life-card h3 {
  color: var(--ivory);
  font-size: 27px;
  margin-bottom: 8px;
}

.life-card p {
  margin: 0;
  color: rgba(244, 239, 227, 0.72);
  font-size: 15px;
  font-weight: 300;
}

/* Travel / Connectivity Section (New Brochure Section) */
.connect-sec {
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.connect-card {
  background: var(--stone);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 34px 28px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.connect-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px -15px rgba(27, 42, 50, 0.15);
}

.connect-card .c-mode {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
}

.connect-card h3 {
  font-size: 25px;
  margin: 8px 0 2px;
}

.connect-card .c-time {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  color: var(--forest);
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.1;
}

.connect-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.5;
}

/* Map / Beyond Section */
.beyond {
  background: var(--stone);
}

.mapwrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
}

.mapgrid2 {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 340px);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 34px 90px -46px rgba(27, 42, 50, 0.55);
  background: var(--stone);
}

.mapimg {
  position: relative;
  line-height: 0;
  background: #111e25;
}

.mapimg > img {
  width: 100%;
  display: block;
}

.hot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: clamp(20px, 1.9vw, 28px);
  height: clamp(20px, 1.9vw, 28px);
  border-radius: 50%;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
  z-index: 2;
}

.hot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(182, 139, 94, 0.85);
  box-shadow: 0 0 0 5px rgba(182, 139, 94, 0.16);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.hot:hover::before, .hot.active::before, .hot:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.hot .pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  opacity: 0.9;
  transition: 0.3s var(--ease);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hot:hover .pin, .hot.active .pin {
  background: #8a5a22;
  transform: translate(-50%, -50%) scale(1.25);
}

.hot.peak .pin {
  background: #5f6f8a;
  width: 8px;
  height: 8px;
}

.hot.peak::before {
  border-color: rgba(95, 111, 138, 0.85);
  box-shadow: 0 0 0 5px rgba(95, 111, 138, 0.16);
}

.hot.estate .pin {
  width: 11px;
  height: 11px;
  background: var(--forest);
}

.mapdetail {
  background: var(--stone);
  border-left: 1px solid var(--line);
  padding: clamp(28px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.mapdetail .msphoto {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  background: var(--ivory);
}

.mapdetail .kicker {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.mapdetail h3 {
  font-size: clamp(28px, 2.4vw, 36px);
  margin: 10px 0 3px;
  line-height: 1.05;
}

.mapdetail .dist {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.mapdetail .desc {
  margin-top: 16px;
  color: var(--muted);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.65;
}

.mapdetail .detail-hint {
  margin-top: 22px;
  font-size: 15px;
  color: var(--muted);
  opacity: 0.72;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}

.map-hint {
  max-width: 1400px;
  margin: 16px auto 0;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}

@media (max-width: 820px) {
  .mapgrid2 {
    grid-template-columns: 1fr;
  }
  .mapdetail {
    border-left: 0;
    border-top: 1px solid var(--line);
    justify-content: flex-start;
  }
  .hot .pin {
    width: 8px;
    height: 8px;
  }
}

/* Gallery Section */
.gallery h2 {
  font-size: clamp(38px, 5.4vw, 68px);
  max-width: 16ch;
  margin-bottom: 46px;
}

.g-grid {
  columns: 3;
  column-gap: 18px;
}

.gallery figure {
  margin: 0 0 18px;
  break-inside: avoid;
  overflow: hidden;
  border-radius: 6px;
}

.gallery img {
  width: 100%;
  transition: transform 1.1s var(--ease);
}

.gallery figure:hover img {
  transform: scale(1.055);
}

/* Investment Section (New Brochure Section) */
.investment-sec {
  background: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.invest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 48px;
}

.invest-card {
  background: var(--stone);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 44px;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.invest-card:hover {
  border-color: var(--gold);
  box-shadow: 0 14px 40px -20px rgba(27, 42, 50, 0.18);
}

.invest-card .i-kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}

.invest-card h3 {
  font-size: 30px;
  margin-bottom: 16px;
}

.invest-card p {
  margin: 0;
  font-size: 15.5px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.65;
}

/* Brochure Section */
.brochure {
  background: var(--forest);
  color: var(--ivory);
}

.brochure-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.brochure h2 {
  color: var(--ivory);
  font-size: clamp(38px, 6vw, 72px);
  margin: 0 0 0.28em;
}

.brochure p.intro {
  color: rgba(244, 239, 227, 0.74);
  font-weight: 300;
  margin-bottom: 42px;
  font-size: 18px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 8px;
  font-weight: 500;
}

.field input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(244, 239, 227, 0.34);
  color: var(--ivory);
  font-family: inherit;
  font-size: 16px;
  padding: 10px 2px;
  letter-spacing: 0.02em;
  transition: border-color 0.3s var(--ease);
}

.field input::placeholder {
  color: rgba(244, 239, 227, 0.4);
}

.field input:focus {
  outline: none;
  border-color: var(--gold);
}

.form .btn.submit {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  margin-top: 14px;
  padding: 15px;
  font-size: 13px;
  letter-spacing: 0.16em;
  width: 100%;
}

.form .btn.submit:hover {
  background: var(--ivory);
  color: var(--forest);
  border-color: var(--ivory);
}

.form-note {
  font-size: 12px;
  color: rgba(244, 239, 227, 0.55);
  text-align: center;
  margin-top: 6px;
  font-weight: 300;
}

.form-msg {
  min-height: 20px;
  font-size: 13px;
  color: var(--gold-soft);
  text-align: center;
  letter-spacing: 0.04em;
}

/* Footer Section */
footer {
  background: var(--forest-deep);
  color: rgba(244, 239, 227, 0.8);
  padding: 80px 0 40px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.foot-brand .brand-mark {
  width: 90px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.foot-brand .fname {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ivory);
  padding-left: 0.34em;
}

.foot-brand .ftag {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-soft);
  margin-top: 10px;
  font-size: 17px;
}

footer h4 {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  margin-bottom: 18px;
}

footer a, footer p {
  font-size: 14.5px;
  font-weight: 300;
  color: rgba(244, 239, 227, 0.72);
  margin: 0 0 9px;
  transition: color 0.3s var(--ease);
}

footer a:hover {
  color: var(--gold-soft);
}

.foot-base {
  border-top: 1px solid rgba(244, 239, 227, 0.14);
  margin-top: 60px;
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(244, 239, 227, 0.5);
}

/* Media Queries for Responsiveness */
@media (max-width: 960px) {
  .blueprint-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .map-frame {
    max-width: none;
  }
  .placard {
    position: static;
    width: auto;
    margin: 16px;
    backdrop-filter: none;
  }
  .life-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .life-top {
    grid-template-columns: 1fr;
  }
  .p-tall, .p-wide, .p-half {
    grid-column: span 12;
    grid-row: auto;
    min-height: 300px;
  }
  .p-tall {
    min-height: 420px;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
  .land-head .r {
    text-align: left;
    margin-left: 0;
  }
}

@media (max-width: 820px) {
  .connect-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .invest-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 340px);
    background: var(--ivory);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    box-shadow: -20px 0 60px -30px rgba(0, 0, 0, 0.4);
  }
  .menu.open {
    transform: none;
  }
  .menu a {
    color: var(--forest);
    font-size: 15px;
  }
  .menu .btn {
    color: var(--forest);
    border-color: var(--forest);
  }
  .nav-toggle {
    display: block;
    z-index: 2;
  }
  .g-grid {
    columns: 2;
  }
  .life-grid {
    grid-template-columns: 1fr;
  }
  .land-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    align-items: flex-end;
  }
  .hero-media img {
    object-position: center 28%;
  }
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .btn {
    text-align: center;
  }
  .villa-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .g-grid {
    columns: 1;
  }
  .hero h1 {
    font-size: clamp(48px, 15vw, 74px);
  }
  .connect-grid {
    grid-template-columns: 1fr;
  }
}

/* Home Page Summary Teaser Sections */
.teaser-sec {
  background: var(--stone);
  border-bottom: 1px solid var(--line);
}

.teaser-sec.alt {
  background: var(--ivory);
}

.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(30px, 6vw, 70px);
  align-items: center;
}

.teaser-grid.reverse {
  grid-template-columns: 1.1fr 1fr;
}

.teaser-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.teaser-content h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.15;
}

.teaser-content p {
  color: var(--muted);
  font-weight: 300;
  margin: 0;
}

.teaser-img {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/10;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px -25px rgba(27, 42, 50, 0.2);
}

.teaser-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.teaser-img:hover img {
  transform: scale(1.03);
}

.menu a.active {
  color: var(--gold);
}

.menu a.active::after {
  width: 100% !important;
}

@media (max-width: 820px) {
  .teaser-grid, .teaser-grid.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .teaser-grid.reverse .teaser-img {
    order: -1;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  z-index: 1000;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  background-color: #22c35e;
  color: #fff;
}

@media (max-width: 760px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* Lightbox Dialog Slider */
#galleryDialog {
  border: none;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  outline: none;
  display: none;
}

#galleryDialog[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

#galleryDialog::backdrop {
  background-color: rgba(27, 42, 50, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrapper {
  width: 90%;
  height: 85%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  opacity: 1;
}

.lightbox-img-wrapper img.changing {
  opacity: 0;
  transform: scale(0.97);
}

/* Lightbox Controls */
.lightbox-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, border-color 0.3s, transform 0.2s;
  user-select: none;
  z-index: 1010;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.lightbox-btn:active {
  transform: scale(0.95);
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

.lightbox-close {
  top: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
}

.lightbox-btn svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 760px) {
  .lightbox-prev {
    left: 20px;
    bottom: 30px;
    top: auto;
  }
  .lightbox-next {
    right: 20px;
    bottom: 30px;
    top: auto;
  }
  .lightbox-close {
    top: 25px;
    right: 25px;
    width: 42px;
    height: 42px;
  }
  .lightbox-img-wrapper {
    width: 95%;
    height: 70%;
  }
}

