:root {
  --forest: #102033;
  --forest-deep: #0a1624;
  --forest-mid: #18344f;
  --gold: #c2784a;
  --gold-deep: #a35e35;
  --cream: #f3f0eb;
  --cream-2: #e7e1d6;
  --ink: #1a2330;
  --muted: #5c6570;
  --white: #fff;
  --line: rgba(194, 120, 74, 0.28);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
  --header-h: 88px;
  --section-y: 88px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.modal.is-open,
.modal.is-open[hidden] {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 26px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  touch-action: manipulation;
  pointer-events: auto;
  transition: 0.25s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--forest-deep);
  border-color: var(--gold);
}

.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.btn-block { width: 100%; }

.btn.is-loading {
  pointer-events: none;
  opacity: 0.85;
}

.btn .btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  margin-left: 10px;
  border: 1.5px solid rgba(10, 22, 36, 0.25);
  border-top-color: var(--forest-deep);
  border-radius: 50%;
  animation: nikoo-spin 0.7s linear infinite;
}

.btn.is-loading .btn-spinner { display: inline-block; }
.btn.is-loading .btn-label { opacity: 0.85; }

/* Page loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: var(--forest-deep);
  color: var(--cream);
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: loader-rise 0.7s ease both;
}

.page-loader-mark {
  position: relative;
  width: 108px;
  height: 108px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
}

.page-loader-mark img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 50%;
  mix-blend-mode: lighten;
}

.page-loader-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(380px, 82vw);
  object-fit: contain;
  mix-blend-mode: lighten;
}

.loader-ring {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 50%;
  border: 1.5px solid rgba(194, 120, 74, 0.22);
  border-top-color: var(--gold);
  animation: nikoo-spin 0.85s linear infinite;
}

@keyframes nikoo-spin {
  to { transform: rotate(360deg); }
}

@keyframes loader-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .loader-ring,
  .btn .btn-spinner,
  .page-loader-inner { animation: none; }
}

@media (max-width: 640px) {
  .page-loader-mark {
    width: 92px;
    height: 92px;
    margin-bottom: 18px;
  }
  .page-loader-mark img {
    width: 58px;
    height: 58px;
  }
  .page-loader-logo { height: 42px; }
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow.light { color: var(--gold); }

.eyebrow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  background: var(--gold);
  vertical-align: 1px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header-h);
  background: #fff;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 32, 51, 0.1);
}

.header-inner {
  height: 100%;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 64px;
  width: auto;
  max-width: min(420px, 58vw);
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  color: var(--forest);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
}

.nav a:hover,
.nav a.is-active { color: var(--gold-deep); }

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--gold);
}

.header-inner > .btn { flex-shrink: 0; }

.header-phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  line-height: 1.2;
}

.header-phone {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.header-phone:hover { color: var(--white); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-close { display: none; }
.nav-cta { display: none; }

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 6px auto;
  background: var(--forest);
}

/* Hero — split panel */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(380px, 44%) 1fr;
  background: url("../images/hero.jpg") center / cover no-repeat;
}

.hero-panel {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--forest) 88%, transparent) 0%,
    color-mix(in srgb, var(--forest) 62%, transparent) 70%,
    color-mix(in srgb, var(--forest) 18%, transparent) 100%
  );
  color: var(--white);
  padding: calc(var(--header-h) + 72px) 64px 72px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-panel h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(64px, 8vw, 104px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
}

.hero-num {
  font-weight: 500;
  font-size: 1.12em;
  letter-spacing: 0;
  line-height: 0.8;
}

.hero-launch {
  margin: 18px 0 0;
  color: var(--gold);
  font-size: 20px;
}

.hero-launch em { font-family: var(--serif); font-style: italic; }
.diamond { margin-right: 6px; }

.hero-offer {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-left: 2px solid var(--gold);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 28rem;
}

.hero-lede {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 300;
  max-width: 26rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-visual {
  background: linear-gradient(90deg, color-mix(in srgb, var(--forest) 28%, transparent), transparent 45%);
}

.overview,
.location,
.configs,
.gallery,
.why,
.contact {
  padding: var(--section-y) 0;
  scroll-margin-top: var(--header-h);
}

.amenities {
  padding: var(--section-y) 0 0;
  scroll-margin-top: var(--header-h);
}

.overview-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 96px;
  align-items: start;
  margin-bottom: 48px;
}

.overview-top h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4.6vw, 54px);
  font-weight: 500;
  line-height: 1.14;
  color: var(--forest);
}

