/* ============================================================
   THE GOLDENCITY TOWNSHIP — Design System
   Light editorial luxury. Warm ivory paper, antique gold, ink.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Paper / surface — clean white with cool neutral greys, no cream */
  --paper:      #FFFFFF;
  --paper-2:    #F6F7F9;
  --paper-3:    #E9ECF1;
  --card:       #FFFFFF;
  --tint:       #F2F4F7;   /* neutral chip / icon fill */

  /* Ink — cool charcoal */
  --ink:        #0F1419;
  --ink-2:      #39424D;
  --ink-3:      #5C6773;
  --muted:      #8A939F;

  /* Gold — accent only, never a background wash */
  --gold:       #B08328;
  --gold-deep:  #86611A;
  --gold-soft:  #DCB65F;
  --gold-wash:  rgba(176, 131, 40, .07);

  /* Support */
  --forest:     #2E6B4F;
  --forest-soft:#EAF3EE;

  /* Lines & shadow */
  --line:       rgba(15, 20, 25, .09);
  --line-2:     rgba(15, 20, 25, .15);
  --hairline:   rgba(176, 131, 40, .30);

  --sh-sm: 0 1px 2px rgba(15,20,25,.04), 0 2px 8px rgba(15,20,25,.04);
  --sh-md: 0 2px 6px rgba(15,20,25,.05), 0 12px 32px rgba(15,20,25,.06);
  --sh-lg: 0 4px 12px rgba(15,20,25,.05), 0 28px 70px rgba(15,20,25,.09);
  --sh-gold: 0 10px 30px rgba(176,131,40,.22);

  /* Type */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Motion */
  --ease:      cubic-bezier(.22, 1, .36, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  /* Layout */
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --nav-h: 78px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
/* Default size for sprite icons; component rules below override */
svg:not(:root) { width: 18px; height: 18px; flex: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }
[hidden] { display: none !important; }

::selection { background: var(--gold-soft); color: var(--ink); }

/* Focus */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb {
  background: #D6C6A8; border-radius: 20px;
  border: 3px solid var(--paper-2);
}
::-webkit-scrollbar-thumb:hover { background: var(--gold-soft); }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.015em;
}
/* Headings are set in tracked uppercase — the house style of the brand's
   other sites — rather than mixed case with a coloured accent word. */
.display, .h2, .h3, .h4,
.plot__head h3, .modal__head h3, .footer h4, .panel h4 {
  text-transform: uppercase;
}
.display {
  font-size: clamp(2rem, 4.6vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: .035em;
  font-weight: 700;
}
.h2 { font-size: clamp(1.7rem, 3.5vw, 2.9rem); line-height: 1.14; letter-spacing: .05em; font-weight: 700; }
.h3 { font-size: clamp(1.15rem, 1.9vw, 1.55rem); line-height: 1.28; letter-spacing: .045em; font-weight: 700; }
.h4 { font-size: clamp(.98rem, 1.25vw, 1.1rem); line-height: 1.36; letter-spacing: .05em; font-weight: 700; }

/* Long editorial subheads stay in sentence case so they remain readable */
.ed__body h3 { text-transform: none; letter-spacing: -.005em; font-weight: 700; }

.lede {
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
  line-height: 1.65;
  color: var(--ink-3);
  font-weight: 350;
}
/* Headings read as one colour; no accent-word styling */
.italic-gold { font-style: normal; color: inherit; }

/* Eyebrow / section label */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .20em; text-transform: uppercase;
  color: var(--ink);
}

/* ---------- 4. Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1480px; }
.section { padding-block: clamp(76px, 10vw, 148px); position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin-top: 20px; }
.section-head .lede { margin-top: 20px; }

.bg-paper-2 { background: var(--paper-2); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- 5. Reveal animations ---------- */
/* Hidden-until-scrolled states are scoped to .js on <html>, set by an inline
   script in the head (and removed again if site.js never initialises), so the
   page stays fully readable when JavaScript is unavailable or fails. */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity .9s var(--ease-out),
    transform 1.05s var(--ease-out),
    filter 1.1s var(--ease-out),
    clip-path 1.15s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 85ms);
  will-change: opacity, transform;
}
.js [data-reveal="fade"]  { transform: none; }
.js [data-reveal="left"]  { transform: translate3d(-34px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(34px, 0, 0); }
.js [data-reveal="scale"] { transform: scale(.955); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Extra variants, so different sections arrive differently */
.js [data-reveal="blur"] { opacity: 0; transform: translate3d(0, 20px, 0); filter: blur(12px); }
.js [data-reveal="blur"].is-in { filter: blur(0); }

.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }

.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(105% 0 0 0); }
.js [data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); }

.js [data-reveal="rise"] { opacity: 0; transform: translate3d(0, 60px, 0) rotate(-1.1deg); }
.js [data-reveal="rise"].is-in { transform: none; }

.js [data-reveal="tilt"] {
  opacity: 0; transform-origin: 50% 100%;
  transform: perspective(1000px) rotateX(11deg) translate3d(0, 30px, 0);
}
.js [data-reveal="tilt"].is-in { transform: none; }

/* Staggered children: the container reveals, its children cascade in */
.js [data-stagger] > * {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity .8s var(--ease-out), transform .95s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-stagger="scale"] > * { transform: translate3d(0, 22px, 0) scale(.965); }
.js [data-stagger="side"]  > * { transform: translate3d(-26px, 0, 0); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }

