:root {
  --ivory: #fbf8f2;
  --cream: #f3ede1;
  --sand: #e9e0cf;
  --gold: #b08d57;
  --gold-deep: #8f6f3e;
  --gold-soft: #d8c39b;
  --gold-text: #82632f; /* gold for small text: meets WCAG AA contrast on ivory and cream */
  --ink: #1f1b16;
  --text: #4a443b;
  --muted: #6f665a;
  --line: #e4d9c4;
  --display: "Cormorant Garamond", Georgia, serif;
  --royal: "Cinzel", "Cormorant Garamond", serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--sans); font-weight: 300; font-size: 17px; color: var(--text); background: var(--ivory); line-height: 1.75; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--ink); line-height: 1.05; letter-spacing: -.01em; }
h1 { font-size: clamp(3.6rem, 9vw, 7.5rem); }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); margin-bottom: 1.4rem; }
h3 { font-size: 1.9rem; }
h1 em, h2 em { font-style: italic; color: var(--gold); }
p + p { margin-top: 1rem; }

.eyebrow { font-family: var(--royal); font-size: .74rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 1.1rem; }
.fineprint { font-size: .82rem; color: var(--muted); margin-top: 2rem; }

/* Monogram */
.monogram { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--gold); border-radius: 50%; font-family: var(--royal); font-size: .95rem; letter-spacing: .08em; color: var(--gold); position: relative; flex-shrink: 0; }
.monogram::after { content: ""; position: absolute; inset: 3px; border: 1px solid var(--gold-soft); border-radius: 50%; }

/* Buttons */
.btn { display: inline-block; padding: 1rem 2.1rem; font-family: var(--royal); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--gold); cursor: pointer; transition: background .35s, color .35s; }
.btn-gold { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.btn-gold:hover { background: var(--gold-text); border-color: var(--gold-text); }
.btn-sm { padding: .7rem 1.3rem; font-size: .66rem; }
.btn-block { width: 100%; margin-top: 1.4rem; }
.link-arrow { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--royal); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: .8rem; }
.link-arrow::after { content: ""; width: 38px; height: 1px; background: var(--gold); transition: width .35s; }
.link-arrow:hover::after { width: 60px; }