.overview-top p {
  margin: 0;
  padding-top: 8px;
  font-size: 16px;
  line-height: 1.8;
  color: #3a4450;
}

.overview-top p strong {
  color: var(--forest);
  font-weight: 600;
}

.overview-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.overview-stats article {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 28px 20px 0 0;
  border-right: 1px solid var(--line);
}

.overview-stats article:not(:first-child) {
  padding-left: 24px;
}

.overview-stats article:last-child {
  border-right: 0;
}

.overview-stats strong {
  font-family: var(--serif);
  font-size: clamp(32px, 3.2vw, 42px);
  font-weight: 600;
  line-height: 1;
  color: var(--gold-deep);
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}

.overview-stats span {
  display: block;
  max-width: 16ch;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Location */
.section-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.section-intro h2,
.configs-head h2,
.gallery .section-intro h2,
.why h2,
.contact .section-intro h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.12;
  color: var(--forest);
}

.section-intro h2::after,
.configs-head h2::after,
.contact .section-intro h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 16px auto 0;
}

.section-intro p,
.configs-head p {
  margin: 16px 0 0;
  color: var(--muted);
  font-weight: 300;
}

.location-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.9fr);
  background: var(--forest);
  color: var(--white);
  overflow: hidden;
  border-radius: 16px;
}

.location-main { padding: 24px 28px 16px; }

.location-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.location-cats button {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.88);
  padding: 10px 16px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  cursor: pointer;
}

.location-cats button::after {
  content: "";
  display: inline-block;
  margin-left: 8px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
}

.location-cats button.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--forest-deep);
}

.location-cats button.is-active::after {
  border-top-color: transparent;
  border-bottom-color: currentColor;
  transform: translateY(-2px);
}

.location-panel { min-height: 0; }

.place-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.place-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.22);
  font-size: 15px;
}

.place-list li:last-child { border-bottom: 0; }

.place-list span { min-width: 0; }

.place-list em {
  font-style: normal;
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
}

.map-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 360px;
  border-radius: 24px;
  cursor: pointer;
}

.map-panel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.map-panel-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(7px);
  transform: scale(1.12);
}

.map-pin {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 22px;
  height: 22px;
  margin: -28px 0 0 -11px;
  background: #e53935;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
  filter: blur(1px);
}

.map-panel-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 12px;
  min-height: 360px;
  padding: 40px 24px;
  background: rgba(10, 22, 36, 0.52);
  color: var(--white);
  pointer-events: none;
}

.map-panel-content .btn { pointer-events: none; }

.map-panel h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 500;
}

.map-panel p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 22rem;
}

.lock-icon { color: var(--gold); }

/* Configurations */
.configs {
  background: var(--cream-2);
}

.configs-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.view-toggle {
  display: inline-flex;
  background: var(--white);
  padding: 4px;
  margin-bottom: 28px;
  border: 1px solid rgba(16, 32, 51, 0.12);
}

.view-toggle button {
  border: 0;
  background: transparent;
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--muted);
}

.view-toggle button.is-active {
  background: var(--forest);
  color: var(--white);
}

.config-table { width: 100%; }
.config-table[hidden] { display: none !important; }

.config-row {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
}

.config-head {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.config-head span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.config-head span:nth-child(2),
.config-row p { text-align: center; }

.config-head span:nth-child(3),
.config-row .btn {
  justify-self: end;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.config-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--forest);
}

.config-row p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.floor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.floor-grid[hidden] { display: none !important; }

.floor-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 280px;
  padding: 32px 22px;
  text-align: center;
  color: var(--white);
  border-radius: 12px;
  background: #2a3038;
  cursor: pointer;
}

.floor-card-bg {
  position: absolute;
  inset: -28px;
  width: calc(100% + 56px);
  height: calc(100% + 56px);
  object-fit: cover;
  filter: blur(16px);
  transform: scale(1.12);
  z-index: 0;
  pointer-events: none;
}

.floor-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(16, 24, 32, 0.45), rgba(16, 24, 32, 0.62));
  pointer-events: none;
}

.floor-card > *:not(.floor-card-bg) {
  position: relative;
  z-index: 2;
}

.floor-card .lock-icon { color: var(--white); }

.floor-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
}

.floor-card p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 18rem;
}