/* The gold hairline in each section label draws itself in */
.js [data-reveal] .eyebrow::before,
.js [data-reveal] .eyebrow::after {
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .85s var(--ease-out) .22s;
}
.js [data-reveal] .eyebrow::after { transform-origin: 100% 50%; }
.js [data-reveal].is-in .eyebrow::before,
.js [data-reveal].is-in .eyebrow::after { transform: scaleX(1); }

/* Image curtain reveal */
.curtain { position: relative; overflow: hidden; }
.js .curtain > img, .js .curtain > video {
  transform: scale(1.16);
  transition: transform 1.5s var(--ease-out);
  will-change: transform;
}
.js .curtain::after {
  content: ""; position: absolute; inset: 0;
  background: var(--paper-2);
  transform-origin: bottom;
  transition: transform 1.15s var(--ease-out);
  z-index: 2;
}
.js .curtain.is-in > img, .js .curtain.is-in > video { transform: scale(1); }
.js .curtain.is-in::after { transform: scaleY(0); }

/* Headline word-by-word mask reveal */
.reveal-words .word {
  display: inline-block; overflow: hidden; vertical-align: bottom;
  padding-bottom: .1em; margin-bottom: -.1em;   /* keep descenders from clipping */
}
.js .reveal-words .word > span {
  display: inline-block;
  transform: translateY(102%);
  transition: transform 1.05s var(--ease-out);
  transition-delay: calc(var(--w, 0) * 62ms);
}
.js .reveal-words.is-in .word > span { transform: none; }

/* ---------- 6. Scroll progress ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 400;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft));
  transform: scaleX(0); transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- 7. Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 300;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .45s var(--ease), box-shadow .45s var(--ease),
              height .45s var(--ease), border-color .45s var(--ease);
  border-bottom: 1px solid transparent;
  background: rgba(251, 248, 243, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.nav.is-stuck {
  height: 66px;
  background: rgba(251, 248, 243, .93);
  border-color: var(--line);
  box-shadow: 0 1px 24px rgba(23,18,12,.06);
}
.nav__inner {
  width: 100%; max-width: 1480px; margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 13px; margin-right: auto; }
.brand img {
  width: 44px; height: 44px; object-fit: contain;
  transition: width .45s var(--ease), height .45s var(--ease);
}
.nav.is-stuck .brand img { width: 38px; height: 38px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.08; }
.brand__name {
  font-family: var(--serif); font-size: 1.14rem; font-weight: 600;
  color: var(--ink); letter-spacing: -.02em;
}
.brand__sub {
  font-size: .60rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600;
}

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  position: relative;
  padding: 9px 15px; border-radius: 100px;
  font-family: var(--serif);
  font-size: .92rem; font-weight: 600; color: var(--ink-2);
  text-transform: uppercase; letter-spacing: .07em;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px;
  height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .45s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--ink); }

.nav__cta { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none; width: 44px; height: 44px;
  border: 1px solid var(--line-2); border-radius: 50%;
  align-items: center; justify-content: center;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.burger:hover { background: var(--paper-2); border-color: var(--gold); }
.burger span {
  display: block; width: 17px; height: 1.5px; background: var(--ink);
  position: relative; transition: background .25s var(--ease);
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.5px;
  background: var(--ink); transition: transform .4s var(--ease), top .3s var(--ease);
}
.burger span::before { top: -5.5px; }
.burger span::after  { top:  5.5px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { top: 0; transform: rotate(45deg); }
.burger.is-open span::after  { top: 0; transform: rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 290;
  background: var(--paper);
  padding: calc(var(--nav-h) + 30px) var(--gutter) 40px;
  display: flex; flex-direction: column;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .75s var(--ease-out);
  overflow-y: auto;
}
.drawer.is-open { clip-path: inset(0 0 0 0); }
.drawer a.drawer__link {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--serif); font-size: clamp(2rem, 9vw, 2.9rem);
  color: var(--ink); padding: 15px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(22px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), color .3s;
}
.drawer.is-open a.drawer__link { opacity: 1; transform: none; }
.drawer a.drawer__link:nth-child(1) { transition-delay: .16s; }
.drawer a.drawer__link:nth-child(2) { transition-delay: .22s; }
.drawer a.drawer__link:nth-child(3) { transition-delay: .28s; }
.drawer a.drawer__link:nth-child(4) { transition-delay: .34s; }
.drawer a.drawer__link:nth-child(5) { transition-delay: .40s; }
.drawer a.drawer__link:hover { color: var(--gold-deep); }
.drawer__link i {
  font-family: var(--sans); font-style: normal;
  font-size: .68rem; letter-spacing: .2em; color: var(--gold);
  font-weight: 600;
}
.drawer__foot { margin-top: auto; padding-top: 34px; display: grid; gap: 12px; }

/* ---------- 8. Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 100px;
  font-size: .875rem; font-weight: 600; letter-spacing: .02em;
  white-space: nowrap; cursor: pointer;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease),
              background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Primary action is solid black; gold stays a small accent only */