/* Intro veil */
.veil { position: fixed; inset: 0; z-index: 200; background: var(--ivory); display: grid; place-content: center; justify-items: center; gap: 1.2rem; transition: opacity .6s ease, visibility .6s; }
.veil p { font-family: var(--royal); letter-spacing: .32em; text-transform: uppercase; font-size: .78rem; color: var(--gold-text); opacity: 0; animation: fadeUp .8s .35s forwards; }
.veil em { font-family: var(--display); text-transform: none; letter-spacing: .05em; font-size: 1.1rem; }
.crest { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.crest span { font-family: var(--royal); font-size: 2rem; color: var(--gold); letter-spacing: .08em; opacity: 0; animation: fadeUp .8s .15s forwards; }
.crest-ring { position: absolute; inset: 0; }
.crest-ring circle { fill: none; stroke: var(--gold); stroke-width: .8; stroke-dasharray: 360; stroke-dashoffset: 360; animation: draw 1.1s ease forwards; }
.crest-ring circle + circle { stroke: var(--gold-soft); animation-delay: .2s; }
body:not(.is-loading) .veil { opacity: 0; visibility: hidden; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Header */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, box-shadow .4s; }
.nav.scrolled { background: rgba(251,248,242,.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.brand-text { font-family: var(--royal); font-size: .95rem; letter-spacing: .16em; color: var(--ink); line-height: 1.2; }
.brand-text small { display: block; font-family: var(--sans); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 2.3rem; }
.nav-links a:not(.btn) { font-family: var(--royal); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.nav-links a:not(.btn):hover { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; width: 34px; height: 34px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 5px; right: 5px; height: 1px; background: var(--ink); transition: transform .3s; }
.nav-toggle span:first-child { top: 13px; } .nav-toggle span:last-child { top: 21px; }
.nav-toggle.open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle.open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Image slots: official image, or gold line-art when the file isn't there yet */
.slot { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--cream), var(--sand)); }
.slot img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.slot.empty img { display: none; }
.slot.empty::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--gold-soft); }
.slot.empty::after { content: "SK"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--royal); font-size: 2.4rem; letter-spacing: .1em; color: var(--gold-soft); }
.hero-media.empty::after, .portrait.empty::after { content: none; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero-media { position: absolute; inset: 0 0 0 42%; }
.hero-media .lineart { display: none; }
.hero-media.empty .lineart { display: block; position: absolute; inset: 8% 6% 0; width: 88%; height: 92%; }
.hero-media.empty::before { inset: 28px 28px 0; border-bottom: 0; }
.hero::after { content: ""; position: absolute; inset: 0 0 0 42%; background: linear-gradient(90deg, var(--ivory) 0%, rgba(251,248,242,0) 30%); pointer-events: none; z-index: 1; }
.hero-content { position: relative; z-index: 2; }
.lead { max-width: 470px; font-size: 1.12rem; }
.rule { display: flex; align-items: center; gap: .8rem; color: var(--gold); font-size: .6rem; margin: 1.8rem 0; max-width: 200px; }
.rule span { flex: 1; height: 1px; background: var(--gold); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; margin-top: 2.4rem; }

/* Stats */
.stats { border-block: 1px solid var(--line); background: #fff; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-inner div { text-align: center; padding: 2.2rem 1rem; }
.stats-inner div + div { border-left: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--display); font-weight: 400; font-size: 2.8rem; color: var(--ink); line-height: 1; }
.stats span { font-family: var(--royal); font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); }

/* Sections */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.statement p:not(.eyebrow) { font-size: 1.15rem; }
.head { text-align: center; margin-bottom: 3.5rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }

/* Residences */
.residences { background: #fff; }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.res figure { aspect-ratio: 4/3; }
.res-body { padding: 2rem 0 0; }
.res-kicker { font-family: var(--royal); color: var(--gold-text); letter-spacing: .2em; }
.res h3 { margin: .3rem 0 .8rem; }
.res-body .link-arrow { margin-top: 1.4rem; }

/* Club */
.slot.tall { aspect-ratio: 4/5; }
.amen { list-style: none; padding: 0; margin-top: 2.2rem; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; counter-reset: a; }
.amen li { counter-increment: a; padding: .95rem 0; border-top: 1px solid var(--line); color: var(--ink); font-weight: 400; display: flex; gap: 1rem; }
.amen li::before { content: counter(a, upper-roman); font-family: var(--royal); font-size: .72rem; color: var(--gold-text); min-width: 1.6rem; padding-top: .2rem; }

/* Location */
.location { background: var(--cream); }
.dist { list-style: none; padding: 0; margin-top: 1rem; }
.dist li { display: flex; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.dist li span { color: var(--ink); font-weight: 400; }
.dist strong { font-family: var(--display); font-weight: 500; font-size: 1.25rem; color: var(--gold-deep); white-space: nowrap; }
.map { aspect-ratio: 1; border: 1px solid var(--gold-soft); padding: 10px; background: var(--ivory); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) sepia(.25) contrast(.95); }

/* About */
.portrait { aspect-ratio: 4/5; }
.portrait-mono { display: none; }
.portrait.empty .portrait-mono { display: grid; place-items: center; position: absolute; inset: 0; font-family: var(--royal); font-size: 4rem; letter-spacing: .1em; color: var(--gold); }
.about h2 { margin-bottom: .2rem; }
.role { font-family: var(--royal); font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); }
blockquote { font-family: var(--display); font-style: italic; font-size: 1.6rem; line-height: 1.35; color: var(--ink); margin: 1.8rem 0; padding-left: 1.4rem; border-left: 1px solid var(--gold); }
.contact-list { list-style: none; padding: 0; margin-top: 2rem; }
.contact-list li { padding: .9rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 1rem; color: var(--ink); font-weight: 400; }
.contact-list span { font-family: var(--royal); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); padding-top: .25rem; }
.contact-list a { color: var(--ink); text-decoration-color: var(--gold-soft); text-underline-offset: 4px; }

