/* Rajesh Group of Companies
   Direction: midnight ink, champagne gold, warm sand. Each project carries its own gem tone
   (emerald, sapphire, azure, clay). Thin serif display, spaced sans labels, cinematic imagery. */
:root {
  --ink: #0a1222;
  --ink-2: #0f1a30;
  --ink-3: #16243f;
  --gold: #c8a66a;
  --gold-2: #e4cf9f;
  --gold-dim: rgba(200,166,106,.28);
  --sand: #ece3d2;
  --bone: #f6f0e5;
  --text-dark: #1c2230;
  --muted-dark: #5d6371;
  --muted-light: #a7b0c3;
  --line-light: rgba(255,255,255,.12);
  --line-dark: rgba(28,34,48,.14);
  --emerald: #13372f;
  --emerald-2: #1f5246;
  --sapphire: #142a5c;
  --sapphire-2: #23407f;
  --azure: #0e2a45;
  --azure-2: #1d4f7c;
  --clay: #3a2219;
  --clay-2: #7a4630;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: #e9ecf3; font: 400 16px/1.75 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.04; margin: 0; letter-spacing: .005em; text-wrap: balance; }
h2 { font-size: clamp(40px, 5.6vw, 76px); }
h3 { font-size: clamp(28px, 3vw, 40px); }
em { font-style: italic; }
p { margin: 0 0 1em; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font: 600 11px/1 var(--body); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin: 0 0 22px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.lede { font-size: 17px; color: var(--muted-light); max-width: 58ch; }
.on-sand .lede { color: var(--muted-dark); }
.gold { color: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; font: 600 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-line { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(10,18,34,.15); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-3); }
.btn-ink-line { border-color: var(--text-dark); color: var(--text-dark); }
.btn-ink-line:hover { background: var(--text-dark); color: var(--bone); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); text-decoration: none; padding: 14px 0; }
.link-arrow::after { content: "→"; transition: transform .25s; }
.link-arrow:hover::after { transform: translateX(5px); }

.badge { display: inline-flex; align-items: center; gap: 8px; font: 600 10px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); border: 1px solid var(--gold-dim); padding: 8px 12px; background: rgba(10,18,34,.35); backdrop-filter: blur(4px); }
.badge svg { width: 13px; height: 13px; }
.badge.solid { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* Header */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 80; transition: background .35s, border-color .35s, box-shadow .35s; border-bottom: 1px solid transparent; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; max-width: 1400px; }
.site-head.solid { background: rgba(10,18,34,.94); backdrop-filter: blur(12px); border-color: var(--line-light); }
.site-head.solid .wrap { height: 72px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; color: #fff; }
.brand img { height: 50px; width: auto; transition: height .35s; }
.site-head.solid .brand img { height: 44px; }
.brand-words b { display: block; font: 700 21px/1 var(--body); letter-spacing: .14em; }
.brand-words small { display: block; font: 500 9px/1 var(--body); letter-spacing: .3em; color: var(--muted-light); margin-top: 6px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav > a, .nav .dd > button { font: 600 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: #fff; text-decoration: none; background: none; border: 0; cursor: pointer; padding: 10px 0; }
.nav > a:hover, .nav .dd > button:hover { color: var(--gold-2); }
.dd { position: relative; }
.dd > button::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin-left: 9px; vertical-align: 3px; }
.dd-menu { position: absolute; top: calc(100% + 14px); left: -24px; min-width: 300px; background: var(--ink-2); border: 1px solid var(--line-light); padding: 10px; display: none; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.dd.open .dd-menu, .dd:focus-within .dd-menu { display: block; }
.dd-menu a { display: grid; grid-template-columns: 10px 1fr; gap: 14px; align-items: center; padding: 14px 14px; text-decoration: none; color: #fff; }
.dd-menu a:hover { background: var(--ink-3); }
.dd-menu i { width: 10px; height: 10px; transform: rotate(45deg); }
.dd-menu b { display: block; font: 500 21px/1.1 var(--display); }
.dd-menu small { display: block; font-size: 11px; letter-spacing: .08em; color: var(--muted-light); margin-top: 3px; }
.head-cta { display: flex; gap: 10px; }
.head-cta .btn { min-height: 42px; padding: 0 18px; }
.menu-btn { display: none; width: 46px; height: 46px; background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 1px; background: currentColor; margin: 5px auto; }
.mobile-nav { position: fixed; inset: 0; z-index: 90; background: var(--ink); padding: 100px 28px 40px; display: none; flex-direction: column; gap: 4px; overflow-y: auto; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font: 500 34px/1.25 var(--display); color: #fff; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line-light); }
.mobile-nav a small { display: block; font: 500 11px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.mobile-nav .close { position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: 22px; cursor: pointer; }

/* Gem colours */
.gem-emerald { background: #3f8f74; }
.gem-sapphire { background: #4c74c9; }
.gem-azure { background: #4a9ad6; }
.gem-clay { background: #c27a55; }

/* Hero slider (home) */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--ink); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 0s linear 1.2s; }
.slide.active { opacity: 1; visibility: visible; transition: opacity 1.2s ease; z-index: 1; }
.slide .media { position: absolute; inset: 0; overflow: hidden; }
.slide .media img { width: 100%; height: 100%; object-fit: cover; }
.slide.active .media img.kb { animation: kenburns 9s ease-out forwards; }
.slide .media.pan img { position: absolute; top: 0; left: 0; height: 100%; width: auto; max-width: none; object-fit: initial; }
.slide.active .media.pan img { animation: pan 26s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.0); } to { transform: scale(1.08); } }
@keyframes pan { from { transform: translateX(0); } to { transform: translateX(calc(-100% + 100vw)); } }
.slide .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,18,34,.88) 0%, rgba(10,18,34,.55) 38%, rgba(10,18,34,.05) 70%), linear-gradient(0deg, rgba(10,18,34,.9) 0%, rgba(10,18,34,0) 38%); }
.slide .copy { position: absolute; left: 0; right: 0; bottom: 150px; z-index: 2; }
.slide .copy .inner { max-width: 820px; }
.slide .where { font: 600 11px/1 var(--body); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); display: flex; align-items: center; gap: 12px; }
.slide .where i { width: 9px; height: 9px; transform: rotate(45deg); }
.slide h1 { font-size: clamp(46px, 6vw, 92px); color: #fff; margin: 20px 0 0; font-weight: 500; }
.slide h1 em { color: var(--gold-2); font-weight: 400; display: block; }
.slide p { color: #d3d9e6; font-size: 17px; max-width: 48ch; margin: 18px 0 0; }
.slide .badge { margin-top: 22px; }
.slide .btn-row { margin-top: 28px; }
.slide.active .copy .inner > * { animation: rise .9s ease both; }
.slide.active .copy .inner > *:nth-child(2) { animation-delay: .12s; }
.slide.active .copy .inner > *:nth-child(3) { animation-delay: .24s; }
.slide.active .copy .inner > *:nth-child(4) { animation-delay: .36s; }
.slide.active .copy .inner > *:nth-child(5) { animation-delay: .48s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-tabs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; border-top: 1px solid var(--line-light); background: linear-gradient(0deg, rgba(10,18,34,.75), rgba(10,18,34,0)); }
.hero-tabs .wrap { display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: stretch; }
.hero-tabs button { position: relative; text-align: left; background: none; border: 0; color: rgba(255,255,255,.55); padding: 22px 18px 24px 0; cursor: pointer; }
.hero-tabs button b { display: block; font: 500 22px/1.1 var(--display); }
.hero-tabs button small { display: block; font: 600 10px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; margin-top: 8px; color: inherit; }
.hero-tabs button::before { content: ""; position: absolute; top: -1px; left: 0; right: 18px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero-tabs button.on { color: #fff; }
.hero-tabs button.on::before { animation: progress var(--dur, 8s) linear forwards; }
.hero-tabs .paused button.on::before { animation: none; transform: scaleX(1); }
@keyframes progress { to { transform: scaleX(1); } }
.hero-count { align-self: center; font: 500 22px/1 var(--display); color: rgba(255,255,255,.6); padding-left: 24px; font-variant-numeric: tabular-nums; }
.hero-count b { color: #fff; font-weight: 500; }
.scroll-cue { display: none; }

/* Intro statement */
.on-sand { background: var(--sand); color: var(--text-dark); }
.intro { padding: 120px 0 110px; position: relative; overflow: hidden; }
.intro .statement { font: 400 clamp(34px, 4.4vw, 62px)/1.12 var(--display); max-width: 20ch; color: var(--text-dark); }
.intro .statement em { color: #8a6a33; }
.intro .cols { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: end; }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); margin-top: 70px; }
.counters div { padding: 28px 24px 0 0; }
.counters b { display: block; font: 500 clamp(44px, 4.4vw, 62px)/1 var(--display); white-space: nowrap; color: var(--text-dark); font-variant-numeric: tabular-nums; }
.counters span { display: block; margin-top: 10px; font: 600 11px/1.5 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); }

/* Chapter: generic */
.chapter { position: relative; padding: 130px 0; overflow: hidden; }
.chapter-head { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: 64px; }
.chapter-head h2 { color: #fff; }
.chapter-head h2 em { color: var(--gold-2); }
.chapter-num { font: 400 clamp(90px, 12vw, 170px)/.8 var(--display); color: transparent; -webkit-text-stroke: 1px var(--gold-dim); user-select: none; }

/* Universe */
.universe { background: radial-gradient(90% 60% at 80% 0%, #17305a 0%, transparent 60%), var(--ink); }
.orbits { position: absolute; top: -260px; right: -360px; width: 1200px; height: 1200px; z-index: 0; pointer-events: none; opacity: .9; }
.u-legend { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; font-size: 13px; color: var(--muted-light); }
.u-legend span { display: inline-flex; align-items: center; gap: 10px; }
.u-legend i { width: 9px; height: 9px; transform: rotate(45deg); }
.u-legend b { color: #fff; font-weight: 500; }

.emerald-band { position: relative; z-index: 2; margin: 0 auto; max-width: 1600px; }
.emerald-band .pano { position: relative; overflow: hidden; }
.emerald-band .pano img { width: 100%; aspect-ratio: 10000/3208; object-fit: cover; transition: transform 1.6s ease; }
.emerald-band:hover .pano img { transform: scale(1.02); }
.emerald-band .pano::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--emerald) 0%, rgba(19,55,47,0) 40%), linear-gradient(90deg, rgba(10,18,34,.55), rgba(10,18,34,0) 45%); }
.emerald-band { background: var(--emerald); }
.emerald-band .pano-title { position: relative; z-index: 2; margin-top: -64px; }
.emerald-band .pano-title .wrap { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.emerald-band .pano-title h3 { font-size: clamp(38px, 5vw, 72px); color: #fff; }
.emerald-band .pano-title h3 small { display: block; font: 600 11px/1 var(--body); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 16px; }
.emerald-body { background: linear-gradient(180deg, var(--emerald) 0%, #0e2924 100%); padding: 56px 0 72px; }
.emerald-body .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.emerald-body p { color: #cfe0d9; max-width: 54ch; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); margin: 28px 0 30px; }
.chips div { background: rgba(10,18,34,.25); padding: 18px 20px; }
.chips dt { font: 600 10px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); }
.chips dd { margin: 8px 0 0; font: 500 24px/1.15 var(--display); color: #fff; }
.on-sand .chips { background: var(--line-dark); border-color: var(--line-dark); }
.on-sand .chips div { background: var(--bone); }
.on-sand .chips dt { color: #8a6a33; }
.on-sand .chips dd { color: var(--text-dark); }
.framed { position: relative; }
.framed img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.framed::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--gold-dim); z-index: -1; }
.framed figcaption { font: 600 10px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--muted-light); margin-top: 28px; }

/* Amenities */
.amenities { position: relative; z-index: 2; padding-top: 110px; }
.amen-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.amen-head h3 { font-size: clamp(36px, 4.4vw, 58px); color: #fff; }
.amen-key { display: flex; gap: 20px; justify-content: flex-end; font-size: 12px; color: var(--muted-light); }
.amen-key span { display: inline-flex; align-items: center; gap: 8px; }
.amen-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.amen { border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); padding: 28px 24px 26px; display: flex; flex-direction: column; gap: 16px; min-height: 176px; transition: background .3s; }
.amen:hover { background: rgba(255,255,255,.03); }
.amen svg { width: 34px; height: 34px; color: var(--gold); }
.amen b { font: 500 23px/1.15 var(--display); color: #fff; }
.amen .tag { margin-top: auto; align-self: flex-start; font: 600 9px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; padding: 6px 9px; }
.tag.ready { color: #a7dcbc; background: rgba(110,190,140,.12); }
.tag.soon { color: var(--gold-2); background: rgba(200,166,106,.14); }
.dot-ready, .dot-soon { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-ready { background: #7cc79a; }
.dot-soon { background: var(--gold); }
.on-sand .amen-grid, .on-sand .amen { border-color: var(--line-dark); }
.on-sand .amen b { color: var(--text-dark); }
.on-sand .amen svg { color: #8a6a33; }

/* Residence split (Sapphire, Tirth) */
.residence { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; min-height: 560px; }
.residence .pic { position: relative; overflow: hidden; }
.residence .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s ease; }
.residence:hover .pic img { transform: scale(1.03); }
.residence .txt { padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; }
.residence .txt h3 { font-size: clamp(40px, 4.6vw, 64px); color: #fff; }
.residence .txt h3 small { display: block; font: 600 11px/1 var(--body); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 18px; }
.residence .txt p { color: #cdd6ea; margin-top: 18px; }
.residence .txt .badge { align-self: flex-start; margin-top: 4px; }
.res-sapphire .txt { background: linear-gradient(160deg, var(--sapphire-2) 0%, var(--sapphire) 100%); }
.res-clay .txt { background: linear-gradient(160deg, var(--clay-2) 0%, var(--clay) 100%); }
.res-clay .txt p { color: #ead8cc; }
.residence.flip { grid-template-columns: .85fr 1.15fr; }
.residence.flip .pic { order: 2; }

/* Connectivity */
.connect { position: relative; z-index: 2; padding-top: 110px; }
.connect-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.connect-card { border: 1px solid var(--line-light); padding: 30px 26px; background: rgba(255,255,255,.02); }
.connect-card svg { width: 30px; height: 30px; color: var(--gold); }
.connect-card b { display: block; font: 500 44px/1 var(--display); color: #fff; margin-top: 22px; }
.connect-card span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted-light); }

/* Delivered strip */
.home-already { position: relative; z-index: 2; padding-top: 110px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.home-already .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile { position: relative; overflow: hidden; }
.tile img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 1.2s ease; }
.tile:hover img { transform: scale(1.04); }
.tile .cap { position: absolute; inset: auto 0 0 0; padding: 40px 20px 18px; background: linear-gradient(0deg, rgba(10,18,34,.92), rgba(10,18,34,0)); }
.tile .cap b { display: block; font: 500 24px/1.1 var(--display); color: #fff; }
.tile .cap span { font: 600 10px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }

/* Kalp B */
.kalpb { background: linear-gradient(180deg, var(--azure) 0%, #091a2c 100%); padding-top: 0; }
.kb-hero { position: relative; height: min(88vh, 860px); min-height: 560px; overflow: hidden; }
.kb-hero img { width: 100%; height: 100%; object-fit: cover; }
.kb-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--azure) 0%, rgba(14,42,69,0) 45%), linear-gradient(90deg, rgba(9,26,44,.75), rgba(9,26,44,0) 55%); }
.kb-hero .over { position: absolute; left: 0; right: 0; bottom: 60px; z-index: 2; }
.kb-hero h2 { color: #fff; }
.kb-hero h2 small { display: block; font: 600 11px/1 var(--body); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 20px; }
.kb-hero .badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.kb-body { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 40px 0 70px; }
.kb-body p { color: #cfdcea; max-width: 54ch; }
.kb-body .chips div { background: rgba(9,26,44,.35); }
.mini-amen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line-light); }
.mini-amen li { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-light); font: 500 21px/1.2 var(--display); color: #fff; }
.mini-amen li:nth-child(odd) { padding-right: 18px; }
.mini-amen svg { width: 28px; height: 28px; color: var(--gold); flex: none; }
.gallery-strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--gold-dim) transparent; }
.gallery-strip button { flex: 0 0 auto; width: min(520px, 82vw); min-width: 0; scroll-snap-align: start; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; overflow: hidden; }
.gallery-strip img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 1s ease; }
.gallery-strip button:hover img { transform: scale(1.04); }
.gallery-strip span { position: absolute; left: 14px; bottom: 12px; font: 600 10px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: #fff; background: rgba(10,18,34,.6); padding: 7px 10px; }
.strip-nav { display: flex; gap: 10px; justify-content: flex-end; margin-bottom: 18px; }
.strip-nav button { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; font-size: 18px; }
.strip-nav button:hover { border-color: var(--gold); color: var(--gold); }

/* Tirth */
.tirth { background: linear-gradient(180deg, #1a100c 0%, var(--ink) 100%); }

/* Legacy */
.legacy { padding: 130px 0; }
.legacy .cols { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.big-year { font: 400 clamp(150px, 22vw, 300px)/.9 var(--display); color: var(--text-dark); letter-spacing: -.02em; }
.big-year small { display: block; font: 600 12px/1.6 var(--body); letter-spacing: .3em; text-transform: uppercase; color: #8a6a33; margin-top: 40px; }
.eyebrow-lg { font-size: 14px; letter-spacing: .3em; }
.eyebrow-lg::before { width: 44px; }
.legacy h2 { color: var(--text-dark); font-size: clamp(38px, 4.6vw, 62px); margin-bottom: 26px; }
.legacy h2 em { color: #8a6a33; }
.legacy p { color: #3b4252; max-width: 60ch; }
.gens { list-style: none; margin: 34px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line-dark); display: grid; gap: 18px; }
.gens li { display: grid; grid-template-columns: 54px 1fr 1fr; gap: 18px; align-items: start; }
.gens li > div:only-of-type { grid-column: 2 / span 2; }
.gens .gen { font: 500 30px/1 var(--display); color: #8a6a33; border-right: 1px solid rgba(138,106,51,.35); padding-top: 2px; }
.gens b { display: block; font: 500 24px/1.15 var(--display); color: var(--text-dark); }
.gens span:not(.gen) { font-size: 11px; letter-spacing: .12em; color: var(--muted-dark); text-transform: uppercase; }
.lineage { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.lineage b { display: block; font: 500 26px/1.15 var(--display); color: var(--text-dark); }
.lineage span { font-size: 12px; letter-spacing: .1em; color: var(--muted-dark); text-transform: uppercase; }
.lineage .arr { color: #8a6a33; font-size: 24px; }

/* Portfolio */
.portfolio { background: var(--ink-2); padding: 130px 0; }
.port-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.port-grid .tile.wide { grid-column: span 2; }
.port-grid .tile.wide img { aspect-ratio: 16/9; }
.ptxt { border: 1px solid var(--line-light); padding: 26px 24px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(160deg, rgba(255,255,255,.03), rgba(255,255,255,0)); transition: border-color .3s; }
.ptxt:hover { border-color: var(--gold-dim); }
.ptxt b { font: 500 28px/1.1 var(--display); color: #fff; }
.ptxt span { font: 600 10px/1.6 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.ptxt.feature { grid-column: span 3; background: linear-gradient(120deg, rgba(200,166,106,.14), rgba(200,166,106,0) 70%); border-color: var(--gold-dim); }
.ptxt.feature b { font-size: clamp(34px, 3.6vw, 48px); }
.ptxt.feature p { color: var(--muted-light); margin: 10px 0 0; max-width: 60ch; }

/* Visit */
.visit { padding: 130px 0 120px; background: var(--ink); }
.loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.loc { border: 1px solid var(--line-light); display: flex; flex-direction: column; background: var(--ink-2); }
.map { position: relative; aspect-ratio: 4/3; background: radial-gradient(circle at 50% 46%, rgba(200,166,106,.25) 0 6px, transparent 7px), repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 28px), repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 28px), var(--ink-3); }
.map::before { content: "Loading map"; position: absolute; left: 0; right: 0; top: calc(46% + 16px); text-align: center; font: 600 10px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted-light); }
.map .pin-label { position: absolute; left: 50%; top: calc(50% - 30px); transform: translate(-50%, -100%); z-index: 2; pointer-events: none; white-space: nowrap; background: var(--ink); color: var(--gold-2); font: 600 10px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; padding: 8px 11px; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.map .pin-label::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: var(--ink); transform: translateX(-50%) rotate(45deg); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
.loc .lb { padding: 22px 22px 18px; display: flex; flex-direction: column; flex: 1; }
.loc .lb b { font: 500 25px/1.1 var(--display); color: #fff; }
.loc .lb p { font-size: 13px; color: var(--muted-light); margin: 8px 0 0; }
.loc .lb .link-arrow { margin-top: auto; padding-bottom: 0; }

.enquire { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; margin-top: 90px; border: 1px solid var(--line-light); }
.enquire .side { padding: 52px 44px; background: radial-gradient(80% 80% at 0% 0%, #1b3060 0%, transparent 70%), var(--ink-2); }
.enquire .side h3 { font-size: clamp(36px, 4vw, 54px); color: #fff; }
.contact-lines { display: grid; gap: 22px; margin-top: 36px; }
.contact-lines div > span { display: block; font: 600 10px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.contact-lines a { text-decoration: none; font-size: 19px; color: #fff; overflow-wrap: anywhere; }
.contact-lines a:hover { color: var(--gold-2); }
.contact-lines address { font-style: normal; color: #d3d9e6; font-size: 15px; }
.social { display: flex; gap: 10px; }
.social a { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; color: #fff; }
.social a:hover { border-color: var(--gold); color: var(--gold); }
.social svg { width: 18px; height: 18px; }
form.enq { background: var(--bone); color: var(--text-dark); padding: 52px 44px; display: grid; gap: 18px; align-content: start; }
form.enq h4 { font-size: 34px; color: var(--text-dark); }
form.enq .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form.enq label { display: grid; gap: 8px; font: 600 10px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: #4a5162; }
form.enq input, form.enq select, form.enq textarea { font: 400 16px/1.4 var(--body); letter-spacing: 0; text-transform: none; color: var(--text-dark); background: transparent; border: 0; border-bottom: 1px solid rgba(28,34,48,.3); padding: 12px 0; border-radius: 0; }
form.enq select { appearance: none; background: linear-gradient(45deg, transparent 50%, #4a5162 50%) right 6px center / 6px 6px no-repeat, linear-gradient(-45deg, transparent 50%, #4a5162 50%) right 0 center / 6px 6px no-repeat; padding-right: 22px; }
form.enq textarea { min-height: 84px; resize: vertical; }
form.enq input:focus, form.enq select:focus, form.enq textarea:focus { outline: none; border-bottom-color: #8a6a33; }
form.enq .btn { justify-self: start; margin-top: 8px; }
form.enq .fine { font-size: 12px; color: var(--muted-dark); margin: 0; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.foot { background: #070d19; border-top: 1px solid var(--line-light); padding: 64px 0 34px; color: var(--muted-light); font-size: 13px; }
.foot .top { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 40px; }
.foot h5 { font: 600 10px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; color: #d3d9e6; }
.foot a:hover { color: var(--gold-2); }
.foot .rera li { display: flex; justify-content: space-between; gap: 12px; }
.foot .rera span { color: #fff; font-variant-numeric: tabular-nums; }
.foot .bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; border-top: 1px solid var(--line-light); margin-top: 48px; padding-top: 24px; font-size: 12px; }

/* Mobile action bar */
.mbar { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,9,18,.96); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox .lb-cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font: 600 10px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--muted-light); }
.lightbox button { position: absolute; width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 20px; cursor: pointer; }
.lightbox button:hover { border-color: var(--gold); color: var(--gold); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* Reveal on scroll: visible by default, enhanced only when JS adds .js */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Project pages ---------- */
.p-hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; }
.p-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 12s ease-out forwards; }
.p-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,18,34,.85) 0%, rgba(10,18,34,.35) 50%, rgba(10,18,34,0) 75%), linear-gradient(0deg, var(--tone, var(--ink)) 0%, rgba(10,18,34,0) 40%); }
.p-hero .over { position: absolute; left: 0; right: 0; bottom: 90px; z-index: 2; }
.crumbs { font: 600 10px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }
.p-hero h1 { font-size: clamp(54px, 8vw, 120px); color: #fff; }
.p-hero h1 em { color: var(--gold-2); font-weight: 400; display: block; font-size: .62em; margin-top: 8px; }
.p-hero p { color: #d3d9e6; font-size: 18px; max-width: 50ch; margin-top: 18px; }
.p-hero .badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.p-hero .btn-row { margin-top: 28px; }
.facts { background: var(--tone, var(--ink-2)); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts div { padding: 30px 24px 30px 0; border-right: 1px solid var(--line-light); }
.facts div + div { padding-left: 24px; }
.facts div:last-child { border-right: 0; }
.facts dt { font: 600 10px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); }
.facts dd { margin: 10px 0 0; font: 500 26px/1.15 var(--display); color: #fff; }
.p-section { padding: 120px 0; }
.p-over .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.p-over h2 { font-size: clamp(38px, 4.6vw, 62px); color: var(--text-dark); }
.p-over h2 em { color: #8a6a33; }
.p-over p { color: #3b4252; }
.p-over ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.p-over li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--text-dark); }
.p-over li::before { content: ""; width: 9px; height: 9px; margin-top: 9px; transform: rotate(45deg); background: #b0894a; }
.p-over .framed::before { border-color: rgba(138,106,51,.35); }
.p-gallery .grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 50px; }
.p-gallery .grid button { padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; position: relative; grid-column: span 2; }
.p-gallery .grid button.big { grid-column: span 4; grid-row: span 2; }
.p-gallery .grid button.half { grid-column: span 3; }
.p-gallery .grid button.full { grid-column: span 6; }
.p-gallery .grid button.full img { aspect-ratio: 21/9; height: auto; }
.p-gallery .grid button.full.pano img { aspect-ratio: 10000/3208; }
.amen-grid.cols3 { grid-template-columns: repeat(3, 1fr); }
.p-gallery .grid img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; transition: transform 1s ease; }
.p-gallery .grid button:hover img { transform: scale(1.04); }
.p-gallery .grid span { position: absolute; left: 14px; bottom: 12px; font: 600 10px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: #fff; background: rgba(10,18,34,.6); padding: 7px 10px; }
.p-loc .cols { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: stretch; }
.p-loc .map { aspect-ratio: auto; min-height: 420px; }
.dist { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line-light); }
.dist li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.dist b { font: 500 22px/1.2 var(--display); color: #fff; }
.dist span { color: var(--muted-light); font-size: 14px; text-align: right; }
.rera-box { display: flex; align-items: center; gap: 20px; margin-top: 30px; padding: 18px 20px; border: 1px solid var(--line-light); }
.rera-box .qr { width: 84px; height: 84px; flex: none; background: #fff; display: grid; place-items: center; }
.rera-box .qr img { width: 76px; height: 76px; }
.rera-box p { margin: 0; font-size: 13px; color: var(--muted-light); }
.rera-box p b { display: block; color: #fff; font-size: 15px; letter-spacing: .04em; margin-bottom: 4px; }
.others .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.others a { text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav > a, .nav .dd, .head-cta .btn-line { display: none; }
  .menu-btn { display: block; }
  .amen-grid { grid-template-columns: repeat(3, 1fr); }
  .connect-grid, .loc-grid { grid-template-columns: 1fr 1fr; }
  .port-grid { grid-template-columns: 1fr 1fr; }
  .ptxt.feature { grid-column: span 2; }
  .foot .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 15px; }
  .site-head .wrap { height: 70px; }
  .brand img { height: 40px; }
  .brand-words b { font-size: 17px; }
  .brand-words small { font-size: 8px; letter-spacing: .24em; }
  .head-cta .btn-gold { display: none; }
  .hero { min-height: 600px; }
  .slide .copy { bottom: 118px; }
  .slide .shade { background: linear-gradient(0deg, rgba(10,18,34,.95) 0%, rgba(10,18,34,.55) 50%, rgba(10,18,34,.15) 100%); }
  .slide p { font-size: 15px; }
  .hero-tabs .wrap { grid-template-columns: repeat(4, 1fr); padding: 0 16px; }
  .hero-tabs button { padding: 16px 8px 18px 0; }
  .hero-tabs button b { font-size: 15px; }
  .hero-tabs button small, .hero-count { display: none; }
  .intro { padding: 84px 0 76px; }
  .intro .cols, .emerald-body .cols, .kb-body, .legacy .cols, .p-over .cols, .p-loc .cols, .enquire, .home-already, .amen-head, .chapter-head { grid-template-columns: 1fr; gap: 36px; }
  .amen-key { justify-content: flex-start; }
  .counters { grid-template-columns: 1fr 1fr; row-gap: 10px; margin-top: 44px; }
  .counters b { font-size: 40px; }
  .counters span { font-size: 9px; letter-spacing: .14em; }
  .chapter { padding: 90px 0; }
  .chapter-num { display: none; }
  .chapter-head { margin-bottom: 44px; }
  .orbits { width: 760px; height: 760px; top: -180px; right: -420px; }
  .emerald-band .pano img { aspect-ratio: 16/9; object-position: 46% 50%; }
  .emerald-band .pano-title { margin-top: -30px; }
  .residence, .residence.flip { grid-template-columns: 1fr; min-height: 0; }
  .residence .pic, .residence.flip .pic { order: 0; aspect-ratio: 4/3; }
  .residence .txt { padding: 40px 24px 48px; }
  .amen-grid { grid-template-columns: 1fr 1fr; }
  .amen { min-height: 150px; padding: 22px 18px; }
  .amen b { font-size: 20px; }
  .connect-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .connect-card { padding: 22px 18px; }
  .connect-card b { font-size: 34px; }
  .mini-amen { grid-template-columns: 1fr; }
  .mini-amen li:nth-child(odd) { padding-right: 0; }
  .kb-hero { height: 72vh; min-height: 480px; }
  .legacy, .portfolio, .visit, .p-section { padding: 90px 0; }
  .lineage { grid-template-columns: 1fr; gap: 10px; }
  .gens li { grid-template-columns: 40px 1fr; }
  .gens li > div + div { grid-column: 2; }
  .gens li > div:only-of-type { grid-column: 2; }
  .lineage .arr { transform: rotate(90deg); justify-self: start; }
  .port-grid { grid-template-columns: 1fr; }
  .port-grid .tile.wide, .ptxt.feature { grid-column: auto; }
  .loc-grid { grid-template-columns: 1fr; }
  .enquire .side, form.enq { padding: 38px 24px; }
  form.enq .row2 { grid-template-columns: 1fr; }
  .facts .wrap { grid-template-columns: 1fr 1fr; padding: 0; }
  .facts div, .facts div + div { padding: 22px 20px; border-bottom: 1px solid var(--line-light); }
  .facts div:nth-child(2n) { border-right: 0; }
  .facts dd { font-size: 21px; }
  .p-hero .over { bottom: 64px; }
  .p-gallery .grid { grid-template-columns: 1fr 1fr; }
  .p-gallery .grid button, .p-gallery .grid button.half { grid-column: span 1; }
  .p-gallery .grid button.big, .p-gallery .grid button.full { grid-column: span 2; grid-row: auto; }
  .p-gallery .grid button.full img { aspect-ratio: 4/3; }
  .p-gallery .grid button.full.pano img { aspect-ratio: 16/9; }
  .amen-grid.cols3 { grid-template-columns: 1fr 1fr; }
  .p-gallery .grid img { min-height: 150px; }
  .others .grid { grid-template-columns: 1fr; }
  .foot .top { grid-template-columns: 1fr; gap: 30px; }
  .lightbox { padding: 70px 10px; }
  .mbar { display: grid; grid-template-columns: 1.2fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; border-top: 1px solid var(--line-light); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; font: 700 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
  .mbar svg { width: 16px; height: 16px; }
  .mbar .m-enq { background: var(--gold); color: var(--ink); }
  .mbar .m-wa { background: #1f8f50; color: #fff; }
  .mbar .m-call { background: var(--ink-2); color: #fff; }
  .foot { padding-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.counters b i { font-style: normal; }