.btn--gold {
  background: var(--ink); color: #fff;
  box-shadow: 0 8px 22px rgba(15,20,25,.16);
}
.btn--gold:hover { background: #232C35; box-shadow: 0 14px 34px rgba(15,20,25,.22); }

.btn--ink { background: var(--ink); color: var(--paper); box-shadow: var(--sh-md); }
.btn--ink:hover { background: #241C13; }

.btn--ghost {
  border: 1px solid var(--line-2); color: var(--ink); background: transparent;
}
.btn--ghost:hover { border-color: var(--gold); background: var(--gold-wash); color: var(--gold-deep); }

.btn--wa { background: #1FA855; color: #fff; box-shadow: 0 10px 26px rgba(31,168,85,.25); }
.btn--wa:hover { background: #17914A; box-shadow: 0 16px 36px rgba(31,168,85,.32); }

.btn--sm { padding: 11px 20px; font-size: .81rem; }
.btn--block { width: 100%; }

/* Link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .875rem; font-weight: 600; color: var(--gold-deep);
  border-bottom: 1px solid var(--hairline); padding-bottom: 3px;
  transition: gap .35s var(--ease), border-color .35s var(--ease), color .3s;
}
.link-arrow:hover { gap: 15px; border-color: var(--gold); color: var(--ink); }

/* ---------- 9. Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(30px, 5vw, 62px));
  padding-bottom: clamp(48px, 6vw, 84px);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero__bg::before {
  content: ""; position: absolute; inset: -10% -20% auto -20%; height: 78%;
  background:
    radial-gradient(58% 62% at 78% 10%, rgba(176,131,40,.13), transparent 70%),
    radial-gradient(48% 55% at 10% 0%,  rgba(15,20,25,.05),  transparent 70%);
  filter: blur(10px);
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(34px, 5vw, 68px); align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 17px 8px 9px; border-radius: 100px;
  background: var(--forest-soft); color: #1F5238;
  border: 1px solid rgba(46,107,79,.20);
  font-size: .74rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 26px;
}
.hero__badge b {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--forest); color: #fff;
}
.hero__badge b svg { width: 12px; height: 12px; }

.hero h1 { margin-bottom: 24px; }
/* Brand lockup: the name large, "TOWNSHIP" spaced out beneath it */
.hero h1 em {
  display: block;
  font-style: normal;
  font-size: .40em;
  font-weight: 500;
  letter-spacing: .26em;
  color: var(--ink-3);
  margin-top: .42em;
}
.hero__sub {
  font-size: clamp(.88rem, 1.35vw, 1.02rem);
  font-weight: 600; letter-spacing: .10em; text-transform: uppercase;
  color: var(--ink-2); max-width: 30ch; line-height: 1.55;
}

.hero__price {
  display: flex; align-items: flex-end; gap: 16px;
  margin: 32px 0 30px; padding: 20px 26px;
  background: var(--card); border-radius: 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  box-shadow: var(--sh-md); width: fit-content;
}
.hero__price small {
  display: block; font-size: .66rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
  margin-bottom: 5px;
}
.hero__price strong {
  font-family: var(--serif); font-size: clamp(2.1rem, 3.6vw, 2.85rem);
  font-weight: 600; color: var(--ink); line-height: 1; letter-spacing: -.005em;
}
.hero__price span {
  font-size: 1.02rem; color: var(--ink-3); padding-bottom: 5px; font-weight: 500;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; }

/* Hero media */
.hero__media { position: relative; }
.hero__frame {
  position: relative; border-radius: 26px; overflow: hidden;
  aspect-ratio: 4 / 3.15; box-shadow: var(--sh-lg);
  background: var(--paper-3);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }

/* Rotating hero images — each slide crossfades into the next */
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.4s var(--ease-in-out);
}
.hero__slide.is-on { opacity: 1; }
.hero__frame::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.30);
  border-radius: 26px;
}
.kenburns { animation: kenburns 22s var(--ease-in-out) infinite alternate; }
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.10) translate(-1.4%, -1.8%); }
}
.hero__stamp {
  position: absolute; z-index: 4; left: -16px; top: 24px;
  background: var(--card); border-radius: 18px; padding: 16px 22px;
  box-shadow: var(--sh-lg); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px;
}
.hero__stamp .ring {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--tint); color: var(--gold-deep);
  display: grid; place-items: center;
}
.hero__stamp .ring svg { width: 20px; height: 20px; }
.hero__stamp b {
  display: block; font-family: var(--serif); font-size: 1.16rem;
  color: var(--ink); line-height: 1.1; letter-spacing: -.02em;
}
.hero__stamp small { font-size: .70rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* Enquiry card overlapping the hero image */
.hero__enquire {
  position: relative; z-index: 6;
  margin: -62px 22px 0 40px;
}

/* Hero stat strip */
.stats {
  position: relative; z-index: 1;
  margin-top: clamp(42px, 5vw, 72px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats__item {
  padding: 26px 26px 26px 0; position: relative;
}
.stats__item + .stats__item { padding-left: 26px; }
.stats__item + .stats__item::before {
  content: ""; position: absolute; left: 0; top: 22px; bottom: 22px;
  width: 1px; background: var(--line);
}
.stats__item small {
  display: block; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 700; margin-bottom: 9px;
}
.stats__item b {
  font-family: var(--serif); font-size: clamp(1.02rem, 1.6vw, 1.32rem);
  font-weight: 600; color: var(--ink); line-height: 1.22; letter-spacing: -.02em;
  display: block;
}

/* ---------- 10. Marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  background: var(--paper-2); padding: 17px 0;
  --speed: 44s;
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee var(--speed) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee span {
  display: inline-flex; align-items: center; gap: 20px;
  padding-inline: 22px;
  font-family: var(--serif); font-size: clamp(1rem, 1.6vw, 1.28rem);
  color: var(--ink); white-space: nowrap; letter-spacing: -.01em;
}
.marquee span::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 11. Feature cards (About) ---------- */
.about__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 26px);
}
.fcard {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 22px; padding: 34px 30px 32px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .5s var(--ease);
}
.fcard::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(160deg, var(--gold-wash), transparent 62%);
  opacity: 0; transition: opacity .6s var(--ease);
}
.fcard > * { position: relative; z-index: 1; }
.fcard:hover { transform: translateY(-7px); box-shadow: var(--sh-lg); border-color: var(--hairline); }
.fcard:hover::before { opacity: 1; }
.fcard__ico {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--tint); color: var(--gold-deep);
  display: grid; place-items: center; margin-bottom: 22px;
  transition: background .5s var(--ease), color .5s var(--ease), transform .6s var(--ease);
}
.fcard__ico svg { width: 25px; height: 25px; }
.fcard:hover .fcard__ico {
  background: var(--gold); color: #fff; transform: rotate(-6deg) scale(1.06);
}
.fcard h3 { margin-bottom: 11px; }
.fcard p { color: var(--ink-3); font-size: .95rem; }
.fcard__n {
  position: absolute; top: 24px; right: 28px; z-index: 1;
  font-family: var(--serif); font-size: 2.6rem; line-height: 1;
  color: var(--ink); opacity: .07; font-weight: 600;
}

