/* Hiranandani Maitri Park — interactive brochure landing page.
   Colours and type are the brochure's (see print.html / brochure.css).
   --vu is the viewport-height unit (overridable for full-page QA screenshots). */

:root {
  --maroon: #901649;
  --maroon-d: #6f0f37;
  --gold: #c4995b;
  --gold-panel: #b0874d;
  --cream: #fbfbf3;
  --peach: #fff3e9;
  --ink: #231f20;
  --grey: #404042;
  --white: #ffffff;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Lexend", "Segoe UI", system-ui, sans-serif;
  --hdr-h: 64px;
  --gut: clamp(16px, 4vw, 64px);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--white); color: var(--grey);
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.75; letter-spacing: 0.03em;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, ol, ul { margin: 0; padding: 0; font-weight: inherit; }
ol, ul { list-style: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.h-caps { font-family: var(--serif); font-weight: 400; line-height: 1.15; letter-spacing: 0.01em; font-size: clamp(28px, 3.3vw, 50px); }
.h-display { font-family: var(--serif); font-weight: 400; color: var(--gold); line-height: 0.96; font-size: clamp(58px, 8vw, 128px); }
.sub-spaced { font-weight: 400; color: var(--ink); letter-spacing: 0.22em; line-height: 1.7; font-size: clamp(15px, 1.35vw, 20px); }
.body { font-size: clamp(16px, 1.1vw, 18px); line-height: 1.95; letter-spacing: 0.05em; }
.c-maroon { color: var(--maroon); } .c-white { color: var(--white); }
.kicker { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 400; letter-spacing: 0.32em; text-transform: uppercase; color: var(--maroon); }
.kicker .kn { font-family: var(--serif); font-size: 22px; letter-spacing: 0; color: var(--gold); }
.kicker.light { color: rgba(255, 255, 255, 0.92); }
.kicker.light .kn { color: #f3dfbf; }
.kicker.spaced { justify-content: center; text-align: center; letter-spacing: 0.3em; line-height: 1.6; color: var(--gold-panel); font-size: clamp(14px, 1.5vw, 20px); }
.rule { display: block; width: 140px; height: 1px; background: var(--gold); transform-origin: left center; }
.tc, .note {
  position: absolute; left: 14px; bottom: 10px; z-index: 2;
  font-size: 10.5px; letter-spacing: 0.06em; line-height: 1.3; color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.45); pointer-events: none;
}
.tc.dark { color: #6d6e70; text-shadow: none; }
.ln { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.ln > .li { display: block; will-change: transform; }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--hdr-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gut);
  color: var(--maroon); background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(196, 153, 91, 0.35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.hdr::before { /* translucent black shade used over the video */
  content: ""; position: absolute; inset: 0 0 -38px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.32) 55%, rgba(0, 0, 0, 0) 100%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.hdr.on-video { background: transparent; color: var(--white); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hdr.on-video::before { opacity: 1; }
.hdr-logo img { height: 36px; width: auto; transition: filter 0.5s var(--ease); }
.hdr.on-video .hdr-logo img { filter: brightness(0) invert(1); }
.hdr-actions { display: flex; gap: 6px; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; transition: background 0.3s; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: rgba(196, 153, 91, 0.2); }
.hdr-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hdr.on-video .hdr-progress { opacity: 0; }

/* contents menu overlay */
.menu {
  position: fixed; inset: 0; z-index: 80; background: var(--maroon); color: #f3dfbf; overflow-y: auto;
  display: grid; align-content: center; padding: 80px var(--gut) 60px;
  clip-path: circle(0% at calc(100% - 60px) 32px); visibility: hidden;
  transition: clip-path 0.8s var(--ease), visibility 0s linear 0.8s;
}
.menu.open { clip-path: circle(150% at calc(100% - 60px) 32px); visibility: visible; transition: clip-path 0.9s var(--ease), visibility 0s; }
.menu-close { position: absolute; top: 11px; right: var(--gut); color: #f3dfbf; }
.menu-list li { overflow: hidden; }
.menu-list a {
  display: flex; align-items: baseline; gap: 22px; padding: 6px 0;
  font-family: var(--serif); font-size: clamp(30px, 4.6vw, 66px); line-height: 1.12; color: #f3dfbf;
  transform: translateY(110%); transition: transform 0.8s var(--ease), color 0.3s;
}
.menu.open .menu-list a { transform: none; }
.menu.open .menu-list li:nth-child(2) a { transition-delay: 0.06s; }
.menu.open .menu-list li:nth-child(3) a { transition-delay: 0.12s; }
.menu.open .menu-list li:nth-child(4) a { transition-delay: 0.18s; }
.menu.open .menu-list li:nth-child(5) a { transition-delay: 0.24s; }
.menu.open .menu-list li:nth-child(6) a { transition-delay: 0.3s; }
.menu-list a:hover, .menu-list a.active { color: var(--white); }
.menu-n { font-family: var(--sans); font-size: 17px; letter-spacing: 0.18em; color: var(--gold); min-width: 2.4em; }

/* "scroll to explore" pill at the top of each section (fades once you scroll) */
.page-cue {
  position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 45;
  display: grid; justify-items: center; gap: 6px; padding: 8px 16px 7px; border-radius: 30px;
  background: rgba(255, 255, 255, 0.86); color: var(--maroon); box-shadow: 0 8px 24px -12px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0s linear 0.5s;
}
.page-cue.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity 0.6s var(--ease) 0.4s, transform 0.6s var(--ease) 0.4s, visibility 0s; }
.page-cue .cue-mouse { border-color: currentColor; }
.page-cue .cue-mouse span { background: currentColor; }
.page-cue .cue-t { text-shadow: none; }

/* ---------- stage ---------- */
.stage { position: relative; }
.stage > :where(.view:not(.hero):not(.specs)) { padding-top: var(--hdr-h); }

/* ---------- walkthrough hero ---------- */
.hero { position: relative; height: calc(var(--vu, 1svh) * 100); min-height: 560px; overflow: hidden; background: #1b1714; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 62%, rgba(0,0,0,0.5) 100%); pointer-events: none; }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: max(26px, env(safe-area-inset-bottom)); display: flex; align-items: flex-end; justify-content: flex-start; padding: 0 var(--gut); }
.sound-btn {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.5); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s;
}
.sound-btn:hover { background: rgba(255, 255, 255, 0.26); }
.sound-btn svg { width: 20px; height: 20px; }
.sound-btn .ic-on, .sound-btn[aria-pressed="true"] .ic-off { display: none; }
.sound-btn[aria-pressed="true"] .ic-on { display: block; }
.scroll-cue { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; color: #fff; }
.cue-mouse { width: 20px; height: 32px; border: 1.5px solid rgba(255,255,255,0.9); border-radius: 11px; position: relative; animation: cue-float 2.4s var(--ease) infinite; }
.cue-mouse span { position: absolute; left: 50%; top: 6px; width: 2px; height: 6px; margin-left: -1px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
.cue-t { font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,0.45); white-space: nowrap; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 80% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
@keyframes cue-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ---------- contents ---------- */
.contents { position: relative; background: var(--peach); padding: clamp(70px, 10vw, 130px) var(--gut); display: grid; gap: 36px; justify-items: center; }
.toc-card {
  width: min(1100px, 100%); background: var(--white); border: 1px solid rgba(196, 153, 91, 0.6);
  box-shadow: 0 30px 60px -30px rgba(144, 22, 73, 0.18);
  display: grid; grid-template-columns: 1fr; padding: clamp(18px, 3vw, 44px) clamp(18px, 4vw, 60px);
}
.toc-link {
  position: relative; display: flex; align-items: center; gap: 18px; padding: 18px 4px;
  border-bottom: 1px solid rgba(196, 153, 91, 0.25); color: var(--gold-panel);
}
.toc-link:last-child { border-bottom: 0; }
.toc-n { font-size: 12px; letter-spacing: 0.2em; color: var(--maroon); opacity: 0.7; width: 22px; }
.toc-link .arr { width: 32px; height: 16px; flex: none; transition: transform 0.5s var(--ease); }
.toc-l { font-size: clamp(20px, 2.1vw, 30px); font-weight: 300; letter-spacing: 0.02em; transition: color 0.3s, transform 0.5s var(--ease); }
.toc-link::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--maroon); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.toc-link:hover .arr, .toc-link.active .arr { transform: translateX(8px); }
.toc-link:hover .toc-l, .toc-link.active .toc-l { color: var(--maroon); transform: translateX(4px); }
.toc-link:hover::after, .toc-link.active::after { transform: scaleX(1); }
.toc-link.active .toc-l { font-weight: 400; }
.toc-preview { position: fixed; left: 0; top: 0; z-index: 40; width: 260px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; pointer-events: none; opacity: 0; transform: scale(0.85); box-shadow: 0 24px 50px -16px rgba(0,0,0,0.35); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); }
.toc-preview.on { opacity: 1; transform: scale(1); }
.toc-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 01 views carousel ---------- */
/* the whole carousel (image + slide count) fits one screen */
.views { background: var(--white); overflow: hidden; min-height: calc(var(--vu, 1svh) * 100); display: flex; flex-direction: column; justify-content: center; padding-bottom: 72px; }
.carousel { position: relative; --sw: min(84vw, 1280px, calc((var(--vu, 1vh) * 100 - var(--hdr-h) - 150px) * 16 / 9)); --gap: clamp(10px, 1.6vw, 24px); }
.car-track { display: flex; gap: var(--gap); padding-left: calc((100vw - var(--sw)) / 2); will-change: transform; touch-action: pan-y; cursor: grab; user-select: none; }
.car-track.dragging { cursor: grabbing; }
.slide {
  position: relative; flex: 0 0 var(--sw); aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #ddd;
  transform: scale(0.92); opacity: 0.55; transition: transform 1s var(--ease), opacity 1s var(--ease);
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.5);
}
.slide.is-active { transform: none; opacity: 1; }
.slide > img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); transform: scale(1.08); transition: transform 7s linear; pointer-events: none; }
.slide.is-active > img { transform: scale(1); }
.slide-cap { position: absolute; z-index: 2; color: var(--white); max-width: 46%; text-shadow: 0 2px 22px rgba(0, 0, 0, 0.35); }
.cap-right { right: 6%; top: 50%; transform: translateY(-50%); text-align: right; }
.cap-top { left: 6%; right: 6%; top: 9%; max-width: none; text-align: center; }
.cap-left-low { left: 6%; bottom: 14%; }
.cap-h { font-family: var(--serif); font-weight: 400; line-height: 1.15; font-size: clamp(22px, 3vw, 48px); }
.slide .cap-h .ln > .li { transform: translateY(105%); transition: transform 1.1s var(--ease); }
.slide.is-active .cap-h .ln > .li { transform: none; transition-delay: 0.35s; }
.car-btn {
  position: absolute; top: calc(var(--sw) * 9 / 32); z-index: 5; width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); color: var(--maroon); display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.35); transform: translateY(-50%); transition: transform 0.4s var(--ease), background 0.3s;
}
.car-btn svg { width: 22px; height: 22px; }
.car-btn:hover { transform: translateY(-50%) scale(1.08); }
.car-btn.prev { left: calc((100vw - var(--sw)) / 2 - 26px); }
.car-btn.next { right: calc((100vw - var(--sw)) / 2 - 26px); }
.car-foot { width: var(--sw); margin: 26px auto 0; display: flex; align-items: center; gap: 24px; }
.car-count { font-size: 13px; letter-spacing: 0.14em; color: var(--grey); white-space: nowrap; }
.car-count b { font-weight: 500; color: var(--maroon); }
.car-bars { flex: 1; display: flex; gap: 8px; }
.car-bars button { flex: 1; height: 14px; background: rgba(196, 153, 91, 0.3); position: relative; overflow: hidden; padding: 6px 0; background-clip: content-box; }
.car-bars button i { position: absolute; left: 0; top: 6px; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.car-bars button.done i { transform: scaleX(1); }
.car-bars button.run i { animation: bar var(--dur, 6s) linear forwards; }
.carousel.paused .car-bars button.run i { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }

/* ---------- 02 connectivity ---------- */
.connect { background: var(--white); }
.sketch-hero { position: relative; background: #fbfcf4; overflow: hidden; }
.sketch-art { overflow: hidden; }
.sketch-art img { width: 150%; max-width: none; margin-left: -50%; aspect-ratio: 1296 / 936; }
.sketch-ttl { padding: 0 var(--gut) 56px; display: grid; gap: 18px; justify-items: start; }
.sketch-hero .tc { bottom: 12px; }
.loc { display: grid; gap: 40px; padding: clamp(60px, 8vw, 110px) var(--gut); }
.rule-left { margin: 22px 0 26px; }
.ki { display: flex; align-items: center; gap: 16px; margin: 40px 0 22px; font-weight: 400; font-size: 18px; color: var(--ink); letter-spacing: 0.02em; }
.ki::after { content: ""; flex: 1; height: 1px; background: var(--gold); }
.infra { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.infra li {
  display: grid; justify-items: center; align-content: start; gap: 12px; padding: 20px 12px 18px; text-align: center; cursor: pointer;
  background: var(--white); border-radius: 12px; border: 1px solid transparent; box-shadow: 0 10px 28px -14px rgba(64, 64, 66, 0.35);
  font-size: 13px; line-height: 1.45; color: var(--grey); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s, color 0.4s;
}
.infra li:hover, .infra li.on { transform: translateY(-6px); box-shadow: 0 22px 40px -18px rgba(144, 22, 73, 0.35); border-color: rgba(196, 153, 91, 0.7); color: var(--maroon); }
.infra img { height: 50px; width: auto; transition: transform 0.6s var(--ease); }
.infra li:hover img, .infra li.on img { transform: scale(1.1); }
.loc-map { position: relative; }
.map-note { margin-bottom: 8px; text-align: right; font-size: 10px; color: var(--grey); letter-spacing: 0.04em; }
.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.45); }
.map-frame > img { width: 100%; cursor: zoom-in; }
.map-hl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hl-dim { fill: rgba(35, 31, 32, 0.42); opacity: 0; transition: opacity 0.5s var(--ease); }
.map-hl.on .hl-dim { opacity: 1; }
.hl-ring { fill: none; stroke: var(--maroon); stroke-width: 0.45; vector-effect: non-scaling-stroke; opacity: 0; }
.map-hl .hl-ring { stroke-width: 2.5px; }
.map-hl.on .hl-ring.on { opacity: 1; animation: ring 1.6s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ring { 0% { transform: scale(0.82); stroke-opacity: 1; } 70% { transform: scale(1.12); stroke-opacity: 0.25; } 100% { transform: scale(1.12); stroke-opacity: 0; } }
.hl-core { fill: none; stroke: var(--gold); stroke-width: 2px; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity 0.4s; }
.map-hl.on .hl-core.on { opacity: 1; }
.zoom-chip {
  position: absolute; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 30px; background: rgba(255, 255, 255, 0.95); color: var(--maroon);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid rgba(196, 153, 91, 0.6);
  box-shadow: 0 6px 18px -8px rgba(0,0,0,0.3); transition: transform 0.3s var(--ease);
}
.zoom-chip:hover { transform: scale(1.05); }

/* phone: tapping a Key Infrastructure card opens a small map right below its row */
.infra .map-peek { display: block; grid-column: 1 / -1; cursor: default; padding: 0; gap: 0; overflow: hidden; border: 1px solid rgba(196, 153, 91, 0.7); border-radius: 14px; box-shadow: 0 22px 40px -22px rgba(144, 22, 73, 0.45); background: #f4f1e4; }
.infra .map-peek:hover { transform: none; }
.mp-view { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.mp-inner { position: absolute; left: 0; top: 0; width: 2600px; height: 2769px; transform-origin: 0 0; will-change: transform; }
.mp-inner img { width: 2600px; height: 2769px; max-width: none; }
.mp-inner .map-hl { inset: 0; }
.mp-bar { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 16px; background: var(--white); border-top: 1px solid rgba(196, 153, 91, 0.4); }
.mp-t { font-size: 13px; line-height: 1.35; color: var(--maroon); text-align: left; letter-spacing: 0.03em; }
.mp-close { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--maroon); background: var(--peach); }
.mp-close svg { width: 16px; height: 16px; }
.mp-acts { display: flex; align-items: center; gap: 8px; flex: none; }
.mp-full { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 17px; border: 1px solid rgba(196, 153, 91, 0.7); color: var(--maroon); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.mp-full svg { width: 13px; height: 13px; }
/* phone/tablet: the big map is reached from the small map's "Full map" button */
@media (max-width: 959px) { .loc-map { display: none; } }
.zoom-chip svg { width: 15px; height: 15px; }

/* ---------- 03 zones ---------- */
.zones { background: var(--white); }
/* first screen: heading + fact; the zone cards follow on scroll */
.zones-top { height: calc(var(--vu, 1svh) * 100 - var(--hdr-h)); min-height: 420px; display: grid; }
.fact { position: relative; padding: 24px var(--gut) 70px; display: grid; align-content: center; text-align: center; background: var(--cream); overflow: hidden; }
.fact-mark img { width: clamp(80px, 7vw, 110px); margin: 0 auto 24px; }
.fact-text { font-family: var(--serif); color: var(--maroon); font-size: clamp(24px, 3.6vw, 56px); line-height: 1.12; max-width: 1000px; margin: 0 auto; }
.fact-text .w { display: inline-block; }
.fact-tc { left: var(--gut); }
.zone-cards { display: grid; gap: 22px; padding: clamp(60px, 8vw, 110px) var(--gut); }
.zone-card {
  position: relative; display: grid; gap: 14px; align-content: start; text-align: left; overflow: hidden;
  padding: 28px 26px 26px; background: var(--white); border: 1px solid rgba(196, 153, 91, 0.35); border-radius: var(--radius);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.4s;
}
.zone-card:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -32px rgba(144, 22, 73, 0.45); border-color: var(--gold); }
.zc-num { position: absolute; right: 20px; top: 14px; font-family: var(--sans); font-weight: 600; font-size: 92px; line-height: 1; color: #f1ede6; letter-spacing: 0; transition: color 0.5s; }
.zone-card:hover .zc-num { color: #f6e7d2; }
.zc-art { position: relative; height: 170px; display: grid; place-items: center start; }
.zc-art img { max-height: 160px; width: auto; transition: transform 0.8s var(--ease); }
.zone-card:hover .zc-art img { transform: scale(1.06) translateY(-4px); }
.zc-title { position: relative; font-family: var(--serif); color: var(--maroon); font-size: clamp(34px, 3vw, 44px); line-height: 1; }
.zc-title::after { content: ""; display: block; width: 28px; height: 2px; background: var(--maroon); margin-top: 10px; transition: width 0.6s var(--ease); }
.zone-card:hover .zc-title::after { width: 64px; }
.zc-text { font-size: 15px; line-height: 1.75; letter-spacing: 0.06em; color: var(--ink); }
.zc-more { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-panel); }
.zc-more svg { width: 28px; height: 14px; transition: transform 0.5s var(--ease); }
.zone-card:hover .zc-more svg { transform: translateX(8px); }

/* zone panel */
.zpanel { position: fixed; inset: 0; z-index: 90; background: var(--cream); visibility: hidden; clip-path: inset(50% 50% 50% 50% round var(--radius)); }
.zpanel.open { visibility: visible; }
.zp-inner { position: absolute; inset: 0; overflow: hidden; }
.zp { position: absolute; inset: 0; display: grid; grid-template-rows: calc(var(--vu, 1vh) * 42) minmax(0, 1fr); visibility: hidden; opacity: 0; }
.zp.cur { visibility: visible; opacity: 1; }
.zp-media { position: relative; overflow: hidden; background: #ddd; }
.zp-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.zp.cur .zp-media img { animation: kb 18s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1.12) translate(0, 0); } to { transform: scale(1.18) translate(-3%, -2%); } }
.zp-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 28px var(--gut) 110px; }
.zp-kick { font-family: var(--serif); color: var(--gold); font-size: 22px; }
.zp-display { font-family: var(--serif); color: var(--gold); font-size: clamp(54px, 6.4vw, 104px); line-height: 0.95; margin: 6px 0 14px; }
.zp-h { font-size: clamp(24px, 2.2vw, 34px); }
.zp-h2 { margin-top: 44px; }
.list-title { display: inline-block; margin: 20px 0 14px; padding: 7px 0; min-width: 220px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); font-family: var(--serif); font-size: 18px; letter-spacing: 0.12em; color: var(--maroon); }
.numlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2px 24px; font-size: 16px; letter-spacing: 0.04em; color: var(--grey); }
.numlist li { line-height: 2.2; border-bottom: 1px dashed rgba(196, 153, 91, 0.3); }
.numlist .n { display: inline-block; min-width: 2.3em; color: var(--gold); font-weight: 400; }
.zp-nav { position: absolute; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 3; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 40px; background: rgba(255,255,255,0.96); box-shadow: 0 12px 30px -12px rgba(0,0,0,0.35); }
.zp-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--maroon); }
.zp-btn svg { width: 20px; height: 20px; }
.zp-btn:hover { background: var(--peach); }
.zp-tabs { display: flex; gap: 2px; }
.zp-tabs button { padding: 8px 14px; border-radius: 30px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); transition: background 0.3s, color 0.3s; }
.zp-tabs button.on { background: var(--maroon); color: #fff; }
.zp-close { position: absolute; top: 14px; right: 14px; z-index: 3; background: rgba(255,255,255,0.95); color: var(--maroon); box-shadow: 0 6px 20px -8px rgba(0,0,0,0.35); }

/* ---------- 04 specifications ---------- */
.specs { position: relative; background: #eef0ea; }
.specs-pin { position: relative; overflow: hidden; padding-top: var(--hdr-h); }
/* phone: first screen = masterplan + heading (--intro); the 6 features follow on scroll */
.specs { --intro: 190px; }
.specs-scroller { position: relative; height: calc(var(--vu, 1svh) * 100 - var(--hdr-h) - var(--intro)); min-height: 280px; overflow: hidden; touch-action: pan-y; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.specs-scroller::-webkit-scrollbar { display: none; }
.specs-scroller img { height: 100%; width: auto; max-width: none; cursor: grab; -webkit-user-drag: none; user-select: none; }
.specs-scroller.grabbing img { cursor: grabbing; }
.pan-ind.drag .pan-thumb { transform: scaleY(1.25); }
.specs-scroller .tc { position: sticky; left: 14px; bottom: 10px; display: inline-block; margin-top: -28px; }
.specs-frame { position: relative; }
/* minimal pan indicator at the bottom of the masterplan */
.pan-ind { position: absolute; left: 50%; bottom: 16px; z-index: 3; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 12px; padding: 7px 14px; border-radius: 20px; background: rgba(35, 31, 32, 0.32); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.pan-ind.drag { cursor: grabbing; background: rgba(35, 31, 32, 0.5); }
.pan-t { font-size: 9.5px; letter-spacing: 0.28em; text-transform: uppercase; line-height: 1; }
.pan-desk { display: none; }
.pan-track { position: relative; width: 84px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.35); }
.pan-track::before { content: ""; position: absolute; inset: -14px -8px; }
.pan-thumb { position: absolute; top: -2px; height: 6px; width: 20px; border-radius: 3px; background: #fff; transition: transform 0.25s var(--ease); left: calc(var(--p, 0) * (100% - 20px)); }
.specs-card { position: relative; z-index: 3; background: var(--white); padding: 0 var(--gut) 56px; text-align: center; }
.specs-intro { height: var(--intro); display: grid; align-content: center; padding-bottom: 62px; }
.feat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; margin-top: 30px; }
.feat li { display: grid; justify-items: center; gap: 10px; font-size: 11.5px; letter-spacing: 0.09em; line-height: 1.6; color: var(--grey); }
.feat img { height: 52px; width: auto; }

/* ---------- 05 show flats ---------- */
.flats { background: var(--cream); padding-bottom: clamp(56px, 7vw, 90px); }
.flats-head { display: grid; justify-items: start; gap: 16px; padding: clamp(40px, 6vw, 70px) var(--gut) clamp(28px, 4vw, 44px); }
.flat-grid { display: grid; gap: 10px; padding: 0 var(--gut); }
.flat { position: relative; display: block; width: 100%; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 3; background: #222; text-align: left; }
.flat img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.flat::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(20,14,10,0.78) 100%); transition: background 0.6s var(--ease); }
.flat-cap { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 34px; color: #fff; font-family: var(--serif); font-size: clamp(15px, 1.15vw, 19px); line-height: 1.22; letter-spacing: 0.02em; transition: transform 0.7s var(--ease), opacity 0.7s var(--ease); }
.flat-cap small { display: block; margin-top: 4px; font-family: var(--sans); font-size: 11px; letter-spacing: 0.06em; }
.flat-wrap { padding: 0 var(--gut); }
.flat-wrap .flat-grid { padding: 0; }
/* one note for the whole grid (same type as the T&C notes), instead of one per photo */
.flat-note { margin: 0 0 8px; text-align: right; font-size: 10.5px; letter-spacing: 0.06em; line-height: 1.3; color: #6d6e70; }
@media (hover: hover) {
  .flat::before { background: rgba(20, 14, 10, 0.5); }
  .flat-cap { transform: translateY(16px); opacity: 0; }
  .flat:hover::before, .flat:focus-visible::before { background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(20,14,10,0.75) 100%); }
  .flat:hover img, .flat:focus-visible img { transform: scale(1.1); }
  .flat:hover .flat-cap, .flat:focus-visible .flat-cap { transform: none; opacity: 1; }
  .flat-grid:hover .flat:not(:hover)::before { background: rgba(20, 14, 10, 0.62); }
}

/* ---------- footer ---------- */
.foot { background: var(--white); padding: 48px var(--gut) 40px; border-top: 1px solid #efe8dc; }
.foot-row { display: grid; gap: 30px; align-items: center; }
.foot-logo { width: 180px; }
.foot-addr { font-size: 14px; line-height: 1.7; color: var(--ink); }
.foot-addr p + p { margin-top: 10px; }
.foot-addr b { font-weight: 600; }
.foot-rera { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--ink); line-height: 1.6; }
.foot-rera img { width: 96px; }
.foot-rera strong { font-weight: 600; font-size: 15px; letter-spacing: 0.03em; }
.disc { margin-top: 30px; border-top: 1px solid #efe8dc; padding-top: 18px; }
.disc summary { cursor: pointer; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--maroon); list-style: none; display: inline-flex; align-items: center; gap: 10px; }
.disc summary::-webkit-details-marker { display: none; }
.disc summary::after { content: "+"; font-size: 18px; line-height: 1; color: var(--gold); transition: transform 0.3s; }
.disc[open] summary::after { transform: rotate(45deg); }
.disc p { margin-top: 16px; font-size: 12px; line-height: 1.75; color: var(--grey); text-align: justify; hyphens: auto; }

/* ---------- image viewer: drag to move, pinch / wheel / buttons to zoom ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(18, 16, 15, 0.97); opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s; }
.lb.open { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease), visibility 0s; }
.lb-stage { position: absolute; inset: 0 0 96px 0; overflow: hidden; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.lb-stage.grabbing { cursor: grabbing; }
.lb-stage img { position: absolute; left: 50%; top: 50%; max-width: none; transform-origin: 50% 50%; will-change: transform; transition: opacity 0.3s; -webkit-user-drag: none; }
.lb-stage.anim img { transition: transform 0.35s var(--ease), opacity 0.3s; }
.lb-hint { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); padding: 8px 16px; border-radius: 30px; background: rgba(255,255,255,0.12); color: #f3dfbf; font-size: 12px; letter-spacing: 0.1em; white-space: nowrap; pointer-events: none; transition: opacity 0.6s; }
.lb-hint.gone { opacity: 0; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 66px; text-align: center; color: #f3dfbf; font-family: var(--serif); font-size: 18px; padding: 0 60px; }
.lb-tools { position: absolute; left: 0; right: 0; bottom: 10px; height: 50px; display: flex; justify-content: center; align-items: center; gap: 10px; }
.lb-tools button { height: 42px; min-width: 46px; padding: 0 14px; color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 22px; font-size: 18px; display: grid; place-items: center; }
.lb-tools svg { width: 20px; height: 20px; }
.lb:not(.gallery) .lb-arrow { display: none; }
.lb-close { position: absolute; top: 12px; right: 12px; color: #fff; z-index: 2; }

/* ---------- phone ---------- */
@media (max-width: 599px) {
  .hide-touch { display: none; }
  .hdr-logo img { height: 30px; }
  .slide { aspect-ratio: 4 / 5; }
  .carousel { --sw: 86vw; }
  .car-btn { display: none; }
  .slide-cap { max-width: 86%; }
  .cap-right { right: 7%; left: 7%; top: auto; bottom: 12%; transform: none; text-align: left; }
  .toc-preview { display: none; }
  .hero-bottom { bottom: max(22px, env(safe-area-inset-bottom)); }
  .sound-btn { width: 40px; height: 40px; }
  .lb-hint { font-size: 11px; }
}

/* ---------- tablet / desktop ---------- */
@media (min-width: 700px) {
  .toc-card { grid-template-columns: 1fr 1fr; column-gap: 60px; }
  .toc-link:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .zone-cards { grid-template-columns: repeat(3, 1fr); }
  .flat-grid { grid-template-columns: repeat(6, 1fr); }
  .flat { grid-column: span 2; }
  .flat.big { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; }
  /* captions scale with the tile: the big tile keeps its size, the small tiles get a smaller caption */
  .flat:not(.big) .flat-cap { left: 14px; right: 14px; bottom: 28px; font-size: clamp(11px, 0.82vw, 13.5px); line-height: 1.25; }
  .flat:not(.big) .flat-cap small { font-size: 9.5px; margin-top: 3px; }
  .flat:nth-child(4), .flat:nth-child(5) { grid-column: span 3; aspect-ratio: 16 / 9; }
  .feat { grid-template-columns: repeat(3, 1fr); }
  .foot-row { grid-template-columns: auto 1fr auto; gap: 48px; }
}
@media (min-width: 960px) {
  :root { --hdr-h: 72px; }
  .hdr-logo img { height: 42px; }
  .sketch-art img { width: 100%; margin-left: 0; }
  .sketch-ttl { position: absolute; left: 9%; top: 50%; transform: translateY(-50%); padding: 0; }
  .loc { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); gap: clamp(40px, 5vw, 90px); align-items: start; }
  .loc-map { position: sticky; top: calc(var(--hdr-h) + 20px); }
  .infra { grid-template-columns: repeat(3, 1fr); }
  .zp { grid-template-rows: none; grid-template-columns: 58% 42%; }
  .zp-body { padding: 70px 4vw 120px; }
  .zp-nav { left: 79%; }
  /* pinned horizontal masterplan */
  .specs-pin { height: calc(var(--vu, 1vh) * 100); }
  .specs-scroller { height: 100%; overflow: hidden; }
  .specs-scroller img { height: 100%; }
  .specs-scroller .tc { position: absolute; left: 14px; bottom: 12px; margin: 0; }
  .specs-frame { height: 100%; }
  .pan-touch { display: none; }
  .pan-desk { display: inline; }
  .pan-ind { bottom: 22px; }
  .specs-card {
    position: absolute; right: 3.2vw; top: calc(50% + var(--hdr-h) / 2); transform: translateY(-50%); width: min(400px, 30vw);
    background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    padding: 36px 26px 30px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.4);
  }
  .specs-intro { height: auto; padding: 0; }
  .specs-card .h-caps { font-size: clamp(24px, 2vw, 32px); }
  .feat { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; margin-top: 24px; }
  .feat li { font-size: 11px; }
  .feat img { height: 46px; }

  /* show flats: whole section fits one screen */
  .flats {
    height: calc(var(--vu, 1vh) * 100); min-height: 620px; padding: calc(var(--hdr-h) + 24px) var(--gut) 28px;
    display: grid; grid-template-columns: minmax(200px, 19%) minmax(0, 1fr); gap: clamp(28px, 3vw, 56px);
  }
  .flats-head { padding: 0; align-content: center; gap: 14px; }
  .flats-head .h-display { font-size: clamp(56px, 6vw, 108px); }
  .flats-head .sub-spaced { font-size: clamp(14px, 1.1vw, 18px); }
  .flat-wrap { padding: 0; height: 100%; min-height: 0; display: flex; flex-direction: column; }
  .flat-grid { padding: 0; flex: 1; min-height: 0; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .flat, .flat:nth-child(4), .flat:nth-child(5) { grid-column: auto; aspect-ratio: auto; height: 100%; }
  .flat.big { grid-column: 1; grid-row: 1 / span 2; }
}

/* ---------- no-animation fallback ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