.floor-card .btn {
  margin-top: 8px;
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

.plan-viewer {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 24px 32px;
  background: rgba(8, 16, 28, 0.92);
}

.plan-viewer[hidden] { display: none !important; }

.plan-viewer-close {
  position: absolute;
  top: 16px;
  right: 22px;
  border: 0;
  background: none;
  color: var(--white);
  font-size: 36px;
  cursor: pointer;
}

.plan-viewer h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--white);
}

.plan-viewer img {
  max-width: min(1100px, 94vw);
  max-height: 80vh;
  object-fit: contain;
  background: #d8d8d8;
}

/* Amenities */
.amenities {
  background: var(--forest);
  color: var(--white);
}

.amenities .section-intro {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.amenities .section-intro h2 { color: var(--cream); }

.amenities .section-intro p {
  margin: 18px auto 0;
  max-width: 640px;
  color: rgba(246, 242, 234, 0.72);
  line-height: 1.75;
}

.amenity-kicker {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.amenity-block {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.amenity-block + .amenity-block {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.amenity-blurb {
  max-width: 640px;
}

.amenity-blurb h3 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--cream);
}

.amenity-blurb p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(246, 242, 234, 0.72);
}

.amenity-band {
  background: #faf7f2;
  margin-top: 40px;
}

.amenity-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.amenity-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 0;
  padding: 22px 12px;
  text-align: center;
  border-right: 1px solid rgba(16, 32, 51, 0.12);
  border-bottom: 1px solid rgba(16, 32, 51, 0.12);
}

.amenity-grid li:nth-child(3n) { border-right: 0; }
.amenity-grid li:nth-child(n + 7) { border-bottom: 0; }

.amenity-grid svg {
  width: 28px;
  height: 28px;
  display: block;
  margin: 0 auto;
  color: var(--gold);
}

.amenity-grid span {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--forest);
}

/* Gallery */
.gallery { background: var(--cream); }

.gallery .section-intro { margin-bottom: 56px; }

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.gallery-filters button {
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--forest);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.gallery-filters button.is-active {
  background: var(--gold);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tile {
  margin: 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tile:hover img { transform: scale(1.04); }

.tile figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.tile.is-hidden { display: none; }

/* Why */
.why {
  background: var(--forest-deep);
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px 72px;
  align-items: stretch;
}

.why-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.why h2 {
  color: var(--white);
  max-width: 11ch;
  margin: 0 0 22px;
}

.why-lead {
  margin: 0 0 36px;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
}

.why-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 48px;
}

.why-stats article {
  padding: 4px 18px 4px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.why-stats article:not(:first-child) { padding-left: 18px; }

.why-stats article:last-child { border-right: 0; }

.why-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(28px, 2.6vw, 36px);
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.why-stats strong small {
  font-family: inherit;
  font-size: 0.52em;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-left: 2px;
}

.why-stats span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
}

.why-endorsed { margin-top: auto; }

.why-endorsed .why-lead { margin-bottom: 0; }

.why-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.why-pills li {
  display: flex;
  align-items: center;
  flex: 1;
  min-height: 64px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.why-pills em {
  font-style: normal;
  color: var(--gold);
}

/* Contact */
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(10, 22, 36, 0.08);
}

.contact-aside {
  background: var(--forest);
  color: var(--white);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.contact-aside blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
  line-height: 1.35;
}

.contact-aside p { margin: 0; color: rgba(255, 255, 255, 0.78); }

.enquiry-form {
  padding: 48px 40px;
  background: var(--white);
}

.enquiry-form h3 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--forest);
}

input {
  width: 100%;
  padding: 13px 14px;
  margin-bottom: 12px;
  border: 1px solid #cfd3d8;
  background: var(--white);
  color: var(--ink);
}

input:focus {
  outline: 1px solid var(--gold);
  border-color: var(--gold);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-fine {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.contact-address,
.contact-phone {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--gold);
  font-size: 14px;
}

.contact-address {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-phone {
  margin-top: 12px;
  align-items: center;
  letter-spacing: 0.04em;
}

.contact-phone:hover { color: var(--white); }

/* Footer */
.site-footer {
  background: #070d14;
  color: #9aa3ad;
  padding: 28px 0 32px;
  font-size: 12px;
  text-align: center;
}

.site-footer a { color: var(--gold); }

.disclaimer {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: #7a838c;
}

/* Floaters */
.to-top,
.chat-fab {
  position: fixed;
  right: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--forest);
  color: var(--gold);
  cursor: pointer;
  z-index: 30;
}

.call-fab,
.wa-fab {
  position: fixed;
  right: 22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 32;
  box-shadow: 0 10px 24px rgba(8, 16, 28, 0.28);
}

.call-fab {
  bottom: 84px;
  background: var(--gold);
  color: var(--forest-deep);
}

.wa-fab {
  bottom: 22px;
  background: #25d366;
  color: var(--white);
}

.chat-fab { display: none; }

.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 82px;
  width: 280px;
  padding: 18px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  z-index: 31;
}