/* ---------- 12. Video / 3D tour ---------- */
.tour { position: relative; }
.tour__frame {
  position: relative; border-radius: clamp(20px, 3vw, 32px); overflow: hidden;
  aspect-ratio: 16 / 8.4; background: var(--ink); box-shadow: var(--sh-lg);
}
.tour__frame video { width: 100%; height: 100%; object-fit: cover; }
.tour__mute {
  position: absolute; right: 18px; bottom: 18px; z-index: 3;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(251,248,243,.90); color: var(--ink);
  display: grid; place-items: center; backdrop-filter: blur(8px);
  box-shadow: var(--sh-md); transition: transform .4s var(--ease), background .3s;
}
.tour__mute:hover { transform: scale(1.08); background: #fff; }
.tour__mute svg { width: 19px; height: 19px; }

/* ---------- 13. Plots ---------- */
.plots__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.4vw, 30px); }
.plot {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 24px; display: flex; flex-direction: column;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .5s;
}
.plot:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: var(--hairline); }
.plot__head {
  position: relative; overflow: hidden;
  padding: 38px 34px 34px;
  background: linear-gradient(145deg, #FFFFFF 0%, var(--gold-wash) 100%);
  border-bottom: 1px solid var(--hairline);
}
.plot__head::after {
  content: ""; position: absolute; inset: auto -60px -110px auto;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,190,108,.42), transparent 68%);
  transition: transform .9s var(--ease);
}
.plot:hover .plot__head::after { transform: scale(1.28) translate(-14px, -14px); }
.plot__head > * { position: relative; z-index: 1; }
.plot__tag {
  display: inline-block; font-size: .64rem; letter-spacing: .2em;
  text-transform: uppercase; font-weight: 700; color: var(--gold-deep);
  margin-bottom: 14px;
}
.plot__head h3 { font-size: clamp(1.6rem, 2.6vw, 2.05rem); margin-bottom: 18px; }
.plot__price { display: flex; align-items: flex-end; gap: 11px; }
.plot__price strong {
  font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600; color: var(--ink); line-height: 1; letter-spacing: -.005em;
}
.plot__price span { font-size: .96rem; color: var(--ink-3); padding-bottom: 6px; font-weight: 500; }
.plot__body { padding: 30px 34px 34px; display: flex; flex-direction: column; flex: 1; }
.plot__body > p { color: var(--ink-3); margin-bottom: 24px; font-size: .96rem; }
.plot__list { display: grid; gap: 13px; margin-bottom: 30px; }
.plot__list li { display: flex; align-items: center; gap: 12px; font-size: .93rem; color: var(--ink-2); font-weight: 500; }
.plot__list svg { width: 18px; height: 18px; color: var(--forest); flex: none; }
.plot .btn { margin-top: auto; }

/* ---------- 14. Amenities ---------- */
.amen__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
}
.amen {
  background: var(--card); padding: 38px 26px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px;
  position: relative; transition: background .5s var(--ease);
}
.amen::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--gold-wash), transparent);
  opacity: 0; transition: opacity .5s var(--ease);
}
.amen > * { position: relative; z-index: 1; }
.amen:hover::before { opacity: 1; }
.amen__ico {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--tint); color: var(--gold-deep);
  display: grid; place-items: center;
  transition: transform .55s var(--ease), background .45s, color .45s;
}
.amen__ico svg { width: 26px; height: 26px; }
.amen:hover .amen__ico { transform: translateY(-5px) scale(1.06); background: var(--gold); color: #fff; }
.amen b {
  font-family: var(--serif); font-size: 1.02rem; font-weight: 600;
  color: var(--ink); letter-spacing: -.01em;
}

/* ---------- 15. Gallery ---------- */
.gal__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 34px;
}
.chips { display: flex; gap: 9px; flex-wrap: wrap; }
.chip {
  padding: 10px 20px; border-radius: 100px;
  border: 1px solid var(--line-2); font-size: .83rem; font-weight: 600;
  color: var(--ink-2); transition: all .35s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.gal__count { font-size: .8rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }

.gal__grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 1.4vw, 18px);
}
.gitem {
  position: relative; overflow: hidden; border-radius: 18px;
  grid-column: span 4; aspect-ratio: 4 / 3;
  background: var(--paper-3); cursor: pointer;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.gitem--wide { grid-column: span 6; aspect-ratio: 16 / 9.6; }
.gitem--tall { grid-column: span 4; aspect-ratio: 3 / 3.9; }
.gitem img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter .6s var(--ease);
}
.gitem:hover img { transform: scale(1.07); }
.gitem__veil {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(23,18,12,.78) 0%, rgba(23,18,12,.18) 44%, transparent 72%);
  opacity: 0; transition: opacity .5s var(--ease);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px 24px;
}
.gitem:hover .gitem__veil { opacity: 1; }
.gitem__veil small {
  font-size: .63rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 700; margin-bottom: 6px;
  transform: translateY(10px); transition: transform .55s var(--ease) .05s;
}
.gitem__veil b {
  font-family: var(--serif); font-size: 1.08rem; color: #fff; font-weight: 500;
  line-height: 1.24; letter-spacing: -.01em;
  transform: translateY(10px); transition: transform .55s var(--ease) .1s;
}
.gitem:hover .gitem__veil small,
.gitem:hover .gitem__veil b { transform: none; }
.gitem.is-hidden { display: none; }