/* Enquire */
.enquire { background: #fff; border-top: 1px solid var(--line); }
.form { margin-top: 2.6rem; }
.form label { display: block; font-family: var(--royal); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.6rem; }
.form input, .form select { display: block; width: 100%; margin-top: .4rem; padding: .7rem 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; font-family: var(--sans); font-size: 1.05rem; font-weight: 400; color: var(--ink); border-radius: 0; transition: border-color .3s; }
.form input:focus, .form select:focus { outline: none; border-bottom-color: var(--gold); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.consent { font-size: .82rem; color: var(--muted); margin-top: 1.1rem; text-align: center; }
.consent a { color: var(--gold-deep); }
.form-msg { text-align: center; font-size: .92rem; min-height: 1.3em; margin-top: .6rem; }
.form-msg.ok { color: #4f7a4a; }
.form-msg.err { color: #a2412f; }

/* Footer */
.footer { background: var(--cream); border-top: 1px solid var(--line); padding: 4rem 0 2.5rem; font-size: .9rem; }
.footer-top { display: flex; gap: 1.4rem; align-items: flex-start; margin-bottom: 2rem; }
.footer-top strong { font-family: var(--royal); font-weight: 500; letter-spacing: .14em; color: var(--ink); }
.footer a { color: var(--gold-deep); text-decoration: none; }
.footer .small { font-size: .78rem; color: var(--muted); }
.footer .disclaimer { max-width: 900px; }

/* Popup */
.modal { position: fixed; inset: 0; z-index: 150; background: rgba(31,27,22,.35); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; animation: fade .5s ease; }
.modal[hidden] { display: none; }
.modal-box { position: relative; background: var(--ivory); width: min(500px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 2.6rem 2.4rem 1.8rem; box-shadow: 0 30px 80px -30px rgba(31,27,22,.4); outline: 1px solid var(--gold-soft); outline-offset: -10px; animation: rise .6s ease; }
.modal-box .monogram { margin-bottom: 1rem; }
.modal-box .eyebrow { margin-bottom: .6rem; }
.modal-box h2 { font-size: 2.3rem; margin-bottom: .4rem; }
.modal-sub { color: var(--muted); font-size: .95rem; }
.modal-box .form { margin-top: 1.6rem; }
.modal-box .form label { margin-bottom: 1.2rem; }
.modal-close { position: absolute; top: 18px; right: 22px; background: none; border: 0; font-size: 1.7rem; line-height: 1; color: var(--muted); cursor: pointer; z-index: 1; }
.modal-close:hover { color: var(--ink); }
body.modal-open { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s ease, transform 1.1s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .veil { display: none; } }

/* Mobile bar */
.sticky-bar { display: none; }

/* Privacy page */
.policy { padding: 140px 0 90px; }
.policy h1 { font-size: clamp(2.8rem, 6vw, 4.2rem); margin-bottom: .4rem; }
.policy h2 { font-size: 1.8rem; margin: 2.6rem 0 .8rem; }
.policy ul { padding-left: 1.2rem; margin-top: .6rem; }
.policy li { margin: .45rem 0; }
.policy strong { color: var(--ink); font-weight: 500; }
.policy .updated { color: var(--muted); font-size: .9rem; }
.policy a { color: var(--gold-deep); }
.back { display: inline-flex; margin-bottom: 1.8rem; }

/* Responsive */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ivory); padding: .5rem 16px 1.4rem; border-bottom: 1px solid var(--line); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 1rem; text-align: center; }
  .nav:has(.nav-links.open) { background: var(--ivory); }
  .hero { flex-direction: column; align-items: stretch; padding: 104px 0 0; min-height: auto; }
  .hero-media { position: relative; inset: auto; order: 2; height: 62vw; min-height: 300px; margin-top: 3rem; }
  .hero::after { display: none; }
  .split, .res-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stats-inner div:nth-child(3) { border-left: 0; }
  .stats-inner div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sticky-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; inset: auto 0 0; z-index: 60; background: var(--ivory); border-top: 1px solid var(--line); }
  .sticky-bar a { text-align: center; padding: 1rem 0; text-decoration: none; font-family: var(--royal); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
  .sticky-bar .gold { background: var(--gold-deep); color: #fff; }
  .footer { padding-bottom: 5.5rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-text small { display: none; }
  .form .row { grid-template-columns: 1fr; gap: 0; }
  .modal-box .form .row { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .modal-box { padding: 2.2rem 1.5rem 1.4rem; }
  .amen { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: .2rem; }
  .stats strong { font-size: 2.2rem; }
}

/* Hero photo framing */
.hero-media img { object-position: 50% 35%; }

/* Floor plans */
.plans { background: var(--ivory); }
.plans-sub { color: var(--muted); max-width: 520px; margin: -.4rem auto 0; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.plan-frame { position: relative; background: #fff; border: 1px solid var(--line); padding: 1.2rem; aspect-ratio: 1080/788; overflow: hidden; cursor: zoom-in; }
.plan-frame img { width: 100%; height: 100%; object-fit: contain; transition: filter .6s ease; }
.plan-frame.locked { cursor: default; }
.plan-frame.locked img { filter: blur(7px) grayscale(.3); }
.plan-unlock { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; }
.plan-frame:not(.locked) .plan-unlock { display: none; }
.plan-frame.missing { display: grid; place-items: center; }
.plan-frame.missing img { display: none; }
.plan figcaption { display: flex; align-items: baseline; gap: 1rem; padding-top: 1.1rem; color: var(--ink); }
.plan figcaption span { font-family: var(--royal); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 160; background: rgba(251,248,242,.97); display: grid; place-items: center; padding: 56px 16px 16px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 80px); object-fit: contain; }

@media (max-width: 960px) {
  .plan-grid { grid-template-columns: 1fr; }
}

/* ===== Multi-project additions ===== */

/* Home hero */
.home-hero { min-height: 92vh; display: grid; place-items: center; padding: 140px 0 90px; background:
  radial-gradient(ellipse at 50% 0%, rgba(216,195,155,.28), transparent 60%), var(--ivory); }
/* Home page only: residence photo under an ivory wash */
.home-hero.hero-photo { background:
  /* soft ivory glow behind the text keeps the heading crisp */
  radial-gradient(ellipse 62% 62% at 50% 48%, rgba(251,248,242,.9), rgba(251,248,242,.55) 55%, rgba(251,248,242,0) 85%),
  /* ivory wash over the photo, fading fully to ivory at the bottom edge */
  linear-gradient(180deg, rgba(251,248,242,.70) 0%, rgba(251,248,242,.62) 40%, rgba(251,248,242,.86) 80%, var(--ivory) 100%),
  url("/images/dlf-residences-lifestyle.webp") center 30% / cover no-repeat,
  var(--ivory); }
.crest-static { margin: 0 auto 2rem; width: 96px; height: 96px; }
.crest-static span { opacity: 1; animation: none; font-size: 1.6rem; }
.crest-static .crest-ring circle { stroke-dashoffset: 0; animation: none; }
.rule-center { margin-inline: auto; }
.home-hero .lead { margin-inline: auto; max-width: 560px; }
/* Laptops and wider: keep the home page heading on a single line (home page only) */
@media (min-width: 1024px) {
  .home-hero.hero-photo .narrow { width: min(1040px, 100% - 32px); }
  .home-hero.hero-photo h1 { font-size: min(6.5rem, 7.2vw); white-space: nowrap; }
}
.hero-cta-center { justify-content: center; }

/* Collection */
.collection { background: #fff; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.project { display: flex; flex-direction: column; text-decoration: none; color: inherit; border: 1px solid var(--line); background: var(--ivory); transition: transform .5s ease, box-shadow .5s ease; }
a.project:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -35px rgba(31,27,22,.35); }
.project figure { aspect-ratio: 4/3; }
.project figure img { transition: transform 1.2s ease; }
a.project:hover figure img { transform: scale(1.04); }
.project .slot.empty::after { content: none; }
.project .lineart { position: absolute; inset: 10% 8% 0; width: 84%; height: 90%; }
.project .slot.empty::before { inset: 14px 14px 0; border-bottom: 0; }
.project-badge { position: absolute; z-index: 2; top: 16px; left: 16px; background: rgba(251,248,242,.94); font-family: var(--royal); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); padding: .45rem .8rem; }
.project-body { padding: 1.8rem 1.8rem 2rem; display: flex; flex-direction: column; flex: 1; }
.project-place { font-family: var(--royal); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); }
.project h3 { font-size: 2rem; margin: .4rem 0 1.2rem; }
.project h3 em { font-style: italic; color: var(--gold); }
.project-meta { list-style: none; padding: 0; margin-bottom: 1.6rem; flex: 1; }
.project-meta li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--line); color: var(--ink); font-weight: 400; font-size: .95rem; text-align: right; }
.project-meta span { font-family: var(--royal); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; text-align: left; }
.project-soon { background: var(--cream); border-style: dashed; border-color: var(--gold-soft); }
.soon-inner { padding: 3rem 2rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; height: 100%; gap: 1.2rem; }
.soon-inner h3 { margin: 0; }

/* Pillars (approach / priority access) */
.approach { background: var(--cream); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.pillar { border-top: 1px solid var(--gold-soft); padding-top: 1.8rem; }
.pillar-num { font-family: var(--royal); color: var(--gold-text); letter-spacing: .2em; }
.pillar h3 { margin: .5rem 0 .8rem; font-size: 1.7rem; }
/* Home page "The SK Promise": five pillars, 3 + 2 centred on laptops */
.promise-sub { max-width: 560px; margin: .2rem auto 0; color: var(--muted); }
.pillars-five .pillar h3 { font-size: 1.55rem; }
@media (min-width: 961px) {
  .pillars-five { grid-template-columns: repeat(6, 1fr); gap: 3.2rem 2.6rem; }
  .pillars-five .pillar { grid-column: span 2; }
  .pillars-five .pillar:nth-child(4) { grid-column: 2 / span 2; }
  .pillars-five .pillar:nth-child(5) { grid-column: 4 / span 2; }
}

/* Advisor strip (project pages) */
.advisor { background: #fff; }
.center-quote { border: 0; padding: 0; margin: 1.6rem auto 1.2rem; max-width: 640px; font-size: 1.8rem; }
.advisor-links { margin-top: 1rem; }
.advisor-links a { color: var(--gold-deep); text-decoration: none; }

/* Word stats (pre-launch project) */
.stats-words strong { font-size: 1.9rem; }

@media (max-width: 960px) {
  .project-grid, .pillars { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .home-hero { min-height: auto; padding: 130px 0 80px; }
}
@media (max-width: 560px) {
  .stats-words strong { font-size: 1.45rem; }
  .project-body { padding: 1.5rem; }
}

/* ====== Careers ====== */
.careers-hero { min-height: 72vh; }
.careers-hero h1 { font-size: clamp(2.7rem, 5.6vw, 5rem); line-height: 1.08; }
.careers-hero .lead { max-width: 620px; text-wrap: balance; }
.jd-meta { font-family: var(--royal); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: .8rem; }
.jd-intro { font-size: 1.15rem; text-align: center; max-width: 680px; margin: 2.4rem auto 3.2rem; }
.jd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.jd-block { border-top: 1px solid var(--gold-soft); padding-top: 1.8rem; }
.jd-block h3 { font-size: 1.7rem; margin-bottom: 1rem; }
.jd-block ul { list-style: none; padding: 0; margin: 0; }
.jd-block li { position: relative; padding-left: 1.4rem; margin: .7rem 0; }
.jd-block li::before { content: "◆"; position: absolute; left: 0; top: .1em; font-size: .6rem; color: var(--gold); }
.form input::placeholder { color: var(--muted); opacity: .6; }
@media (max-width: 760px) { .jd-grid { grid-template-columns: 1fr; gap: 2.2rem; } }

/* ====== Collection: "coming soon" spans the row; 3-image gallery ====== */
.project-grid .project-soon { grid-column: 1 / -1; }
/* Project facts list shown under the residences (TARC Kailasa) */
.dist-inline { max-width: 680px; margin: 3rem auto 0; }
/* 4 projects on desktop: the "coming soon" card fills the rest of row 2 */
@media (min-width: 961px) { .project-grid .project-soon { grid-column: span 2; } }
.project-soon .soon-inner { max-width: 620px; margin-inline: auto; text-align: center; align-items: center; }
.gallery3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.gallery3 figure { aspect-ratio: 4/5; position: relative; }
.gallery3 figcaption { position: absolute; z-index: 2; left: 16px; bottom: 16px; background: rgba(251,248,242,.94); font-family: var(--royal); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); padding: .45rem .8rem; }
.amen-wide { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: 3rem auto 0; }
@media (max-width: 760px) {
  .gallery3 { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .gallery3 figure { aspect-ratio: 4/3; }
  .amen-wide { grid-template-columns: 1fr; }
}

/* ====== Phone with country code ====== */
.phone-field { display: flex; gap: .8rem; align-items: flex-end; }
.phone-field select { width: 6.6rem; flex: none; }
.phone-field input { flex: 1; min-width: 0; }
.form .opt { text-transform: none; letter-spacing: .02em; font-family: var(--sans); font-size: .8rem; }

/* ====== Visitor counter (footer) ====== */
.visits { margin-top: 1.4rem; font-family: var(--royal); font-size: .58rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-text); }
.visits span { font-family: var(--display); font-size: .9rem; letter-spacing: .08em; text-transform: none; }

/* ====== 20 years marker ====== */
.tenure { display: flex; align-items: center; gap: .9rem; margin: 1.4rem 0 .4rem; }
.tenure strong { font-family: var(--display); font-weight: 500; font-size: 3.2rem; line-height: 1; color: var(--gold-deep); }
.tenure span { font-family: var(--royal); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); line-height: 1.6; border-left: 1px solid var(--gold-soft); padding-left: .9rem; }

/* ====== FAQ ====== */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.3rem 0; font-family: var(--display); font-size: 1.35rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--sans); font-weight: 300; color: var(--gold-text); transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 1.4rem; max-width: 680px; }

/* FAQ assistant (chatbot.js) */
.bot-launcher { position: fixed; right: 24px; bottom: 24px; z-index: 70; display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.25rem; border: 0; border-radius: 999px; background: var(--gold-deep); color: #fff; font-family: var(--royal); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; box-shadow: 0 14px 34px -14px rgba(31,27,22,.55); transition: background .3s, transform .3s; }
.bot-launcher:hover { background: var(--ink); transform: translateY(-2px); }
.bot-launcher svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.bot-launcher[aria-expanded="true"] { background: var(--ink); }
.bot-panel { position: fixed; right: 24px; bottom: 88px; z-index: 70; width: min(380px, calc(100vw - 32px)); max-height: min(600px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--ivory); border: 1px solid var(--gold-soft); box-shadow: 0 30px 80px -30px rgba(31,27,22,.45); animation: rise .35s ease; }
.bot-panel[hidden] { display: none; }
.bot-head { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; border-bottom: 1px solid var(--line); background: var(--cream); }
.bot-head .monogram { width: 38px; height: 38px; font-size: .8rem; }
.bot-head p { flex: 1; line-height: 1.3; }
.bot-head strong { display: block; font-family: var(--display); font-size: 1.25rem; font-weight: 500; color: var(--ink); }
.bot-head small { font-size: .75rem; color: var(--muted); }
.bot-close { background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--muted); cursor: pointer; padding: .2rem .4rem; }
.bot-close:hover { color: var(--ink); }
.bot-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .7rem; font-size: .92rem; line-height: 1.55; }
.bot-msg { max-width: 88%; padding: .7rem .9rem; }
.bot-msg p + p { margin-top: .5rem; }
.bot-msg .link-arrow { display: inline-block; margin-top: .5rem; font-size: .85rem; color: var(--gold-text); }
.bot-bot { align-self: flex-start; background: var(--cream); color: var(--text); border-left: 2px solid var(--gold); }
.bot-me { align-self: flex-end; background: var(--ink); color: var(--ivory); }
.bot-options { display: flex; flex-wrap: wrap; gap: .45rem; padding: .8rem 1rem; border-top: 1px solid var(--line); max-height: 40%; overflow-y: auto; }
.bot-chip { border: 1px solid var(--gold-soft); background: #fff; color: var(--ink); border-radius: 999px; padding: .4rem .85rem; font-size: .82rem; line-height: 1.3; cursor: pointer; transition: border-color .2s, background .2s; }
.bot-chip:hover, .bot-chip:focus-visible { border-color: var(--gold-deep); background: var(--cream); }
.bot-chip-gold { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.bot-chip-gold:hover, .bot-chip-gold:focus-visible { background: var(--ink); border-color: var(--ink); color: #fff; }
.bot-note { padding: 0 1rem .7rem; font-size: .72rem; color: var(--muted); }
@media (max-width: 960px) {
  /* sit above the Call / WhatsApp / Preview bar */
  .bot-launcher { right: 16px; bottom: 68px; padding: .75rem 1.05rem; }
  .bot-panel { right: 16px; left: 16px; bottom: 68px; width: auto; max-height: calc(100dvh - 160px); }
  body.bot-open .bot-launcher { display: none; }
}
/* Greeting card above the "Happy to help" button, shown on hover / keyboard focus */
.bot-hello { position: fixed; right: 24px; bottom: 88px; z-index: 71; width: min(300px, calc(100vw - 32px)); padding: 1rem 1.15rem 1.05rem; background: var(--ivory); border: 1px solid var(--gold-soft); border-left: 2px solid var(--gold); box-shadow: 0 24px 60px -24px rgba(31,27,22,.45); cursor: pointer; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.bot-hello.is-on { opacity: 1; transform: none; pointer-events: auto; }
.bot-hello::after { content: ""; position: absolute; right: 34px; bottom: -7px; width: 12px; height: 12px; background: var(--ivory); border-right: 1px solid var(--gold-soft); border-bottom: 1px solid var(--gold-soft); transform: rotate(45deg); }
.bot-hello strong { display: block; margin-bottom: .3rem; font-family: var(--display); font-size: 1.3rem; font-weight: 500; color: var(--ink); }
.bot-hello p { font-size: .88rem; line-height: 1.55; color: var(--text); }
.bot-hello small { display: block; margin-top: .6rem; font-family: var(--royal); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
/* Phones and tablets have no hover: the button opens the chat directly */
@media (hover: none) { .bot-hello { display: none; } }
@media (prefers-reduced-motion: reduce) { .bot-panel { animation: none; } .bot-launcher, .bot-hello { transition: none; } }