.chat-panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.chat-panel header button {
  border: 0;
  background: none;
  font-size: 22px;
  cursor: pointer;
}

.chat-panel p { font-size: 14px; color: var(--muted); }

.mobile-dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  grid-template-columns: 1fr 1fr;
  min-height: 56px;
}

.dock-whatsapp,
.dock-enquire {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.dock-whatsapp {
  background: var(--forest);
  color: var(--white);
}

.dock-enquire {
  background: var(--gold);
  color: var(--forest-deep);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 16, 28, 0.62);
  display: none;
  place-items: center;
  align-content: center;
  justify-items: center;
  z-index: 9999;
  padding: 24px 16px 80px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal.is-open,
.modal.is-open[hidden] {
  display: grid !important;
}

.modal-card {
  width: min(440px, 100%);
  background: var(--cream);
  padding: 40px 36px 32px;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(8, 16, 28, 0.28);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(16, 32, 51, 0.14);
  border-radius: 50%;
  background: var(--white);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.modal-card .eyebrow {
  margin-bottom: 8px;
}

.modal-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  color: var(--forest);
}

.modal-card p { color: var(--muted); font-size: 14px; }

.modal-card form { margin-top: 22px; }

body.modal-open { overflow: hidden; }

/* Responsive */
@media (max-width: 980px) {
  :root { --section-y: 56px; --header-h: 84px; }
  .container { width: calc(100% - 40px); }
  .header-inner {
    width: calc(100% - 32px);
    justify-content: space-between;
    gap: 0;
  }
  .site-header {
    height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
    background: #fff;
  }
  .logo {
    position: static;
    left: auto;
    transform: none;
    margin-right: auto;
  }
  .logo img {
    height: 54px;
    max-width: min(320px, 68vw);
  }
  .site-header.is-scrolled { background: #fff; }
  .nav {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    z-index: 200;
    margin: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 72px 24px 32px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #0c1826;
    border-radius: 0;
    box-shadow: none;
  }
  .nav.is-open { display: flex; }
  .nav a {
    font-family: var(--serif);
    font-size: clamp(22px, 6.2vw, 32px);
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    color: #edd9c3;
    line-height: 1.15;
    flex-shrink: 0;
  }
  .nav a:hover,
  .nav a.is-active { color: var(--gold); }
  .nav a.is-active::after { display: none; }
  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: calc(16px + env(safe-area-inset-top, 0px));
    right: 16px;
    z-index: 201;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: transparent;
    color: var(--white);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }
  .nav-toggle { display: block; }
  .header-phones { display: none; }
  .header-inner > .btn { display: none; }
  .nav-cta { display: none; }
  body.nav-open { overflow: hidden; }

  .hero {
    grid-template-columns: 1fr;
    min-height: 100svh;
    background: url("../images/hero.jpg") center / cover no-repeat;
  }
  .hero-visual { display: none; }
  .hero-panel {
    min-height: 100svh;
    padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 18px) 24px calc(56px + 20px);
    background: linear-gradient(
      180deg,
      rgba(10, 22, 36, 0.55) 0%,
      rgba(10, 22, 36, 0.38) 45%,
      rgba(10, 22, 36, 0.62) 100%
    );
    justify-content: flex-start;
  }
  .hero-panel h1 { font-size: clamp(52px, 14vw, 72px); }
  .hero-launch { margin-top: 16px; }
  .hero-offer { margin-top: 20px; padding: 14px 16px; }
  .hero-lede { margin-top: 18px; }
  .hero-actions {
    flex-direction: column;
    margin-top: 28px;
    gap: 12px;
  }
  .hero-actions .btn { width: 100%; }

  .overview-top,
  .location-shell,
  .why-grid,
  .contact-card { grid-template-columns: 1fr; }
  .overview-top { gap: 16px; margin-bottom: 28px; }
  .overview-stats {
    grid-template-columns: 1fr 1fr;
  }
  .overview-stats article {
    padding: 18px 12px 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .overview-stats article:nth-child(2n) {
    padding-left: 16px;
    border-right: 0;
  }
  .overview-stats article:nth-child(n + 5) {
    grid-column: 1 / -1;
    border-bottom: 0;
    padding-left: 0;
  }
  .overview-stats strong {
    font-size: 28px;
    white-space: normal;
  }

  .location-shell {
    background: transparent;
    color: var(--white);
    overflow: visible;
    border-radius: 0;
    gap: 16px;
  }
  .location-main {
    padding: 18px 16px 10px;
    background: var(--forest);
    border-radius: 20px;
    border: 0;
  }
  .location-cats {
    overflow: visible;
    flex-wrap: wrap;
    margin: 0 0 12px;
    padding-bottom: 0;
  }
  .location-cats button {
    white-space: nowrap;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.88);
    border-color: rgba(255, 255, 255, 0.28);
    padding: 8px 14px;
    font-size: 10px;
  }
  .location-cats button::after { display: none; }
  .place-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    color: var(--cream);
    font-size: 15px;
    padding: 14px 0;
  }
  .place-list em {
    color: var(--cream);
    font-size: 11px;
    padding: 3px 10px;
  }
  .map-panel {
    min-height: 340px;
    padding: 0;
    border-radius: 24px;
  }
  .map-panel-content {
    min-height: 340px;
    padding: 36px 20px;
  }
  .map-panel h3 { font-size: 28px; }
  .map-panel p { max-width: 20rem; }

  .config-head { display: none; }
  .config-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }
  .config-row p,
  .config-row .btn { text-align: left; justify-self: start; }
  .config-row .btn { width: 100%; }
  .floor-grid { grid-template-columns: 1fr 1fr; }
  .configs { padding-bottom: calc(var(--section-y) + 16px); }

  .why-endorsed { margin-top: 8px; }
  .why h2 { max-width: none; }
  .why-lead { max-width: none; }
  .why-stats { grid-template-columns: 1fr 1fr; }
  .why-stats article:nth-child(2n) { border-right: 0; }
  .why-stats article:nth-child(-n + 2) {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }
  .why-grid { gap: 36px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery .section-intro { margin-bottom: 28px; }

  .amenity-block + .amenity-block {
    margin-top: 28px;
    padding-top: 28px;
  }

  .to-top,
  .call-fab,
  .wa-fab { right: 14px; width: 48px; height: 48px; }
  .chat-fab,
  .wa-fab { display: none; }
  .to-top { bottom: 78px; }
  .call-fab { bottom: 72px; }
  .mobile-dock { display: grid; }
  .location { padding-bottom: calc(var(--section-y) + 24px); }
  body { padding-bottom: 64px; }
  .chat-panel { right: 14px; bottom: 70px; width: min(280px, calc(100vw - 28px)); }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 28px); }
  .header-inner { width: calc(100% - 28px); }
  .logo img {
    height: 46px;
    max-width: min(280px, 70vw);
  }

  .hero-panel { padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 128px) 20px calc(56px + 16px); }
  .hero-offer { letter-spacing: 0.04em; font-size: 12px; }

  .overview-stats { grid-template-columns: 1fr 1fr; }
  .overview-stats article:nth-child(n + 5) { grid-column: 1 / -1; }

  .why-stats { grid-template-columns: 1fr; }
  .why-stats article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding: 14px 0;
    margin: 0;
  }
  .why-stats article:nth-child(-n + 2) {
    padding-bottom: 14px;
    margin-bottom: 0;
  }
  .why-stats article:last-child { border-bottom: 0; }

  .form-row { grid-template-columns: 1fr; }
  .floor-grid,
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }

  .amenity-grid { grid-template-columns: 1fr 1fr; }
  .amenity-grid li:nth-child(3n) { border-right: 1px solid rgba(16, 32, 51, 0.12); }
  .amenity-grid li:nth-child(2n) { border-right: 0; }
  .amenity-grid li:nth-child(n + 7) { border-bottom: 1px solid rgba(16, 32, 51, 0.12); }
  .amenity-grid li:last-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }

  .enquiry-form,
  .contact-aside { padding: 24px 18px; }
  .modal-card { padding: 32px 20px 24px; }
  .modal-card h3 { font-size: 28px; }
  .section-intro h2,
  .configs-head h2,
  .gallery .section-intro h2,
  .contact .section-intro h2 {
    font-size: clamp(28px, 8vw, 40px);
  }
}

@media (max-width: 400px) {
  .gallery-grid,
  .floor-grid { grid-template-columns: 1fr; }
}