.gal__more { display: flex; justify-content: center; margin-top: 42px; }

/* Lightbox */
.lb {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(20, 15, 10, .93);
  backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: 4vmin;
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.lb.is-open { opacity: 1; visibility: visible; }
.lb__fig { max-width: min(1180px, 94vw); max-height: 86vh; position: relative; }
.lb__fig img {
  max-width: 100%; max-height: 78vh; width: auto; object-fit: contain;
  border-radius: 12px; box-shadow: 0 40px 100px rgba(0,0,0,.55);
  transform: scale(.94); opacity: 0;
  transition: transform .6s var(--ease-out), opacity .5s var(--ease);
}
.lb.is-open .lb__fig img { transform: none; opacity: 1; }
.lb__cap { text-align: center; padding-top: 18px; color: rgba(255,255,255,.94); }
.lb__cap small { display: block; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; margin-bottom: 6px; }
.lb__cap b { font-family: var(--serif); font-size: 1.16rem; font-weight: 500; }
.lb__x, .lb__nav {
  position: absolute; z-index: 3;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,.11); color: #fff;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.20);
  transition: background .3s var(--ease), transform .35s var(--ease);
}
.lb__x:hover, .lb__nav:hover { background: rgba(255,255,255,.24); transform: scale(1.07); }
.lb__x { top: 3vmin; right: 3vmin; position: fixed; }
.lb__nav svg, .lb__x svg { width: 20px; height: 20px; }
.lb__nav { position: fixed; top: 50%; margin-top: -25px; }
.lb__nav--prev { left: 3vmin; }
.lb__nav--next { right: 3vmin; }

/* ---------- 16. Testimonials ---------- */
.tst__rail {
  display: flex; gap: clamp(16px, 2vw, 24px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: none;
}
.tst__rail::-webkit-scrollbar { display: none; }
.tst {
  flex: 0 0 clamp(290px, 33vw, 400px);
  scroll-snap-align: start;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 22px; padding: 34px 30px;
  display: flex; flex-direction: column;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .45s;
}
.tst:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--hairline); }
.tst__q {
  font-family: var(--serif); font-size: 3.2rem; line-height: .7;
  color: var(--gold); opacity: .34; margin-bottom: 14px;
}
.tst__stars { display: flex; gap: 3px; margin-bottom: 16px; }
.tst__stars svg { width: 16px; height: 16px; color: var(--gold); }
.tst p {
  color: var(--ink-2); font-size: 1rem; line-height: 1.65;
  margin-bottom: 26px; flex: 1;
}
.tst__who { display: flex; align-items: center; gap: 13px; padding-top: 20px; border-top: 1px solid var(--line); }
.tst__av {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: linear-gradient(140deg, var(--gold-soft), var(--gold-deep));
  color: #fff; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.05rem; font-weight: 600;
}
.tst__who b { display: block; font-family: var(--serif); font-size: 1.03rem; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.tst__who small { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; color: var(--forest); font-weight: 600; }
.tst__who small svg { width: 13px; height: 13px; }

.rail-ctrl { display: flex; gap: 9px; }
.rail-ctrl button {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--ink);
  display: grid; place-items: center;
  transition: all .35s var(--ease);
}
.rail-ctrl button:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.rail-ctrl svg { width: 17px; height: 17px; }

/* ---------- 17. Forms ---------- */
.field { position: relative; margin-bottom: 16px; }
.field label {
  position: absolute; left: 17px; top: 15px;
  font-size: .93rem; color: var(--muted); pointer-events: none;
  transition: all .3s var(--ease); background: transparent; padding-inline: 5px;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 15px 17px;
  background: var(--card); border: 1px solid var(--line-2);
  border-radius: 13px; font-size: .95rem; color: var(--ink);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(180,131,43,.13);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: -9px; left: 13px; font-size: .70rem; font-weight: 600;
  letter-spacing: .07em; color: var(--gold-deep);
  background: var(--card); text-transform: uppercase;
}
.field input::placeholder, .field textarea::placeholder { color: transparent; }

/* Enquiry card */
.enquire {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 24px; padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--sh-lg);
}
.enquire__head { margin-bottom: 24px; }
.enquire__head small {
  display: block; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 700; margin-bottom: 9px;
}

/* ---------- 18. Contact ---------- */
.contact__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 3.4vw, 52px);
  align-items: start;   /* let the form card size to its content */
}
.info { display: grid; gap: 15px; }
.info__row {
  display: flex; gap: 17px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 22px 24px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.info__row:hover { transform: translateX(5px); box-shadow: var(--sh-md); border-color: var(--hairline); }
.info__ico {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  background: var(--tint); color: var(--gold-deep);
  display: grid; place-items: center;
}
.info__ico svg { width: 20px; height: 20px; }
.info__row small {
  display: block; font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-bottom: 6px;
}
.info__row b, .info__row a.info__val {
  display: block; font-family: var(--serif); font-size: 1.08rem;
  color: var(--ink); font-weight: 600; letter-spacing: -.01em; line-height: 1.35;
  transition: color .3s;
}
.info__row a.info__val:hover { color: var(--gold-deep); }
.info__row p { font-size: .92rem; color: var(--ink-3); }

.map {
  border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--sh-md); background: var(--paper-3); margin-top: 4px;
}
.map iframe { width: 100%; height: 300px; border: 0; display: block; filter: grayscale(.22) contrast(1.02); }

