/* ============================================================
   Sri Anjanadri Nilayam – styles
   ============================================================ */
@font-face { font-family: "Inter"; src: url("assets/fonts/Inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("assets/fonts/PlayfairDisplay-var.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("assets/fonts/PlayfairDisplay-italic-var.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
/* fallbacks sized to the web fonts' metrics (computed with fontTools) */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 100 900; size-adjust: 106.42%; ascent-override: 91.03%; descent-override: 22.67%; line-gap-override: 0%; }
@font-face { font-family: "Playfair Fallback"; src: local("Georgia Bold"), local("Georgia-Bold"), local("Georgia"); font-weight: 100 900; size-adjust: 89.30%; ascent-override: 121.16%; descent-override: 28.11%; line-gap-override: 0%; }
:root {
  --brown: #4a2c1d; --brown-d: #2a1a11; --brown-2: #6b4330;
  --cream: #faf5ee; --sand: #f1e7da; --line: #e4d6c6;
  --accent: #d9792b; --accent-d: #b86119; --accent-l: #f2c9a3;
  --ink: #2a1d16; --muted: #6f6158;
  --r: 16px; --ease: cubic-bezier(.22,.8,.2,1);
  --head-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }   /* wheel keeps scrolling the page while passing over maps/videos */
body { margin: 0; font: 16px/1.65 "Inter", "Inter Fallback", system-ui, sans-serif; color: var(--ink); background: var(--cream); overflow-x: hidden; }
img, video, iframe { max-width: 100%; display: block; }
main, .site-footer { overflow-x: clip; }   /* nothing mid-animation can widen the page on phones (clip keeps sticky working) */
a { color: inherit; }
h1, h2, h3, h4 { font-family: "Playfair Display", "Playfair Fallback", Georgia, serif; line-height: 1.12; margin: 0 0 .5em; color: var(--brown); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.section { padding: clamp(64px, 10vw, 128px) 0; position: relative; }
.alt { background: var(--sand); }
.dark { background: var(--brown-d); color: #eadbc9; }
.dark h2, .dark h3, .dark h4 { color: #fff; }
.muted { color: var(--muted); } .dark .muted { color: #b9a592; }
.small { font-size: .85rem; } .center-t { text-align: center; max-width: 760px; margin: 28px auto 0; }
.sub { font-size: 1.08rem; color: var(--muted); max-width: 60ch; } .dark .sub { color: #c8b6a3; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.sec-head { margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head.center { text-align: center; } .sec-head.center .sub { margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 700; color: var(--accent-d); margin: 0 0 .8em; }
.eyebrow.light { color: var(--accent-l); }
.link-arrow { color: var(--accent-d); font-weight: 600; text-decoration: none; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font: 600 .95rem "Inter", "Inter Fallback", sans-serif; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: translate .25s var(--ease), background .25s, color .25s; }
.btn:hover { translate: 0 -2px; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 28px rgba(217,121,43,.35); }
.btn-primary:hover { background: var(--accent-d); }
.btn-ghost { border-color: var(--brown); color: var(--brown); background: transparent; } .btn-ghost:hover { background: var(--brown); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.08); } .btn-ghost-light:hover { background: #fff; color: var(--brown); }
.play-ico { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .62rem; padding-left: 2px; }

/* ---------- progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 120; background: linear-gradient(90deg, var(--accent), #f2a65a); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .35s, box-shadow .35s, transform .35s var(--ease); }
.site-header.scrolled { background: rgba(250,245,238,.97); box-shadow: 0 1px 0 var(--line); }
.site-header.hide { transform: translateY(-100%); }
.site-header:focus-within { transform: none; }
.bar { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; transition: color .3s; }
.site-header.scrolled .brand { color: var(--brown); }
.brand-txt b { display: block; font: 700 1.05rem "Playfair Display", "Playfair Fallback", Georgia, serif; line-height: 1.1; } .brand-txt small { font-size: .7rem; opacity: .75; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 500; color: #fff; position: relative; transition: color .3s; }
.site-header.scrolled .nav a { color: var(--ink); }
.nav a:not(.nav-call)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:not(.nav-call):hover::after { transform: scaleX(1); }
.nav-call { background: var(--accent); color: #fff !important; padding: 9px 20px; border-radius: 999px; font-weight: 600 !important; }
.lang-btn { margin-left: auto; background: none; border: 1px solid currentColor; color: #fff; border-radius: 999px; padding: 6px 13px; font: 600 .82rem "Nirmala UI", "Noto Sans Telugu", "Inter", "Inter Fallback", sans-serif; cursor: pointer; opacity: .9; line-height: 1.2; }
.lang-btn:hover { opacity: 1; background: rgba(255,255,255,.12); }
.site-header.scrolled .lang-btn, .site-header.open .lang-btn { color: var(--brown); }
/* Telugu: system Telugu fonts, more line height for vowel signs, no clipped word-rise on the hero */
html.lang-te body { font-family: "Inter", "Nirmala UI", "Noto Sans Telugu", "Gautami", "Inter Fallback", sans-serif; }
html.lang-te h1, html.lang-te h2, html.lang-te h3, html.lang-te summary { line-height: 1.35; }
html.lang-te .hero-h1 { font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: 1.3; }
html.lang-te .hero-h1 .line { overflow: visible; }
html.lang-te .eyebrow { letter-spacing: .02em; }
html.lang-te .hero-h1 .wi { animation-name: fadeUp !important; }
html.te-pending .hero-text, html.te-pending main h2 { visibility: hidden; }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.menu-btn i { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .3s, top .3s; }
.menu-btn i:nth-child(1) { top: 17px; } .menu-btn i:nth-child(2) { top: 26px; }
.site-header.scrolled .menu-btn i, .site-header.open .menu-btn i { background: var(--brown); }
.menu-btn[aria-expanded="true"] i:nth-child(1) { top: 21px; transform: rotate(45deg); } .menu-btn[aria-expanded="true"] i:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- media slots ---------- */
.slot { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: #e8dac6; isolation: isolate; }
.slot[data-ratio="16/10"] { aspect-ratio: 16/10; } .slot[data-ratio="4/5"] { aspect-ratio: 4/5; } .slot[data-ratio="4/3"] { aspect-ratio: 4/3; } .slot[data-ratio="1/1"] { aspect-ratio: 1/1; } .slot[data-ratio="9/16"] { aspect-ratio: 9/16; }
.slot img, .slot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot .ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 16px; color: var(--brown-2);
  background: repeating-linear-gradient(135deg, rgba(74,44,29,.045) 0 14px, transparent 14px 28px), linear-gradient(135deg, #f0e4d1, #e2cfb4); }
.ph-ico { font: 700 .66rem "Inter", "Inter Fallback", sans-serif; letter-spacing: .14em; text-transform: uppercase; border: 1.5px solid currentColor; border-radius: 999px; padding: 3px 10px; opacity: .7; } .ph b { font: 600 .92rem "Inter", "Inter Fallback", sans-serif; } .ph small { font-size: .7rem; opacity: .65; font-family: ui-monospace, Consolas, monospace; }
.dark .slot .ph { background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 14px, transparent 14px 28px), linear-gradient(135deg, #3b2619, #2f1e14); color: #d7c3ae; }
.slot.has-media .ph { display: none; }
.hero .slot, .dark .slot, .rooms .slot { background: #2f1e14; }
.rooms .slot .ph { background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 14px, transparent 14px 28px), linear-gradient(135deg, #3b2619, #2f1e14); color: #d7c3ae; }   /* dark sections: no light flash before the placeholder or photo arrives */
.slot.is-video::after { content: "▶"; position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; font-size: .75rem; padding-left: 2px; pointer-events: none; }
.slot.is-video.is-playing::after { display: none; }
.slot-bare { aspect-ratio: auto; border-radius: 0; background: transparent; }
.slot-bare .ph { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; padding: calc(var(--head-h) + 36px) 0 80px;
  background: radial-gradient(1200px 700px at 78% 40%, #6b4330 0%, #2a1a11 62%), #2a1a11; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42,26,17,.92) 0%, rgba(42,26,17,.55) 55%, rgba(42,26,17,.25) 100%), linear-gradient(0deg, rgba(42,26,17,.65), transparent 40%); }
.hero-grid { position: relative; z-index: 2; }
.hero-text { max-width: 760px; }
.hero-h1 { color: #fff; font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.02; margin-bottom: .35em; letter-spacing: -.01em; }
.hero-h1 .line { display: block; overflow: hidden; padding-bottom: .08em; } .hero-h1 .line > span { display: inline-block; }
.hero-h1 em { color: var(--accent-l); font-style: italic; }
.hero-lead { font-size: clamp(1rem, 1.5vw, 1.2rem); color: #e6d7c6; max-width: 52ch; }
.hero-offer { display: inline-block; background: rgba(217,121,43,.2); border: 1px solid var(--accent); color: var(--accent-l); border-radius: 999px; padding: 6px 16px; font-size: .88rem; font-weight: 600; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 36px; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: flex; gap: clamp(20px, 4vw, 48px); flex-wrap: wrap; }
@media (max-width: 600px) { .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; } }   /* 2 × 2 on phones, no orphan */
.hero-stats li { border-left: 2px solid var(--accent); padding-left: 14px; } .hero-stats b { display: block; font: 700 clamp(1.3rem, 2.4vw, 1.9rem) "Playfair Display", "Playfair Fallback", Georgia, serif; color: #fff; } .hero-stats span { font-size: .8rem; color: #cdb9a5; }
.hero .slot .ph { background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 14px, transparent 14px 28px), linear-gradient(135deg, #3b2619, #2f1e14); color: #d7c3ae; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.55); border-radius: 14px; transform: translateX(-50%); }
/* hero intro (CSS) — off for .static (reduced motion, ?static, failed scripts) */
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes wipeUp { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
html:not(.static) .hero-h1 .wi { animation: rise .85s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(.04s + var(--i) * .035s); }
html:not(.static) .hero-eyebrow { animation: fadeUp .6s cubic-bezier(.16,1,.3,1) both; }
html:not(.static) .hero-lead { animation: fadeUp .7s cubic-bezier(.16,1,.3,1) .16s both; }
html:not(.static) .rera-badge { animation: fadeUp .6s cubic-bezier(.16,1,.3,1) .2s both; }
html:not(.static) .hero-cta { animation: fadeUp .55s cubic-bezier(.16,1,.3,1) .22s both; }
html:not(.static) .hero-stats { animation: fadeUp .7s cubic-bezier(.16,1,.3,1) .3s both; }
html:not(.static) .scroll-cue { animation: fadeIn .8s ease-out .9s both; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }



/* ---------- why (sticky storytelling) ---------- */
.why-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.why-visual { position: sticky; top: calc(var(--head-h) + 24px); height: calc(100vh - var(--head-h) - 56px); max-height: 700px; }
.why-stack { position: relative; height: 100%; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 70px rgba(74,44,29,.28); }
.why-frame { position: absolute; inset: 0; }
.js:not(.static) .why-frame { clip-path: inset(100% 0 0 0); }
.js:not(.static) .why-frame:first-child { clip-path: inset(0); }
.static .why-frame { opacity: 0; } .static .why-frame.is-on { opacity: 1; }
html:not(.js) .why-frame:not(:first-child) { display: none; }
.why-frame .slot { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; border-radius: 0; }
.why-count { position: absolute; left: 20px; bottom: 16px; color: #fff; z-index: 100; text-shadow: 0 2px 12px rgba(0,0,0,.5); font-family: "Playfair Display", "Playfair Fallback", Georgia, serif; } .why-count b { display: inline-block; font-size: 2.6rem; } .why-count span { opacity: .8; margin-left: 4px; }
.why-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; transition: opacity .5s; }
.js:not(.static) .why-step { opacity: .55; } .js:not(.static) .why-step.is-on { opacity: 1; }
.step-no { font: 700 .9rem "Inter", "Inter Fallback", sans-serif; letter-spacing: .2em; color: var(--accent-d); margin-bottom: 12px; }
.why-step h3 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.why-step p { color: var(--muted); font-size: 1.08rem; max-width: 46ch; }
.step-media { display: none; margin-bottom: 20px; }

/* ---------- building ---------- */
.elev { display: grid; grid-template-columns: 1fr; gap: 18px; }
.elev-img { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.elev-img .slot { aspect-ratio: 2.3/1; min-height: 220px; border-radius: 0; }
.elev-media { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); } .elev-media .slot { aspect-ratio: 16/10; }
[hidden] { display: none !important; }   /* component display rules (.btn, .tab…) must never un-hide */
.film-poster .big-play::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--accent); animation: ring 2s cubic-bezier(.2,.6,.3,1) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.feat-row { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat-row li { border-top: 2px solid var(--accent); padding-top: 16px; } .feat-row b { display: block; font: 700 clamp(1.5rem, 3vw, 2.3rem) "Playfair Display", "Playfair Fallback", Georgia, serif; color: #fff; } .feat-row span { color: #c8b6a3; font-size: .92rem; }

/* ---------- flats ---------- */
.toggle { position: relative; display: flex; width: fit-content; margin: 0 0 40px; background: var(--sand); border: 1px solid var(--line); border-radius: 999px; padding: 6px; }
.tg { position: relative; z-index: 2; border: 0; background: none; padding: 12px 30px; border-radius: 999px; font: 700 1rem "Inter", "Inter Fallback", sans-serif; color: var(--brown); cursor: pointer; transition: color .3s; display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.tg small { font-weight: 500; font-size: .7rem; opacity: .7; } .tg.is-on { color: #fff; }
.tg-bar { position: absolute; z-index: 1; top: 6px; bottom: 6px; left: 6px; width: 50%; border-radius: 999px; background: var(--brown); transition: transform .45s var(--ease), width .45s var(--ease); }
.flat-panel { display: none; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.flat-panel.is-on { display: grid; animation: panelin .6s var(--ease); }
@keyframes panelin { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.flat-media .slot { box-shadow: 0 30px 70px rgba(74,44,29,.22); border-radius: 24px; }
.flat-info h3 { font-size: clamp(2rem, 4vw, 3rem); } .flat-info h3 em { font-style: normal; color: var(--accent-d); font-size: .55em; margin-left: 10px; letter-spacing: .02em; }
.areas { margin: 20px 0; } .areas > div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); } .areas dt { color: var(--muted); } .areas dd { margin: 0; font-weight: 700; }
.areas .tot { border-bottom: 0; font-size: 1.25rem; } .areas .tot dd { color: var(--accent-d); }
.chips { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; } .chips li { background: var(--sand); border: 1px solid var(--line); padding: 5px 14px; border-radius: 999px; font-size: .84rem; font-weight: 500; }
.flat-price { display: inline-block; margin: -4px 0 14px; padding: 6px 14px; border-radius: 999px; background: #fbeadb; color: var(--accent-d); font-weight: 700; font-size: 1.02rem; }
.plan-block { margin-top: clamp(48px, 7vw, 88px); }

/* availability chart */
.avail { margin-top: clamp(48px, 7vw, 88px); }
.avail-head { margin-bottom: 16px; }
.avail-grid { display: grid; gap: 8px; max-width: 720px; }
.av-row { display: grid; grid-template-columns: 96px repeat(3, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
.av-th span { font: 700 .82rem "Inter", "Inter Fallback", sans-serif; color: var(--ink); text-align: center; } .av-th small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }
.av-fl { align-self: center; font-size: .85rem; color: var(--muted); font-weight: 600; }
.av-cell { border-radius: 12px; padding: 13px 8px; text-align: center; font: 600 .85rem "Inter", "Inter Fallback", sans-serif; border: 1px solid transparent; }
.av-cell.s-available { background: #e3f3e8; color: #1f6b3f; border-color: #9fd3b2; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s; }
.av-cell.s-available:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(31,107,63,.18); }
.av-cell.s-booked { background: #fdf0d9; color: #8a5a10; border-color: #f0d199; }
.av-cell.s-sold { background: #eee7df; color: #8b7b6e; text-decoration: line-through; }
.av-cell.s-unknown { background: #fff; color: var(--muted); border-color: var(--line); }
.avail-key { list-style: none; padding: 0; margin: 14px 0 0; display: flex; gap: 18px; font-size: .84rem; color: var(--muted); }
.avail-key li { display: flex; align-items: center; gap: 7px; } .avail-key i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.k-available { background: #e3f3e8; border: 1px solid #9fd3b2; } .k-booked { background: #fdf0d9; border: 1px solid #f0d199; } .k-sold { background: #eee7df; }
@media (max-width: 520px) { .av-row { grid-template-columns: 64px repeat(3, minmax(0, 1fr)); gap: 6px; } .av-cell { padding: 11px 4px; font-size: .78rem; } }

/* EMI calculator */
.emi { margin-top: clamp(48px, 7vw, 88px); background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3.5vw, 36px); box-shadow: 0 20px 50px rgba(74,44,29,.08); }
.emi-head { margin-bottom: 20px; } .emi-head p { margin: 4px 0 0; }
.emi-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.emi-inputs { display: grid; gap: 22px; }
.emi-inputs label { display: grid; gap: 10px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.emi-inputs label span { display: flex; justify-content: space-between; gap: 12px; }
.emi-inputs output { font-variant-numeric: tabular-nums; color: var(--accent-d); }
.emi input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; cursor: pointer;
  background: linear-gradient(90deg, var(--accent) var(--p, 50%), #eadfd2 var(--p, 50%)); }
.emi input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.emi input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.emi-result { background: var(--brown); color: #fff; border-radius: 18px; padding: 22px 24px; }
.emi-big { margin: 0 0 14px; } .emi-big small { display: block; color: var(--accent-l); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.emi-big b { font: 700 clamp(2rem, 4vw, 2.8rem) "Playfair Display", "Playfair Fallback", Georgia, serif; font-variant-numeric: tabular-nums; }
.emi-result dl { margin: 0 0 18px; display: grid; gap: 8px; } .emi-result dl div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 8px; font-size: .9rem; }
.emi-result dt { color: #cdb9a5; } .emi-result dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
@media (max-width: 760px) { .emi-body { grid-template-columns: 1fr; } }
.plan-head { margin-bottom: 18px; }
.plan-img { display: block; width: 100%; position: relative; background: #fffdf3; border: 1px solid var(--line); border-radius: 20px; padding: 14px; cursor: zoom-in; overflow: hidden; transition: border-color .3s; }
.plan-img:hover { border-color: var(--accent); }
.plan-img img { width: 100%; height: auto; }
.plan-zoom { position: absolute; right: 16px; bottom: 16px; background: var(--brown); color: #fff; padding: 7px 16px; border-radius: 999px; font-size: .8rem; font-weight: 600; }

/* ---------- rooms ---------- */
.rooms { background: var(--brown-d); color: #eadbc9; position: relative; overflow: hidden; }
.rooms-pin { display: flex; flex-direction: column; padding: 64px 0 56px; }
.rooms h2, .rooms h3 { color: #fff; }
.rooms-head { margin-bottom: 26px; } .rooms-head .sub { color: #c8b6a3; margin: 0; }
.rooms-view { overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-bottom: 8px; scrollbar-width: thin; }
.rooms-track { display: flex; gap: 18px; padding: 0 max(20px, calc((100% - 1180px) / 2)); width: max-content; }
.room { width: min(80vw, 380px); scroll-snap-align: center; flex: none; background: #3a2417; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; }
.room .slot { border-radius: 0; aspect-ratio: 16/11; } .room .slot[data-ratio] { aspect-ratio: 16/11; }
.room-body { padding: 20px 22px 24px; position: relative; }
.room-no { position: absolute; right: 20px; top: 14px; font: 700 2.4rem "Playfair Display", "Playfair Fallback", Georgia, serif; color: rgba(255,255,255,.1); }
.room-body h3 { font-size: 1.45rem; margin-bottom: .3em; } .room-body p { font-size: .9rem; color: #cdb9a5; margin-bottom: 12px; }
.sizes { width: 100%; border-collapse: collapse; font-size: .8rem; } .sizes td { padding: 6px 0; border-top: 1px dashed rgba(255,255,255,.14); vertical-align: top; } .sizes td:first-child { color: var(--accent-l); padding-right: 10px; white-space: nowrap; } .sizes td:last-child { text-align: right; color: #fff; font-weight: 600; }
.room-end { justify-content: center; align-items: center; gap: 18px; text-align: center; background: linear-gradient(145deg, var(--accent), var(--accent-d)); padding: 32px; } .room-end h3 { color: #fff; font-size: 1.9rem; } .room-end .btn { background: #fff; color: var(--accent-d); box-shadow: none; }
.rooms-foot { width: min(1180px, 100% - 40px); margin: 22px auto 0; display: none; align-items: center; gap: 24px; }
/* pinned horizontal track (wide screens with a mouse/trackpad, JS on): fits any viewport height */
.rooms-pinned .rooms-pin { height: 100vh; padding: clamp(24px, 6vh, 56px) 0 clamp(16px, 4vh, 36px); }
.rooms-pinned .rooms-head { margin-bottom: clamp(12px, 3vh, 26px); }
.rooms-pinned .rooms-view { overflow: clip; flex: 1; min-height: 0; padding: 0; scroll-snap-type: none; }
.rooms-pinned .rooms-track { height: 100%; gap: 26px; }
.rooms-pinned .room { width: clamp(300px, 28vw, 400px); height: 100%; }
.rooms-pinned .room .slot, .rooms-pinned .room .slot[data-ratio] { flex: 1 1 auto; min-height: 70px; aspect-ratio: auto; }
.rooms-pinned .room-body { flex: none; }
.rooms-pinned .rooms-foot { display: flex; }
.rooms-count { font-family: "Playfair Display", "Playfair Fallback", Georgia, serif; color: #fff; white-space: nowrap; } .rooms-count b { display: inline-block; font-size: 1.6rem; min-width: 1.6em; } .rooms-count span { opacity: .55; margin-left: 4px; }
.rooms-prog { flex: 1; height: 3px; background: rgba(255,255,255,.14); border-radius: 2px; } .rooms-prog i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; border-radius: 2px; }


/* ---------- build story (specifications) ---------- */
.build-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.build-visual { position: sticky; top: calc(var(--head-h) + 20px); height: calc(100vh - var(--head-h) - 48px); max-height: 760px; }
.build-stage { position: relative; height: 100%; background: #fbf7f1; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 30px 70px rgba(74,44,29,.16); overflow: hidden; display: flex; flex-direction: column; }
.build-svg { flex: 1; min-height: 0; width: 100%; height: 100%; display: block; }
.build-rail { list-style: none; margin: 0; padding: 14px 16px 6px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; counter-reset: st; }
.build-rail li { font: 600 .66rem "Inter", "Inter Fallback", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #b3a493; padding-top: 8px; position: relative; text-align: center; transition: color .4s; }
.build-rail li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 2px; background: #eadfce; }
.build-rail li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease); }
.build-rail li.done, .build-rail li.on { color: var(--brown); } .build-rail li.done::after, .build-rail li.on::after { transform: scaleX(1); }
.build-chips { position: absolute; left: 14px; right: 14px; bottom: 14px; min-height: 34px; pointer-events: none; }
.chipset { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; gap: 6px; opacity: 0; }
.chipset span { background: var(--brown); color: #fff; font: 600 .74rem "Inter", "Inter Fallback", sans-serif; padding: 6px 12px; border-radius: 999px; box-shadow: 0 6px 16px rgba(42,26,17,.25); }
.chipset span:first-child { background: var(--accent); }
html:not(.js) .chipset[data-st="6"], .static .chipset[data-st="6"] { opacity: 1; }
.build-step { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; transition: opacity .5s; }
.js:not(.static) .build-step { opacity: .55; } .js:not(.static) .build-step.is-on { opacity: 1; }
.build-step h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.build-step p { color: var(--muted); font-size: 1.06rem; max-width: 48ch; }
.static .build-step, html:not(.js) .build-step { opacity: 1; min-height: 0; padding: 28px 0; }
.brand-chips { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.brand-chips li { border: 1.5px solid var(--brown); border-radius: 999px; padding: 6px 14px; font-size: .86rem; color: var(--brown); }
.brand-chips b { font-weight: 800; }
/* complete specification list: header bar + category cards */
.spec-all { margin-top: clamp(48px, 7vw, 88px); background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 18px 50px rgba(74,44,29,.08); }
.spec-all summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 24px; transition: background .3s; }
.spec-all summary::-webkit-details-marker { display: none; }
.spec-all summary:hover { background: #fdf8f2; }
.sa-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; background: #fbeadb; color: var(--accent-d); display: grid; place-items: center; }
.sa-txt { flex: 1; min-width: 0; } .sa-txt b { display: block; font: 700 1.2rem "Playfair Display", "Playfair Fallback", Georgia, serif; color: var(--brown); } .sa-txt small { color: var(--muted); font-size: .85rem; }
.sa-btn { flex: none; display: inline-flex; align-items: center; gap: 10px; background: var(--brown); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .88rem; transition: background .3s; }
.spec-all summary:hover .sa-btn { background: var(--accent-d); }
.sa-btn i { width: 9px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-2px) rotate(45deg); transition: transform .4s var(--ease); }
.spec-all[open] .sa-btn i { transform: translateY(2px) rotate(-135deg); }
.sa-close { display: none; } .spec-all[open] .sa-open { display: none; } .spec-all[open] .sa-close { display: inline; }
.spec-body { overflow: hidden; }
.sa-bottom { display: none; width: calc(100% - 32px); margin: 0 16px 16px; padding: 12px; border: 1.5px solid var(--brown); border-radius: 999px; background: transparent; color: var(--brown); font: 700 .9rem "Inter", "Inter Fallback", sans-serif; cursor: pointer; }
@media (max-width: 640px) { .sa-bottom { display: block; } }
.spec-groups { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; padding: 8px 24px 26px; background: linear-gradient(#fff, #fbf6ef); border-top: 1px solid var(--line); }
.sg { grid-column: span 2; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 20px 16px; transition: border-color .3s; }
.sg:nth-child(n+4) { grid-column: span 3; }
.sg:hover { border-color: var(--accent); }
.spec-groups { padding-top: 22px; }
.sg-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.sg-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--brown); color: #fff; display: grid; place-items: center; }
.sg-ico svg { width: 21px; height: 21px; }
.sg h4 { margin: 0; font: 700 1.05rem "Playfair Display", "Playfair Fallback", Georgia, serif; color: var(--brown); } .sg-head small { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-d); }
.sg ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sg li { position: relative; padding-left: 28px; font-size: .92rem; line-height: 1.5; color: var(--ink); }
.sg li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fbeadb; }
.sg li::after { content: ""; position: absolute; left: 6px; top: 6px; width: 4px; height: 8px; border-right: 2px solid var(--accent-d); border-bottom: 2px solid var(--accent-d); transform: rotate(45deg); }
.sg li b { color: var(--brown); font-weight: 700; }
@media (max-width: 1024px) { .spec-groups { grid-template-columns: repeat(2, 1fr); } .sg, .sg:nth-child(n+4) { grid-column: span 1; } .sg:last-child { grid-column: span 2; } }
@media (max-width: 640px) {
  .spec-all summary { padding: 16px; gap: 12px; flex-wrap: wrap; } .sa-ico { width: 42px; height: 42px; } .sa-txt b { font-size: 1.05rem; }
  .sa-btn { width: 100%; justify-content: center; }
  .spec-groups { grid-template-columns: 1fr; padding: 16px; } .sg, .sg:nth-child(n+4), .sg:last-child { grid-column: auto; }
}

/* ---------- RERA ---------- */
.rera-badge { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 0; background: #fff; color: var(--brown); border-radius: 14px; padding: 7px 14px 7px 9px; text-decoration: none; box-shadow: 0 10px 26px rgba(0,0,0,.28); }
.rera-badge img { width: 46px; height: auto; }
.rera-badge small { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-d); line-height: 1.2; }
.rera-badge b { font: 700 1.02rem "Inter", "Inter Fallback", sans-serif; letter-spacing: .06em; }
.rera-card { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; margin-top: clamp(56px, 8vw, 96px); background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(20px, 3.5vw, 40px); box-shadow: 0 24px 60px rgba(74,44,29,.1); }
.rera-thumb { position: relative; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 0; overflow: hidden; cursor: zoom-in; transform: rotate(-2deg); box-shadow: 0 20px 44px rgba(74,44,29,.2); transition: transform .5s var(--ease); }
.rera-thumb:hover { transform: rotate(0) scale(1.02); }
.rera-thumb img { width: 100%; height: auto; }
.rera-thumb span { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: var(--brown); color: #fff; font-size: .78rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.rera-top { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; } .rera-top .eyebrow { margin: 0; }
.rera-logo { width: 72px; height: auto; }
.rera-card h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.rera-dl { margin: 18px 0 22px; display: grid; gap: 0; }
.rera-dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.rera-dl dt { color: var(--muted); font-size: .9rem; } .rera-dl dd { margin: 0; font-weight: 600; font-size: .95rem; }
.rera-no { font-size: 1.15rem !important; letter-spacing: .08em; color: var(--accent-d); }
.rera-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.contact-rera { font-size: .9rem; color: #d7c3ae; } .contact-rera b { color: #fff; letter-spacing: .06em; }
.footer-rera { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 14px 0 !important; }
.footer-rera img { width: 54px; height: auto; background: #fff; border-radius: 8px; padding: 4px 6px; }
.footer-rera b { color: #fff; letter-spacing: .06em; } .footer-rera a { color: var(--accent-l); }
.lb-body.cert { max-height: 94vh; overflow: auto; } .lb-body.cert img { max-width: none; max-height: none; width: min(900px, 94vw); background: #fff; }
@media (max-width: 860px) {
  .rera-card { grid-template-columns: 1fr; } .rera-thumb { max-width: 300px; margin: 0 auto; }
  .rera-dl > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- gallery ---------- */
.tabs { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.tab { border: 1px solid var(--brown); background: transparent; color: var(--brown); padding: 9px 22px; border-radius: 999px; cursor: pointer; font: 600 .88rem "Inter", "Inter Fallback", sans-serif; transition: background .25s, color .25s; }
.tab:hover { background: rgba(74,44,29,.08); } .tab.is-on { background: var(--brown); color: #fff; }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gal-item { position: relative; border: 0; padding: 0; border-radius: var(--r); overflow: hidden; cursor: pointer; background: #e8dac6; }
.gal-item:nth-child(1) { grid-column: span 2; grid-row: span 2; } .gal-item:nth-child(6) { grid-column: span 2; }
.gal-item img, .gal-item video { width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease); } .gal-item:hover img { scale: 1.05; }
.gal-item .ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--brown-2); background: repeating-linear-gradient(135deg, rgba(74,44,29,.045) 0 14px, transparent 14px 28px), linear-gradient(135deg, #f0e4d1, #e2cfb4); text-align: center; padding: 10px; font-size: .85rem; font-weight: 600; cursor: default; }
.gal-item .cap { position: absolute; left: 0; right: 0; bottom: 0; color: #fff; padding: 24px 14px 10px; font-size: .84rem; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.gal-item .pl { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--accent-d); display: grid; place-items: center; padding-left: 4px; }

/* ---------- film ---------- */
.film-grid { display: grid; grid-template-columns: 2.2fr 1fr; gap: 24px; align-items: stretch; }
.film-frame { position: relative; aspect-ratio: 16/9; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.film-frame iframe, .film-frame img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.film-poster { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: #1c110a center/cover; display: grid; place-items: center; width: 100%; }
.film-poster .big-play { position: relative; width: 92px; height: 92px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.7rem; display: grid; place-items: center; padding-left: 6px; transition: transform .3s var(--ease); }
.film-poster:hover .big-play { transform: scale(1.1); }
.film-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px; color: #d7c3ae; background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 14px, transparent 14px 28px), linear-gradient(135deg, #3b2619, #231610); }
.film-ph .big-play { width: 80px; height: 80px; border-radius: 50%; border: 2px dashed var(--accent-l); display: grid; place-items: center; font-size: 1.5rem; color: var(--accent-l); padding-left: 5px; } .film-ph b { color: #fff; } .film-ph small { font-family: ui-monospace, Consolas, monospace; opacity: .7; }
.film-actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.film-short { height: 100%; min-height: 320px; position: relative; border-radius: 22px; overflow: hidden; background: #231610; }
.film-short iframe, .film-short video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.film-frame video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.sub-h { margin: 56px 0 18px; font-size: 1.4rem; }
.drone-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ---------- location ---------- */
.loc-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.addr { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; margin-bottom: 14px; } .addr h4 { font: 700 .75rem "Inter", "Inter Fallback", sans-serif; text-transform: uppercase; letter-spacing: .14em; color: var(--accent-d); margin-bottom: 4px; } .addr p { margin: 0; }
.loc-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.loc-map { border-radius: 24px; overflow: hidden; min-height: 420px; box-shadow: 0 24px 60px rgba(74,44,29,.18); border: 1px solid var(--line); background: var(--sand); }
.loc-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ---------- ORR map ---------- */
.orr-section { background: linear-gradient(#faf5ee, #f1e7da); }
.orr-frame { margin: 8px 0 18px; }
/* calmer base map so the ring, pins and our labels carry the picture */
#orr-map .leaflet-tile-pane, #near-map .leaflet-tile-pane { filter: saturate(.45) contrast(.92) brightness(1.04); }
.orr-wrap { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(74,44,29,.18); border: 1px solid var(--line); background: #e8e0d0; }
#orr-map { height: clamp(440px, 72vh, 700px); width: 100%; font-family: "Inter", "Inter Fallback", sans-serif; z-index: 0; }
.orr-ctl { position: absolute; left: 12px; top: 12px; z-index: 500; display: flex; gap: 8px; flex-wrap: wrap; }
.orr-ctl button { border: 0; background: var(--brown); color: #fff; padding: 9px 16px; border-radius: 999px; font: 600 .82rem "Inter", "Inter Fallback", sans-serif; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); } .orr-ctl button:hover { background: var(--accent-d); }
.orr-hint { position: absolute; left: 12px; bottom: 28px; z-index: 500; margin: 0; background: rgba(255,255,255,.88); padding: 4px 10px; border-radius: 999px; font-size: .72rem; color: var(--muted); pointer-events: none; }
.leaflet-container { font-family: "Inter", "Inter Fallback", sans-serif; background: #e8e0d0; }
.orr-glow, .orr-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.orr-wrap.in-view .orr-glow, .orr-wrap.in-view .orr-line { animation: orrdraw 2s .3s cubic-bezier(.6,.05,.2,1) forwards; }
.orr-fill { fill-opacity: 0; } .orr-wrap.in-view .orr-fill { animation: fillin 1s 2.1s forwards; }
@keyframes orrdraw { to { stroke-dashoffset: 0; } } @keyframes fillin { to { fill-opacity: .1; } } @keyframes fadein { to { opacity: 1; } }
.lm-ico, .ix-ico, .site-ico { overflow: visible; }
.lm-dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 1px 6px rgba(0,0,0,.4); }
.lm-lab { position: absolute; left: 10px; top: -10px; white-space: nowrap; font: 600 12px "Inter", "Inter Fallback", sans-serif; color: #3a2a20; background: rgba(255,255,255,.92); padding: 2px 7px; border-radius: 6px; box-shadow: 0 1px 5px rgba(0,0,0,.2); opacity: 0; transition: opacity .3s; }
.orr-wrap.in-view .lm-lab { animation: fadein .45s calc(.8s + var(--d) * .08s) forwards; }
.orr-wrap.labels-done .lm-lab { animation: none; opacity: 1; }
.orr-wrap.far .lm-lab { opacity: 0 !important; }
.orr-wrap.far .site-card { transform: translateX(-50%) scale(.85); transform-origin: bottom center; }
.c-heritage { --c: #d9792b; } .c-transport { --c: #2f6fae; } .c-health { --c: #2e8b57; } .c-town { --c: #6b4330; }
.ix-star { display: block; font-size: 20px; line-height: 18px; text-align: center; color: #d9792b; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 1px 4px rgba(0,0,0,.4); opacity: 0; }
.orr-wrap.in-view .ix-star { animation: fadein .6s 1.8s forwards; }
.ix-ico { overflow: visible; cursor: pointer; }
.ix-lab, .br-lab, .gap-lab { position: absolute; white-space: nowrap; font: 600 11px "Inter", "Inter Fallback", sans-serif; border-radius: 6px; padding: 2px 7px; opacity: 0; pointer-events: none; }
.ix-lab { left: 16px; top: -2px; background: #fff; color: #3a2a20; box-shadow: 0 1px 5px rgba(0,0,0,.22); }
.ix-lab b { color: #fff; background: var(--accent-d); border-radius: 4px; padding: 0 4px; margin-right: 3px; font-weight: 700; }
.br-lab { left: 8px; top: 6px; background: rgba(47,111,174,.92); color: #fff; }
.lab-left .ix-lab { left: auto; right: 16px; } .lab-left .br-lab { left: auto; right: 8px; }
.gap-lab { left: 0; top: 0; transform: translate(-50%, -50%); background: var(--brown); color: #fff; padding: 4px 9px; box-shadow: 0 3px 10px rgba(0,0,0,.3); }
.orr-gap { stroke-dashoffset: 0; opacity: 0; } .orr-wrap.in-view .orr-gap { animation: fadein .6s 2.3s forwards; }
.orr-wrap.in-view .ix-lab, .orr-wrap.in-view .br-lab { animation: fadein .5s 2.2s forwards; }
.orr-wrap.in-view .gap-lab { animation: fadein .5s 2.5s forwards; }
.orr-wrap.labels-done .ix-lab, .orr-wrap.labels-done .br-lab, .orr-wrap.labels-done .gap-lab, .orr-wrap.labels-done .orr-gap { animation: none; opacity: 1; }
.orr-wrap.far .lm-ico { display: none; }   /* zoomed out: only the ring, interchanges, bridges and the site */
.orr-wrap:not(.far) .br-lab { opacity: 0 !important; }   /* zoomed in: the base map shows the river itself */
.site-pin { position: absolute; width: 26px; height: 26px; margin: -34px 0 0 -13px; background: var(--brown); border: 3px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 4px 12px rgba(0,0,0,.45); }
.site-pin::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.site-pulse { position: absolute; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(217,121,43,.4); animation: pulse 2.4s ease-out infinite; }
.site-card { position: absolute; left: 0; bottom: 42px; transform: translateX(-50%); white-space: nowrap; background: var(--brown); color: #fff; padding: 7px 14px; border-radius: 12px; text-align: center; box-shadow: 0 6px 18px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 1px; }
.site-card b { font: 700 12px "Inter", "Inter Fallback", sans-serif; letter-spacing: .06em; } .site-card i { font: 500 11.5px "Inter", "Inter Fallback", sans-serif; color: var(--accent-l); font-style: normal; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
.legend { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .88rem; } .legend li { display: flex; align-items: center; gap: 8px; }
.lg { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.lg-site { background: var(--brown); box-shadow: 0 0 0 4px rgba(217,121,43,.35); } .lg-orr { width: 26px; height: 5px; border-radius: 3px; background: var(--accent); }
.lg-ix { background: var(--accent); clip-path: polygon(50% 0, 62% 36%, 100% 38%, 70% 60%, 80% 100%, 50% 76%, 20% 100%, 30% 60%, 0 38%, 38% 36%); }
.lg-gap { width: 26px; height: 0; border-radius: 0; border-top: 2px dashed var(--brown); }
.legend .lg-zoom { color: var(--muted); flex-wrap: wrap; gap: 6px 12px; } .lg-zoom span { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.lg-heritage { background: #d9792b; } .lg-transport { background: #2f6fae; } .lg-health { background: #2e8b57; } .lg-town { background: #6b4330; }

/* ---------- nearby: map + numbered list ---------- */
.nearby { --c-health: #2e8b57; --c-education: #6a4bb0; --c-shopping: #c2571a; --c-transport: #2f6fae; --c-leisure: #9a7428; }
.nearby .c-health { --c: var(--c-health); } .nearby .c-education { --c: var(--c-education); } .nearby .c-shopping { --c: var(--c-shopping); } .nearby .c-transport { --c: var(--c-transport); } .nearby .c-leisure { --c: var(--c-leisure); }
#facTabs .tab[data-cat]::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: var(--c-health); }
#facTabs .tab[data-cat="all"]::before { display: none; }
#facTabs .tab[data-cat="education"]::before { background: var(--c-education); } #facTabs .tab[data-cat="shopping"]::before { background: var(--c-shopping); }
#facTabs .tab[data-cat="transport"]::before { background: var(--c-transport); } #facTabs .tab[data-cat="leisure"]::before { background: var(--c-leisure); }
.near-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.near-map-wrap { position: sticky; top: 88px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #e8e0d0; box-shadow: 0 24px 60px rgba(74,44,29,.16); }
#near-map { height: clamp(400px, calc(100vh - 130px), 680px); width: 100%; z-index: 0; font-family: "Inter", "Inter Fallback", sans-serif; }
.fac-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fac-band { font: 700 .72rem "Inter", "Inter Fallback", sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding: 10px 4px 0; }
.fac-band:first-child { padding-top: 0; }
.fac-btn { width: 100%; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 14px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 13px 16px; cursor: pointer; font: inherit; color: inherit; transition: border-color .25s, box-shadow .25s; }
.fac-btn:hover, .fac.is-on .fac-btn { border-color: var(--c); box-shadow: 0 8px 22px rgba(74,44,29,.10); }
.fac-n { width: 30px; height: 30px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font: 700 .8rem "Inter", "Inter Fallback", sans-serif; font-variant-numeric: tabular-nums; }
.fac-ph { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.fac-btn:not(:has(.fac-ph)) { grid-template-columns: auto minmax(0, 1fr) auto; }
.fac-main { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fac-tag { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--c); }
.fac-main b { font: 700 1rem "Inter", "Inter Fallback", sans-serif; color: var(--ink); line-height: 1.3; }
.fac-main small { font-size: .82rem; color: var(--muted); line-height: 1.4; }
.fac-dist { text-align: right; line-height: 1.05; white-space: nowrap; } .fac-dist b { display: block; font: 700 1.4rem "Playfair Display", "Playfair Fallback", Georgia, serif; color: var(--brown); } .fac-dist small { font-size: .66rem; color: var(--muted); }
.near-ico span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c); color: #fff; border: 2px solid #fff; font: 700 11px "Inter", "Inter Fallback", sans-serif; box-shadow: 0 2px 8px rgba(0,0,0,.35); transition: transform .2s var(--ease); }
.near-ico.is-hover span, .near-ico.is-on span { transform: scale(1.3); box-shadow: 0 0 0 4px rgba(255,255,255,.7), 0 4px 12px rgba(0,0,0,.4); }
.near-site { overflow: visible; }
.near-site-lab { position: absolute; left: 0; top: -66px; transform: translateX(-50%); white-space: nowrap; background: var(--brown); color: #fff; font: 700 11px "Inter", "Inter Fallback", sans-serif; letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
@media (max-width: 899px) {
  .near-grid { grid-template-columns: 1fr; gap: 16px; }
  .near-map-wrap { position: relative; top: 0; }
  #near-map { height: 56vh; min-height: 320px; max-height: 480px; }
}
@media (max-width: 520px) {
  .fac-btn { gap: 11px; padding: 12px 13px; } .fac-ph { width: 46px; height: 46px; }
  .fac-dist b { font-size: 1.2rem; }
}

/* ---------- builder / faq / contact ---------- */
.people { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; } .people li { background: #fff; border-left: 4px solid var(--accent); border-radius: 12px; padding: 14px 18px; box-shadow: 0 6px 20px rgba(74,44,29,.06); } .people b { display: block; } .people span { font-size: .88rem; color: var(--muted); }
.slot.is-empty { display: none; }
.rera-verify { margin: 14px 0 0; max-width: 52ch; }
.builder .two-col.no-media { grid-template-columns: 1fr; }
.builder .two-col.no-media .people { max-width: 640px; }
.builder-media { display: grid; gap: 14px; } .bm-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.faq-list summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; } .faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.5rem; color: var(--accent-d); transition: transform .3s; } .faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 22px 20px; margin: 0; color: var(--muted); } .faq-list a { color: var(--accent-d); font-weight: 600; }
.contact { background: var(--brown-d); color: #eadbc9; background-image: radial-gradient(800px 400px at 85% 0%, rgba(217,121,43,.22), transparent 70%); }
.contact h2 { color: #fff; } .contact .lead { color: #d7c3ae; } .contact a { color: #fff; }
.person { margin: 26px 0 12px; } .contact-lines { font-size: 1.1rem; }
.social { display: flex; gap: 10px; flex-wrap: wrap; } .social a { border: 1px solid rgba(255,255,255,.4); padding: 7px 18px; border-radius: 999px; text-decoration: none; font-size: .85rem; }
.form { background: #fff; color: var(--ink); border-radius: 24px; padding: 30px; display: grid; gap: 14px; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.form label { display: grid; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--brown); }
.form input, .form select, .form textarea { font: 400 1rem "Inter", "Inter Fallback", sans-serif; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.form .small { margin: 0; text-align: center; color: var(--muted); }
.site-footer { background: #1b110b; color: #b9a592; padding: 36px 0 110px; text-align: center; } .site-footer p { margin: .4em 0; } .site-footer b { color: #fff; }
.float-wa { position: fixed; right: 18px; bottom: 18px; z-index: 90; background: #25d366; color: #fff; text-decoration: none; font-weight: 700; padding: 13px 22px; border-radius: 999px; box-shadow: 0 10px 28px rgba(0,0,0,.3); transition: transform .3s var(--ease); } .float-wa:hover { transform: scale(1.06); }
.mbar { display: none; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(15,9,5,.94); display: grid; place-items: center; padding: 16px; } .lightbox[hidden] { display: none; }
.lb-body { max-width: 100%; max-height: 100%; overflow: auto; }
.lb-body img, .lb-body video { max-width: 96vw; max-height: 88vh; border-radius: 8px; margin: auto; }
.lb-body.plan img { max-width: none; width: max(1200px, 96vw); max-height: none; background: #fffdf3; }
.lb-body iframe { width: min(94vw, 1100px); aspect-ratio: 16/9; border: 0; border-radius: 8px; }
.lb-close { position: fixed; top: 10px; right: 18px; font-size: 2.6rem; color: #fff; background: none; border: 0; cursor: pointer; line-height: 1; z-index: 2; }

/* ---------- motion system (JS adds .js; ?static or reduced motion skips it) ---------- */
.js:not(.static) [data-reveal] { opacity: 0; transform: translateY(24px); }
.js:not(.static) .flat-panel.is-on { animation: none; }
.hero-off .scroll-cue span { animation-play-state: paused; }
.progress { will-change: transform; }
.tg-bar { transition: transform .6s cubic-bezier(.34,1.45,.5,1), width .6s cubic-bezier(.34,1.45,.5,1); }
.faq-list details p { overflow: hidden; }
/* headings are hidden until split into words (prevents a flash) */
.js:not(.static) :is(.sec-head h2, .rooms-head h2, .loc-info h2, .builder h2, .contact h2, .why-step h3):not(.is-split) { opacity: 0; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .14em 0; margin: 0 -.06em -.14em 0; }
html.lang-te .w { padding: .12em .06em .3em 0; margin: -.12em -.06em -.3em 0; }   /* Telugu vowel signs reach further above and below */
.wi { display: inline-block; transform-origin: 0 100%; }
.hero-fade { position: absolute; inset: 0; z-index: 3; background: #1b110b; opacity: 0; pointer-events: none; }

/* dark sections that expand into place */
.has-panel { background: transparent !important; background-image: none !important; isolation: isolate; }
.panel-bg { position: absolute; inset: 0; z-index: -1; background: var(--brown-d); border-radius: 36px; }
.contact .panel-bg { background: var(--brown-d) radial-gradient(800px 400px at 85% 0%, rgba(217,121,43,.22), transparent 70%); border-radius: 36px 36px 0 0; }
.contact.has-panel + * , .contact.has-panel { margin-bottom: 0; }
.site-footer { margin-top: -1px; }

/* custom cursor (fine pointers only) */
.cursor { position: fixed; left: 0; top: 0; z-index: 400; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.on { opacity: 1; } .cursor.off { opacity: 0 !important; }
.cursor-ring { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(217,121,43,.9); transition: background .3s, border-color .3s; }
.cursor.hover .cursor-ring { background: rgba(217,121,43,.12); }
.cursor.label .cursor-ring { background: var(--accent); border-color: var(--accent); }
.cursor-label { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); white-space: nowrap; font: 700 .62rem "Inter", "Inter Fallback", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; }
.cursor.label .cursor-label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }


/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .gal-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .two-col, .flat-panel.is-on, .loc-grid, .film-grid, .why-grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--head-h) + 20px); }
  .orr-hint { display: none; }
  .elev-img .slot { aspect-ratio: 4/3; }
  .why-visual { display: none; } .step-media { display: block; }
  .build-grid { grid-template-columns: 1fr; gap: 0; }
  .build-visual { top: 0; height: 50vh; z-index: 3; margin: 0 -20px; padding: 10px 12px 12px; background: var(--cream); box-shadow: 0 14px 18px -12px rgba(74,44,29,.18); }
  .build-stage { border-radius: 20px; }
  .build-rail { padding: 10px 10px 2px; gap: 4px; } .build-rail li { font-size: .5rem; letter-spacing: .04em; }
  .chipset span { font-size: .64rem; padding: 4px 9px; } .build-chips { left: 8px; right: 8px; bottom: 8px; }
  .build-step { min-height: 62vh; justify-content: flex-start; padding-top: 36px; }
  .why-step { min-height: 0; opacity: 1; padding: 22px 0 42px; border-bottom: 1px solid var(--line); }
  .js:not(.static) .why-step { opacity: 1; }
  .feat-row { grid-template-columns: repeat(2, 1fr); } .drone-row { grid-template-columns: 1fr; } .elev-media { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } .gal-item:nth-child(6) { grid-column: auto; }
  .menu-btn { display: block; }
  .nav { position: fixed; inset: var(--head-h) 0 auto 0; background: var(--cream); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; box-shadow: 0 20px 40px rgba(0,0,0,.15); transform: translateY(-120%); opacity: 0; visibility: hidden; transition: transform .45s var(--ease), opacity .3s, visibility 0s .45s; max-height: calc(100vh - var(--head-h)); overflow: auto; }
  .site-header.open .nav { transform: none; opacity: 1; visibility: visible; transition: transform .45s var(--ease), opacity .3s, visibility 0s; } .site-header.open { background: var(--cream); } .site-header.open .brand { color: var(--brown); }
  .nav a, .site-header.scrolled .nav a { color: var(--ink); padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; } .nav a::after { display: none; } .nav-call { text-align: center; margin-top: 14px; border-bottom: 0 !important; color: #fff !important; }
  .float-wa { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(27,17,11,.98); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mbar a { text-align: center; padding: 12px 6px; border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; } .mbar .wa { background: #25d366; } .mbar .pri { background: var(--accent); }
  .loc-map, .loc-map iframe { min-height: 320px; }
  .flat-panel .flat-media { order: -1; }
}
@media (max-width: 480px) { .bm-row { gap: 8px; } .form { padding: 22px; } .toggle .tg { padding: 10px 20px; } }

/* ---------- keyboard focus ---------- */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.faq-list summary:focus-visible, .spec-all summary:focus-visible, .film-poster:focus-visible, .gal-item:focus-visible, .plan-img:focus-visible, .rera-thumb:focus-visible { outline-offset: -4px; }
[tabindex="-1"]:focus { outline: none; }

/* ---------- numbers don't jiggle while counting ---------- */
.areas dd, .hero-stats b, .fac-dist b, .rooms-count b, .why-count b { font-variant-numeric: tabular-nums; }

/* ---------- loops pause while their section is off screen ---------- */
.is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }

/* ---------- static mode (reduced motion, ?static, scripts failed): final states, no movement ---------- */
.static .flat-panel.is-on { animation: none; }
.static .orr-glow, .static .orr-line { stroke-dashoffset: 0 !important; animation: none !important; }
.static .orr-fill { fill-opacity: .1 !important; animation: none !important; }
.static .lm-lab, .static .ix-star, .static .ix-lab, .static .br-lab, .static .gap-lab, .static .orr-gap { opacity: 1; animation: none !important; }
.static .site-pulse, .static .film-poster .big-play::after, .static .scroll-cue span { animation: none !important; }
.static .tg-bar, .static .site-header, .static .nav, .static .build-rail li::after, .static .rera-thumb, .static .btn { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