/* ---------- 19. Editorial / SEO ---------- */
.ed { display: grid; grid-template-columns: 1.55fr .95fr; gap: clamp(30px, 4vw, 64px); align-items: start; }
.ed__body h3 {
  margin-top: 42px; margin-bottom: 14px;
  font-size: clamp(1.28rem, 2.1vw, 1.66rem);
  padding-left: 18px; border-left: 2px solid var(--gold);
}
.ed__body h3:first-child { margin-top: 0; }
.ed__body p { margin-bottom: 18px; color: var(--ink-2); }
.ed__body p strong, .ed__body strong { color: var(--ink); font-weight: 600; }
.ed__body a { color: var(--gold-deep); font-weight: 600; border-bottom: 1px solid var(--hairline); transition: border-color .3s, color .3s; }
.ed__body a:hover { border-color: var(--gold); color: var(--ink); }
.ed__body .lead-cap::first-letter {
  float: left; font-family: var(--serif); font-size: 3.7rem; line-height: .82;
  padding: 6px 12px 0 0; color: var(--gold-deep); font-weight: 600;
}

/* Single-column editorial column */
.ed__solo { max-width: 82ch; }
.related {
  margin-top: 34px; padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--muted); line-height: 1.9;
}
.related strong { color: var(--ink-2); }

/* Ornamental divider */
.divider-fleuron {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-top: 22px; color: var(--gold);
}
.divider-fleuron i { display: block; width: clamp(40px, 8vw, 88px); height: 1px; background: var(--hairline); }
.divider-fleuron span { font-size: .82rem; line-height: 1; }

.hlist { display: grid; gap: 12px; margin: 24px 0 8px; }
.hlist li {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 16px 20px; background: var(--card);
  border: 1px solid var(--line); border-radius: 15px;
  font-size: .94rem; transition: transform .45s var(--ease), border-color .4s;
}
.hlist li:hover { transform: translateX(5px); border-color: var(--hairline); }
.hlist svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }
.hlist b { color: var(--ink); font-weight: 600; }

.aside { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 18px; }
.panel {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 22px; padding: 28px 26px; box-shadow: var(--sh-sm);
}
.panel h4 { margin-bottom: 18px; }
.panel--gold {
  background: linear-gradient(155deg, #FFFFFF, var(--gold-wash));
  border-color: var(--hairline);
}
.panel__links { display: grid; gap: 3px; }
.panel__links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 11px; font-size: .91rem; font-weight: 500;
  color: var(--ink-2); transition: background .3s var(--ease), color .3s, padding .35s var(--ease);
}
.panel__links a:hover { background: var(--gold-wash); color: var(--gold-deep); padding-left: 20px; }
.panel__links svg { width: 15px; height: 15px; opacity: .5; }
.panel ul.why { display: grid; gap: 13px; }
.panel ul.why li { display: flex; gap: 11px; font-size: .91rem; align-items: flex-start; }
.panel ul.why svg { width: 16px; height: 16px; color: var(--forest); flex: none; margin-top: 4px; }
.panel ul.why b { color: var(--ink); font-weight: 600; }
.panel p { font-size: .93rem; color: var(--ink-3); margin-bottom: 20px; }

/* Keyword pills */
.pills { display: flex; flex-wrap: wrap; gap: 9px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 17px; border-radius: 100px;
  background: var(--card); border: 1px solid var(--line);
  font-size: .82rem; font-weight: 600; color: var(--ink-2);
  transition: all .35s var(--ease);
}
.pill svg { width: 14px; height: 14px; color: var(--forest); }
.pill:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
  font-size: .79rem; color: var(--ink-3);
  padding: 7px 14px; border-radius: 100px;
  background: var(--paper-2); border: 1px solid var(--line);
  transition: background .3s, color .3s;
}
.tags span:hover { background: var(--gold-wash); color: var(--gold-deep); }

/* ---------- 20. FAQ ---------- */
.faq { max-width: 900px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 26px 0; text-align: left;
  font-family: var(--serif); font-size: clamp(1.04rem, 1.7vw, 1.3rem);
  font-weight: 600; color: var(--ink); letter-spacing: -.015em;
  transition: color .3s var(--ease);
}
.faq__q:hover { color: var(--gold-deep); }
.faq__ico {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  border: 1px solid var(--line-2); display: grid; place-items: center;
  transition: all .45s var(--ease);
}
.faq__ico::before, .faq__ico::after {
  content: ""; position: absolute; background: var(--ink);
  transition: transform .45s var(--ease), background .35s;
}
.faq__ico { position: relative; }
.faq__ico::before { width: 12px; height: 1.5px; }
.faq__ico::after  { width: 1.5px; height: 12px; }
.faq__item.is-open .faq__ico { background: var(--gold); border-color: var(--gold); transform: rotate(180deg); }
.faq__item.is-open .faq__ico::before,
.faq__item.is-open .faq__ico::after { background: #fff; }
.faq__item.is-open .faq__ico::after { transform: scaleY(0); }
.faq__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .55s var(--ease-out);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  padding-bottom: 28px; padding-right: 58px;
  color: var(--ink-3); font-size: 1rem;
}

/* ---------- 21. CTA band ---------- */
.cta {
  position: relative; overflow: hidden;
  border-radius: clamp(22px, 3vw, 34px);
  background: linear-gradient(140deg, #0F1419 0%, #1B2128 55%, #2A2415 100%);
  color: var(--paper); padding: clamp(44px, 6vw, 78px) clamp(28px, 5vw, 68px);
  text-align: center;
}
.cta::before {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 300px;
  background: radial-gradient(50% 60% at 50% 100%, rgba(227,190,108,.30), transparent 72%);
}
.cta::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(227,190,108,.16) 1px, transparent 1px);
  background-size: 30px 30px; opacity: .55;
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: 18px; }
.cta p { color: rgba(251,248,243,.76); max-width: 58ch; margin-inline: auto; margin-bottom: 32px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }
.cta .btn--ghost { border-color: rgba(251,248,243,.30); color: var(--paper); }
.cta .btn--ghost:hover { background: rgba(251,248,243,.10); color: #fff; border-color: var(--gold-soft); }

/* ---------- 22. Footer ---------- */
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding-top: clamp(56px, 6vw, 86px); }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1.15fr;
  gap: clamp(30px, 4vw, 60px); padding-bottom: 52px;
}
.footer__brand { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.footer__brand img { width: 50px; height: 50px; object-fit: contain; }
.footer p { color: var(--ink-3); font-size: .95rem; max-width: 40ch; }
.footer h4 { font-size: 1.02rem; margin-bottom: 20px; }
.footer__links { display: grid; gap: 11px; }
.footer__links a { font-size: .93rem; color: var(--ink-3); transition: color .3s, padding-left .35s var(--ease); }
.footer__links a:hover { color: var(--gold-deep); padding-left: 7px; }
.socials { display: flex; gap: 10px; margin-bottom: 22px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-2); display: grid; place-items: center;
  color: var(--ink-2); transition: all .4s var(--ease);
}
.socials a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__contact { display: grid; gap: 10px; }
.footer__contact a {
  display: flex; align-items: center; gap: 11px;
  font-size: .93rem; color: var(--ink-2); transition: color .3s;
}
.footer__contact a:hover { color: var(--gold-deep); }
.footer__contact svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.footer__bar {
  border-top: 1px solid var(--line); padding-block: 26px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  font-size: .84rem; color: var(--muted);
}
.footer__bar a { transition: color .3s; }
.footer__bar a:hover { color: var(--gold-deep); }

/* ---------- 23. Floating dock ---------- */
.dock {
  position: fixed; right: 22px; bottom: 22px; z-index: 260;
  display: flex; flex-direction: column; gap: 11px; align-items: flex-end;
}
.dock__btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  box-shadow: var(--sh-lg); position: relative;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.dock__btn:hover { transform: scale(1.07) translateY(-2px); }
.dock__btn svg { width: 25px; height: 25px; }
.dock__btn--wa { background: #1FA855; }
.dock__btn--call { background: var(--ink); }
.dock__btn--chat { background: linear-gradient(140deg, var(--gold), var(--gold-deep)); }
.dock__btn .ping {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid currentColor; opacity: .55;
  animation: ping 2.4s var(--ease-out) infinite;
}
@keyframes ping {
  0%   { transform: scale(1);    opacity: .55; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
.dock__tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(6px);
  background: var(--ink); color: var(--paper);
  font-size: .76rem; font-weight: 600; padding: 7px 13px; border-radius: 8px;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.dock__btn:hover .dock__tip { opacity: 1; transform: translateY(-50%) translateX(0); }

.totop {
  position: fixed; left: 22px; bottom: 22px; z-index: 260;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--line-2); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--sh-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .45s var(--ease);
}
.totop.is-show { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.totop svg { width: 18px; height: 18px; }

/* ---------- 24. Modals ---------- */
.modal {
  position: fixed; inset: 0; z-index: 480;
  display: grid; place-items: center; padding: 4vmin;
  background: rgba(20, 15, 10, .58); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box {
  background: var(--paper); border-radius: 24px;
  width: min(560px, 100%); max-height: 90vh; overflow-y: auto;
  box-shadow: 0 40px 90px rgba(0,0,0,.34);
  transform: translateY(22px) scale(.97); opacity: 0;
  transition: transform .55s var(--ease-out), opacity .45s var(--ease);
  position: relative;
}
.modal.is-open .modal__box { transform: none; opacity: 1; }
.modal__box--wide { width: min(1000px, 100%); }
.modal__x {
  position: absolute; top: 15px; right: 15px; z-index: 4;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--line-2); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--sh-sm);
  transition: all .35s var(--ease);
}
.modal__x:hover { background: var(--ink); color: var(--paper); }
.modal__x svg { width: 16px; height: 16px; }
.modal__head {
  padding: 34px 34px 22px; text-align: center;
  background: linear-gradient(160deg, #FFFFFF, var(--gold-wash));
  border-bottom: 1px solid var(--hairline);
  border-radius: 24px 24px 0 0;
}
.modal__head h3 { margin-bottom: 10px; }
.modal__head p { font-size: .95rem; color: var(--ink-3); }
.modal__body { padding: 28px 34px 34px; }
.modal__body .btn { margin-top: 6px; }
.modal__or { text-align: center; margin-top: 16px; font-size: .87rem; }
.modal__or a { color: #1FA855; font-weight: 600; }
.sitemap__img { padding: 20px; }
.sitemap__img img { width: 100%; border-radius: 14px; box-shadow: var(--sh-md); }

/* ---------- 25. Chat ---------- */
.chat {
  position: fixed; right: 22px; bottom: 22px; z-index: 470;
  width: min(384px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 44px));
  background: var(--paper); border-radius: 22px;
  box-shadow: 0 30px 80px rgba(23,18,12,.28); border: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(26px) scale(.96); opacity: 0; visibility: hidden;
  transform-origin: bottom right;
  transition: transform .55s var(--ease-out), opacity .4s var(--ease), visibility .4s;
}
.chat.is-open { transform: none; opacity: 1; visibility: visible; }
.chat__head {
  display: flex; align-items: center; gap: 13px;
  padding: 17px 18px; background: linear-gradient(135deg, var(--ink), #2A2415);
  color: var(--paper);
}
.chat__head img { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; background: #fff; padding: 3px; flex: none; }
.chat__head b { display: block; font-family: var(--serif); font-size: 1.04rem; font-weight: 600; }
.chat__head small { font-size: .72rem; color: rgba(251,248,243,.72); display: inline-flex; align-items: center; gap: 6px; }
.chat__head small::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #35D07F; box-shadow: 0 0 0 0 rgba(53,208,127,.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(53,208,127,.55); }
  70%  { box-shadow: 0 0 0 7px rgba(53,208,127,0); }
  100% { box-shadow: 0 0 0 0 rgba(53,208,127,0); }
}
.chat__x { margin-left: auto; color: rgba(251,248,243,.8); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s; }
.chat__x:hover { background: rgba(255,255,255,.14); color: #fff; }
.chat__x svg { width: 16px; height: 16px; }

.chat__body {
  flex: 1; overflow-y: auto; padding: 20px 18px;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--paper-2);
}
.msg {
  max-width: 82%; padding: 12px 16px; font-size: .91rem; line-height: 1.55;
  border-radius: 16px; animation: msgIn .45s var(--ease-out) both;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } }
.msg--bot { align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 5px; color: var(--ink-2); }
.msg--me  { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 5px; }
.chat__opts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 4px 4px; }
.chat__opts button {
  padding: 9px 15px; border-radius: 100px; font-size: .83rem; font-weight: 600;
  background: var(--card); border: 1px solid var(--hairline); color: var(--gold-deep);
  transition: all .3s var(--ease);
}
.chat__opts button:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.chat__foot { padding: 13px; border-top: 1px solid var(--line); background: var(--paper); display: grid; gap: 9px; }
.chat__input { display: flex; gap: 9px; }
.chat__input input {
  flex: 1; padding: 12px 15px; border-radius: 100px;
  border: 1px solid var(--line-2); background: var(--card); font-size: .9rem;
  transition: border-color .3s;
}
.chat__input input:focus { outline: none; border-color: var(--gold); }
.chat__send {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--gold); color: #fff; display: grid; place-items: center;
  transition: background .3s, transform .35s var(--ease);
}
.chat__send:hover { background: var(--gold-deep); transform: scale(1.06); }
.chat__send svg { width: 17px; height: 17px; }
.chat__actions { display: grid; gap: 8px; }

/* ---------- 26. Responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__frame { aspect-ratio: 16 / 10; }
  .hero__stamp { left: 16px; top: 16px; }
  .hero__enquire { margin: -52px 24px 0; }
  .ed { grid-template-columns: 1fr; }
  .aside { position: static; grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
  .amen__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav__links, .nav__cta .btn--gold { display: none; }
  .burger { display: flex; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gitem, .gitem--wide, .gitem--tall { grid-column: span 6; aspect-ratio: 4 / 3; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); border-bottom: none; }
  .stats__item { padding: 20px 16px !important; border-bottom: 1px solid var(--line); }
  .stats__item::before { display: none !important; }
  .stats__item:nth-child(odd) { border-right: 1px solid var(--line); }
  .plots__grid { grid-template-columns: 1fr; }
  .amen__grid { grid-template-columns: repeat(2, 1fr); }
  .aside { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__price { width: 100%; }
  .hero__frame { aspect-ratio: 4 / 3.2; }
  .hero__enquire { margin: -40px 10px 0; }
  .hero__stamp { padding: 12px 16px; }
  .gitem, .gitem--wide, .gitem--tall { grid-column: span 12; }
  .dock { right: 14px; bottom: 14px; }
  .totop { left: 14px; bottom: 14px; width: 42px; height: 42px; }
  .chat { right: 8px; bottom: 8px; max-height: calc(100vh - 16px); }
  .lb__nav--prev { left: 10px; }
  .lb__nav--next { right: 10px; }
  .faq__a p { padding-right: 0; }
}
@media (max-width: 460px) {
  .amen__grid { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { width: 100%; }
  /* Let "per sq.yd" drop to its own line rather than breaking in two */
  .plot__price { flex-wrap: wrap; }
  .plot__price span { white-space: nowrap; padding-bottom: 0; }
}

/* ---------- 27. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-stagger] > * {
    opacity: 1 !important; transform: none !important;
    filter: none !important; clip-path: none !important;
  }
  .eyebrow::before, .eyebrow::after { transform: none !important; }
  .curtain::after { transform: scaleY(0) !important; }
  .curtain > img, .curtain > video { transform: none !important; }
  .reveal-words .word > span { transform: none !important; }
  .kenburns { animation: none !important; }
}

/* ---------- 28. Print ---------- */
@media print {
  .nav, .dock, .totop, .chat, .modal, .lb, .marquee, .progress { display: none !important; }
  body { background: #fff; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
