/* ============================================================================
   EMAMI AAMOD - style.css
   Mobile-first. Base rules target 375–414px phones; min-width media queries
   at the very bottom scale up to tablet (768) → desktop (1024) → wide (1440).
   Dark editorial luxury: near-black navy, cream text, restrained gold. One
   type family throughout (Neue Haas Grotesk); gold is the only accent.
   Signature motif: the rising-sun sunburst mark.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. FONTS
   Self-hosted Neue Haas Grotesk (trial .otf shipped in /fonts).
   TODO: replace the .otf files with licensed Neue Haas Grotesk .woff2 files
   (Monotype) for production; keep the same family names below.
   --------------------------------------------------------------------------- */
@font-face {
  font-family: "Neue Haas Display";
  src: url("fonts/NeueHaasDisplay-Thin.otf") format("opentype");
  font-weight: 250; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Neue Haas Display";
  src: url("fonts/NeueHaasDisplay-Light.otf") format("opentype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Neue Haas Display";
  src: url("fonts/NeueHaasDisplay-Roman.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Neue Haas Display";
  src: url("fonts/NeueHaasDisplay-Medium.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Neue Haas Text";
  src: url("fonts/NeueHaasText-Roman.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Neue Haas Text";
  src: url("fonts/NeueHaasText-Medium.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ---------------------------------------------------------------------------
   2. DESIGN TOKENS
   --------------------------------------------------------------------------- */
:root {
  /* Colour */
  --color-bg-primary:   #0A0F1C;
  --color-bg-secondary: #10192B;
  --color-cream:        #F4EFE6;
  --color-gold:         #C9A24B;   /* accent on dark */
  --color-gold-soft:    #E8D9AE;   /* hover / bright gold on dark */
  --color-gold-deep:    #9A7223;   /* accent on light (large text only) */
  --color-charcoal:     #1A1A1A;
  --color-ink-soft:     #4A4438;   /* eyebrow / muted text on light */
  --color-hairline:     rgba(244,239,230,0.15);
  --color-hairline-dk:  rgba(26,26,26,0.16);
  --color-cream-dim:    rgba(244,239,230,0.62);

  /* Type */
  --font-display: "Neue Haas Display", "Helvetica Now Display", "Inter", system-ui, sans-serif;
  --font-body:    "Neue Haas Text", "Inter", system-ui, sans-serif;
  /* Accent = same Neue Haas family; gold colour is the only distinction. */
  --font-accent:  "Neue Haas Display", "Helvetica Now Display", "Inter", system-ui, sans-serif;

  /* Rhythm */
  --pad-x: 22px;                 /* mobile gutter */
  --section-y: 76px;             /* mobile section rhythm */
  --maxw: 1440px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.5s;

  --z-header: 100;
  --z-menu: 200;
  --z-cursor: 400;
  --z-loader: 500;
}

/* ---------------------------------------------------------------------------
   3. RESET / BASE
   --------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-cream);
  background: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
select, input { font: inherit; color: inherit; }
address { font-style: normal; }

::selection { background: var(--color-gold); color: var(--color-bg-primary); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 999;
  background: var(--color-gold); color: var(--color-bg-primary);
  padding: 10px 16px; border-radius: 2px; font-weight: 500;
  transform: translateY(-160%); transition: transform .25s var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible { outline: 2px solid var(--color-gold-soft); outline-offset: 3px; }

/* ---------------------------------------------------------------------------
   4. TYPOGRAPHY HELPERS
   --------------------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.accent {
  font-family: var(--font-accent);
  font-style: normal;
  font-weight: 400;
  color: var(--color-gold);
  letter-spacing: 0;
}

/* No italic type anywhere on the page - keep every emphasis face upright. */
em, i, cite, .accent { font-style: normal; }

.hairline {
  display: block;
  height: 1px;
  background: var(--color-hairline);
  border: 0;
}
.hairline--center { width: min(120px, 40%); margin: 0 auto; }
.section--light .hairline { background: var(--color-hairline-dk); }

/* Shared section heading block */
.section__head { padding: 0 var(--pad-x); margin-bottom: 40px; }
.section__head h2 { font-size: clamp(1.75rem, 8vw, 2.5rem); margin-top: 14px; max-width: 16ch; }
.section__head .eyebrow { }
/* Residences heading: force a clean two-line break - "Rooms bigger" on line 1,
   the gold accent phrase on line 2 - instead of the default three-line wrap. */
.residences .section__head h2 { max-width: none; }
.residences .section__head h2 .accent { white-space: nowrap; }

/* ---------------------------------------------------------------------------
   5. BUTTONS
   --------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  font-family: var(--font-body); font-weight: 500;
  font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 2px; position: relative; overflow: hidden;
  isolation: isolate; /* trap the fill-swipe ::after below the label */
  transition: color .4s var(--ease-out), border-color .4s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn--sm { min-height: 42px; font-size: 0.72rem; padding: 0 18px; }

/* fill-swipe hover: pseudo element sweeps up */
.btn--fill { background: var(--color-gold); color: var(--color-bg-primary); }
.btn--fill::after {
  content: ""; position: absolute; inset: 0; background: var(--color-gold-soft);
  transform: translateY(101%); transition: transform .45s var(--ease-out); z-index: -1;
}
.btn--fill:hover::after { transform: translateY(0); }

/* Frosted glass - no border. */
.btn--ghost {
  color: var(--color-cream);
  background: rgba(244, 239, 230, 0.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 28px rgba(0, 0, 0, 0.20);
}
.btn--ghost::after {
  content: ""; position: absolute; inset: 0; background: var(--color-cream);
  transform: translateY(101%); transition: transform .45s var(--ease-out); z-index: -1;
}
.btn--ghost:hover { color: var(--color-bg-primary); }
.btn--ghost:hover::after { transform: translateY(0); }
.section--light .btn--ghost { color: var(--color-charcoal); background: rgba(26, 26, 26, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 28px rgba(26, 26, 26, 0.10); }
.section--light .btn--ghost:hover { color: var(--color-cream); }
.section--light .btn--ghost::after { background: var(--color-charcoal); }

.btn--pill {
  min-height: 42px; border-radius: 40px; padding: 0 22px;
  /* Frosted glass - no border. */
  border: 0; color: var(--color-gold);
  background: rgba(244, 239, 230, 0.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 28px rgba(0, 0, 0, 0.20);
  font-size: 0.72rem;
}
.btn--pill::after {
  content: ""; position: absolute; inset: 0; background: var(--color-gold);
  transform: translateY(101%); transition: transform .4s var(--ease-out); z-index: -1;
}
.btn--pill:hover { color: var(--color-bg-primary); }
.btn--pill:hover::after { transform: translateY(0); }

/* ---------------------------------------------------------------------------
   5b. PILL CTA - label + circular arrow. On hover the gold disc under the
   icon expands to flood the whole pill, the label inverts to navy and the
   arrow nudges. Keeps Aamod's gold-on-navy scheme. Works on <a> and <button>.
   --------------------------------------------------------------------------- */
.pill {
  --pill-ink: var(--color-cream);       /* rest label colour (dark sections) */
  --pill-disc: 44px;                     /* icon / rest-disc diameter        */
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 22px;
  min-height: calc(var(--pill-disc) + 14px);
  padding: 7px 7px 7px 30px; border-radius: 999px;
  /* Frosted glass - no border; translucent fill + blur of what's behind. */
  border: 0;
  background: rgba(244, 239, 230, 0.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 28px rgba(0, 0, 0, 0.20);
  font-family: var(--font-body); font-weight: 500;
  font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--pill-ink); cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color .4s var(--ease-out);
}
.pill__label { position: relative; z-index: 1; white-space: nowrap;
  color: var(--pill-ink); transition: color .4s var(--ease-out); }
.pill__icon { position: relative; z-index: 1; flex: 0 0 auto;
  width: var(--pill-disc); height: var(--pill-disc); border-radius: 50%;
  display: grid; place-items: center; color: var(--color-bg-primary); }
.pill__arrow { display: block; width: 20px; height: 20px; transition: transform .4s var(--ease-out); }
/* the gold disc: sits exactly under the icon at rest, floods the pill on hover */
.pill::after {
  content: ""; position: absolute; z-index: 0; top: 50%; right: 7px;
  width: var(--pill-disc); height: var(--pill-disc); border-radius: 50%;
  background: var(--color-gold); transform-origin: center;
  transform: translateY(-50%) scale(1);
  transition: transform .55s var(--ease-out);
}
/* Keyboard focus keeps the flooded state. Hover is gated to real pointers only
   (below) so a tap on touch devices does not leave the pill stuck gold. */
.pill:focus-visible { --pill-ink: var(--color-bg-primary); outline: none; }
.pill:focus-visible::after { transform: translateY(-50%) scale(24); }
.pill:focus-visible .pill__arrow { transform: translateX(4px); }
@media (hover: hover) {
  .pill:hover { --pill-ink: var(--color-bg-primary); outline: none; }
  .pill:hover::after { transform: translateY(-50%) scale(24); }
  .pill:hover .pill__arrow { transform: translateX(4px); }
}

/* small variant (compact CTAs like "Open in Maps") */
.pill--sm { --pill-disc: 34px; padding: 5px 5px 5px 20px; gap: 14px; font-size: 0.72rem; }
.pill--sm .pill__arrow { width: 16px; height: 16px; }

/* light-section label colour (disc + hover invert stay the same) */
.section--light .pill { --pill-ink: var(--color-charcoal); }
.section--light .pill:focus-visible { --pill-ink: var(--color-bg-primary); }
@media (hover: hover) {
  .section--light .pill:hover { --pill-ink: var(--color-bg-primary); }
}

@media (prefers-reduced-motion: reduce) {
  .pill::after { transition: none; }
  .pill:hover::after, .pill:focus-visible::after { transform: translateY(-50%) scale(1); }
  .pill:hover, .pill:focus-visible { --pill-ink: var(--color-cream); }
  .section--light .pill:hover, .section--light .pill:focus-visible { --pill-ink: var(--color-charcoal); }
}

/* ---------------------------------------------------------------------------
   6. REVEAL / SPLIT-TEXT ANIMATION BASE
   Hidden states only apply once JS confirms support (html.js). Without JS,
   everything is visible (progressive enhancement).
   --------------------------------------------------------------------------- */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); }
html.js [data-reveal].is-in { opacity: 1; transform: none;
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }

/* split lines / words: JS wraps into .line/.word > .r-inner */
.r-line, .r-word { display: inline-block; overflow: hidden; vertical-align: top; }
.r-word { padding-bottom: 0.02em; }
/* letter mode: keeps one word's per-letter units together, breaking only at spaces */
.r-lw { display: inline-block; white-space: nowrap; vertical-align: top; }
html.js .r-inner { display: inline-block; transform: translateY(110%); }
html.js .is-in .r-inner {
  transform: translateY(0);
  transition: transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}

/* media reveal: clip wipe + scale settle */
html.js [data-reveal-media] { clip-path: inset(12% 0 0 0); }
html.js [data-reveal-media] img { transform: scale(1.08); transition: transform 1.1s var(--ease-out); }
html.js [data-reveal-media].is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease-out); }
html.js [data-reveal-media].is-in img { transform: scale(1); }

/* ---------------------------------------------------------------------------
   7. LOADER
   --------------------------------------------------------------------------- */
.loader { display: none; }
html.js .loader {
  display: block; position: fixed; inset: 0; z-index: var(--z-loader);
  /* No background here - the opaque curtain panels do the covering, so when
     they lift they reveal the hero directly (not a flat fill behind them). */
  background: transparent; overflow: hidden;
}

/* --- Curtain panels (opaque cover that lifts to reveal the hero) --- */
.loader__panels { position: absolute; inset: 0; z-index: 0; display: flex; }
.loader__panel {
  flex: 1 1 0%; height: 100%;
  background: linear-gradient(180deg, #0c1222 0%, #090d18 55%, #070a14 100%);
  will-change: transform;
}
/* Overlap each panel 1px onto its right neighbour so the opaque panels cover
   each other's edge. On real devices with fractional DPR (e.g. 2.75) the panel
   widths land on sub-pixel boundaries and each promoted (will-change) layer
   edge renders a faint vertical hairline; the overlap hides those seams.
   flex-grow re-fills the container, so the panels still span edge-to-edge. */
.loader__panel:not(:last-child) { margin-right: -1px; }

/* --- Ambient depth: breathing glow + drifting gold motes + vignette --- */
.loader__ambient { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.loader__ambient::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 46%, transparent 34%, rgba(4,6,12,0.55) 100%);
}
.loader__glow {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: min(860px, 112vw); height: min(860px, 112vw);
  background: radial-gradient(circle, rgba(201,162,75,0.22), rgba(201,162,75,0.06) 38%, transparent 66%);
  animation: loaderGlow 6.5s ease-in-out infinite;
}
/* A larger, fainter halo counter-breathing behind the core glow for depth. */
.loader__glow::after {
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(circle, rgba(201,162,75,0.08), transparent 58%);
  animation: loaderGlow 9s ease-in-out infinite reverse;
}
@keyframes loaderGlow {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;    transform: translate(-50%, -53%) scale(1.12); }
}
/* Rising gold stars: a four-point sparkle that floats up while twinkling.
   Position / size / timing come from per-element CSS vars set in the HTML. */
.loader__mote {
  position: absolute; bottom: 22%; left: var(--x, 50%);
  width: var(--size, 10px); height: var(--size, 10px);
  opacity: 0; pointer-events: none; will-change: transform, opacity;
  animation: loaderMote var(--dur, 8s) ease-in-out infinite; animation-delay: var(--delay, 0s);
}
.loader__mote::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, #fff7e2 0%, var(--color-gold-soft) 46%, rgba(201,162,75,0.55) 82%);
  clip-path: polygon(50% 0%, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0% 50%, 42% 42%);
  filter: drop-shadow(0 0 5px rgba(232,217,174,0.85));
  animation: loaderTwinkle var(--tw, 2.6s) ease-in-out infinite; animation-delay: var(--delay, 0s);
}
@keyframes loaderMote {
  0%   { opacity: 0; transform: translateY(30px) scale(0.5); }
  12%  { opacity: 0.95; }
  70%  { opacity: 0.85; }
  100% { opacity: 0; transform: translateY(calc(-1 * var(--rise, 46vh))) scale(1); }
}
@keyframes loaderTwinkle {
  0%, 100% { transform: scale(0.66) rotate(0deg); }
  50%      { transform: scale(1.18) rotate(45deg); }
}

/* --- Centered content ---
   The mark-wrap (rising sun + rings) is the only flow child, so it centres
   exactly on the page. The wordmark + counter are pinned just beneath it so
   the text below never pushes the animation off-centre. */
.loader__inner {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.loader__text {
  position: absolute; left: 50%; top: 50%;
  transform: translateX(-50%);
  margin-top: clamp(66px, 7vw, 88px);
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(14px, 1.8vw, 22px); width: max-content;
}
/* The rising sun hovers gently. */
.loader__mark-wrap { position: relative; line-height: 0; animation: loaderFloat 5.5s ease-in-out infinite; }

/* Persistent gold ring(s) framing the rising sun, centred on the horizon. */
.loader__ring {
  position: absolute; left: 50%; top: 60%; transform: translate(-50%, -50%) scale(0.6);
  width: clamp(230px, 25vw, 340px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(201,162,75,0.30);
  box-shadow: inset 0 0 48px rgba(201,162,75,0.10), 0 0 34px rgba(201,162,75,0.06);
  opacity: 0; pointer-events: none;
  animation: loaderRingIn 1.5s var(--ease-out) 0.4s forwards, loaderRingBreath 7s ease-in-out 1.9s infinite;
}
/* A bright bead of light sweeps around the inner ring's edge. */
.loader__ring::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg 306deg, rgba(255,247,224,0.9) 344deg, transparent 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  animation: loaderRingSpin 4.6s linear infinite;
}
.loader__ring--2 {
  width: clamp(310px, 33vw, 450px); border-color: rgba(201,162,75,0.15); box-shadow: none;
  animation: loaderRingIn 1.7s var(--ease-out) 0.7s forwards, loaderRingBreath 9.5s ease-in-out 2.4s infinite reverse;
}
.loader__ring--2::before { display: none; }

/* Soft radial halo behind the sun - a pseudo-element rather than an SVG filter,
   which avoids a faint compositing-layer seam on hi-dpi screens. */
.loader__mark-wrap::before {
  content: ""; position: absolute; left: 50%; top: 56%; z-index: -1; pointer-events: none;
  width: 190%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,75,0.40), rgba(201,162,75,0.12) 40%, transparent 68%);
  transform: translate(-50%, -50%);
  animation: loaderMarkGlow 3.8s ease-in-out infinite;
}
.loader__mark {
  position: relative; width: clamp(130px, 15vw, 200px); height: auto;
  color: var(--color-gold); opacity: 0;
}
@keyframes loaderFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes loaderRingIn {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes loaderRingBreath {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    border-color: rgba(201,162,75,0.28); }
  50%      { transform: translate(-50%, -50%) scale(1.045); border-color: rgba(201,162,75,0.5); }
}
@keyframes loaderRingSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes loaderMarkGlow {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.97); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.06); }
}

.loader__word { text-align: center; }
.loader__brand-mask { display: block; }
.loader__brand {
  display: block; font-family: var(--font-body); font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: 0.03em;
  color: var(--color-cream); opacity: 0; transform: translateY(16px);
}
/* AAMOD keeps a slow gold shimmer sweeping across it. */
.loader__project {
  display: block; margin-top: 8px; font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: 0.44em; text-indent: 0.44em;
  opacity: 0; color: var(--color-gold);
  background: linear-gradient(100deg, var(--color-gold) 0%, var(--color-gold) 42%, #fff4d6 50%, var(--color-gold) 58%, var(--color-gold) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: loaderTextSheen 5.5s ease-in-out infinite; animation-delay: 2.2s;
}
@keyframes loaderTextSheen {
  0%        { background-position: 130% 0; }
  55%, 100% { background-position: -30% 0; }
}

.loader__meta {
  display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 4px;
}
.loader__line {
  display: block; position: relative; overflow: hidden; height: 1px; width: 0;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}
/* A bright highlight travels along the hairline. */
.loader__line::after {
  content: ""; position: absolute; top: 0; left: 0; height: 100%; width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255,247,224,0.95), transparent);
  transform: translateX(-120%);
  animation: loaderLineSweep 3.4s ease-in-out infinite; animation-delay: 1.6s;
}
@keyframes loaderLineSweep {
  0%        { transform: translateX(-120%); }
  60%, 100% { transform: translateX(340%); }
}
.loader__count {
  font-family: var(--font-body); font-weight: 500; font-size: 0.82rem;
  letter-spacing: 0.36em; text-indent: 0.36em; color: var(--color-cream-dim); opacity: 0;
}

/* ---------------------------------------------------------------------------
   8. CUSTOM CURSOR (desktop only; JS toggles .cursor-ready on html)
   --------------------------------------------------------------------------- */
.cursor { display: none; }
html.cursor-ready .cursor {
  display: grid; place-items: center; position: fixed; top: 0; left: 0;
  width: 12px; height: 12px; border-radius: 50%; background: var(--color-gold);
  z-index: var(--z-cursor); pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease-out), height .3s var(--ease-out),
              background .3s var(--ease-out);
  mix-blend-mode: difference;
}
html.cursor-ready .cursor.is-active {
  width: 76px; height: 76px; background: var(--color-gold-soft); mix-blend-mode: normal;
}
.cursor__label {
  font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-bg-primary); opacity: 0; transform: scale(0.6);
  transition: opacity .3s, transform .3s;
}
html.cursor-ready .cursor.is-active .cursor__label { opacity: 1; transform: scale(1); }

/* ---------------------------------------------------------------------------
   9. HEADER + OVERLAY MENU
   --------------------------------------------------------------------------- */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: var(--z-header);
  transition: background .4s var(--ease-out), backdrop-filter .4s var(--ease-out),
              border-color .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.header.is-solid {
  background: rgba(10,15,28,0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--color-hairline);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 14px var(--pad-x);
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__logo { height: 34px; width: auto; display: block; }
.brand__mark { width: 40px; height: 22px; color: var(--color-gold); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__emami { font-family: var(--font-body); font-weight: 500; font-size: 0.92rem; color: var(--color-cream); }
.brand__aamod { font-family: var(--font-display); font-weight: 300; font-size: 0.72rem;
  letter-spacing: 0.34em; text-indent: 0.34em; color: var(--color-gold); }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__cta { display: none; }

/* Persistent inline nav (desktop only; hidden on mobile/tablet where the
   overlay menu + hamburger take over). */
.header__nav { display: none; }
.header__nav ul { display: flex; align-items: center; gap: 26px; }
.header__nav a {
  position: relative; display: inline-block; padding: 6px 0;
  font-family: var(--font-body); font-weight: 500; font-size: 0.76rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-cream);
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--color-gold); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.header__nav a:hover::after, .header__nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.header__nav a:hover, .header__nav a.is-current { color: var(--color-gold-soft); }

.menu-toggle {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px;
}
.menu-toggle__line { display: block; width: 26px; height: 1.5px; background: var(--color-cream);
  transition: transform .35s var(--ease-out), opacity .3s; }
.menu-toggle__line:nth-child(2) { margin-top: -7px; }  /* overlap set below via flex column */
.menu-toggle { position: relative; }
.menu-toggle__line { position: relative; }
.menu-toggle__label { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-cream); }
/* two lines stacked */
.menu-toggle { flex-direction: row; }
.menu-toggle__line { position: absolute; left: 4px; }
.menu-toggle { width: auto; padding-left: 34px; }
.menu-toggle__line:nth-child(1) { top: 18px; }
.menu-toggle__line:nth-child(2) { top: 25px; margin-top: 0; }
.menu-toggle.is-open .menu-toggle__line:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle.is-open .menu-toggle__line:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.overlay-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--color-bg-primary);
  display: flex; flex-direction: column; justify-content: center;
  padding: 90px var(--pad-x) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-out);
  pointer-events: none;
}
.overlay-menu.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.overlay-menu[hidden] { display: none; }
.overlay-menu__nav ul { display: flex; flex-direction: column; gap: 4px; }
.overlay-menu__nav a {
  display: inline-flex; align-items: baseline; gap: 14px;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2rem, 11vw, 3rem); line-height: 1.25; color: var(--color-cream);
  opacity: 0; transform: translateY(20px);
}
.overlay-menu.is-open .overlay-menu__nav a { opacity: 1; transform: none;
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: calc(0.12s + var(--i,0) * 0.05s); }
.overlay-menu__index { font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.1em;
  color: var(--color-gold); transform: translateY(-0.4em); }
.overlay-menu__nav a:hover { color: var(--color-gold-soft); }
.overlay-menu__foot {
  margin-top: 44px; display: grid; gap: 22px;
  border-top: 1px solid var(--color-hairline); padding-top: 24px;
}
.overlay-menu__foot p { font-size: 0.82rem; color: var(--color-cream-dim); line-height: 1.5; }
.overlay-menu__foot .eyebrow { margin-bottom: 8px; }
.overlay-menu__phone { display: inline-block; margin-top: 6px; color: var(--color-gold); font-weight: 500; }

/* ---------------------------------------------------------------------------
   10. HERO
   --------------------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  overflow: hidden; }
/* Full-bleed parallax media: the img + scrim are over-sized and centred so the
   scroll-driven translate never exposes an edge (see .hero/.break/.cta below). */
.hero__media, .break__media, .cta__media {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; will-change: transform;
}
.hero__img, .hero__video, .break__media img, .cta__media img,
.hero__scrim, .break__scrim, .cta__scrim {
  position: absolute; top: -16%; left: 0; width: 100%; height: 132%;
}
.hero__img, .hero__video, .break__media img, .cta__media img { object-fit: cover; object-position: center; }
/* Hero banner (mobile / tablet, < 1024px): fill the full-height immersive hero
   with a cover crop so there is no letterbox band. object-position is biased so
   the towers stay in frame after the horizontal flip; content sits over the
   lower scrim. Desktop (>= 1024px) re-boxes the media to the image ratio below. */
.hero__img {
  top: 0; height: 100%;
  object-fit: cover; object-position: 30% center;
  transform: scaleX(-1);
}
.hero__scrim {
  background: linear-gradient(180deg, rgba(10,15,28,0.55) 0%, rgba(10,15,28,0.15) 40%, rgba(10,15,28,0.9) 100%);
}
.hero__content {
  position: relative; z-index: 2; width: 100%; max-width: var(--maxw);
  margin: 0 auto; padding: 0 var(--pad-x) 108px;
}
.hero__eyebrow { margin-bottom: 20px; color: var(--color-gold-soft); }
.hero__title {
  font-size: clamp(2.25rem, 11vw, 3.5rem); line-height: 0.98; max-width: 15ch;
  color: var(--color-cream);
}
.hero__sub { margin-top: 20px; font-size: 1rem; color: var(--color-cream-dim);
  letter-spacing: 0.02em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__cta .btn { flex: 1 1 auto; min-width: 44%; }
/* Larger hero CTA pill (disc + label scale together via --pill-disc). */
.hero__cta .pill {
  --pill-disc: 58px;
  padding: 9px 9px 9px 40px; gap: 28px;
  font-size: 1rem; letter-spacing: 0.07em;
}
.hero__cta .pill .pill__arrow { width: 24px; height: 24px; }


/* ---------------------------------------------------------------------------
   11. STATEMENT
   --------------------------------------------------------------------------- */
.statement {
  position: relative; isolation: isolate;
  padding: clamp(36px, 4.4vw, 58px) var(--pad-x);
  display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
  background-image: url("assets/img/img11.jpg");
  /* Zoom the grid pattern in so the columns read boldly - premium, not fine. */
  background-size: 240% auto; background-position: center;
}
/* Flat scrim to seat the type on the grid - no top/bottom fade gradient. */
.statement::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: rgba(10,15,28,0.28);
}
/* Soft sunrise glow behind the statement - echoes the Aamod sunburst. */
.statement__glow {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: min(1000px, 96%); height: min(620px, 84%); z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(201,162,75,0.16), rgba(201,162,75,0.05) 42%, transparent 70%);
}
.statement__kicker {
  font-family: var(--font-body); font-weight: 500;
  font-size: 0.72rem; letter-spacing: 0.44em; text-transform: uppercase;
  color: var(--color-gold-soft); padding-left: 0.44em;
}
.statement__text {
  font-size: clamp(2.4rem, 9vw, 3.4rem); line-height: 1.05; max-width: 16ch;
  text-wrap: balance; color: var(--color-cream);
}
.statement__text .accent {
  font-size: 1.08em; color: var(--color-gold-soft);
  text-shadow: 0 0 34px rgba(201,162,75,0.22), 0 0 80px rgba(201,162,75,0.12);
}
/* Ornamental divider: brand sunburst flanked by fading gold hairlines. */
.statement__flourish {
  display: flex; align-items: center; justify-content: center;
  gap: 22px; width: min(340px, 74%); margin-top: 6px;
}
.statement__flourish-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,75,0.5));
}
.statement__flourish-line:last-child {
  background: linear-gradient(90deg, rgba(201,162,75,0.5), transparent);
}
.statement__flourish-mark { flex: none; width: 50px; height: 27px; color: var(--color-gold); }

/* ---------------------------------------------------------------------------
   12. ABOUT
   --------------------------------------------------------------------------- */
/* QUOTE BAND - full-bleed gold-foil background with an oversized editorial
   statement in dark ink (gold stays dominant; dark text keeps contrast). */
.quote-band { position: relative; overflow: hidden; isolation: isolate; background: #C9A24B; }
.quote-band__bg { position: absolute; inset: 0; z-index: 0; }
.quote-band__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.04); }
/* subtle depth only: soft sheen top-left + gentle vignette so the gold reads rich, not flat */
.quote-band__scrim { position: absolute; inset: 0;
  background:
    radial-gradient(120% 130% at 16% 24%, rgba(255,252,238,0.30), transparent 52%),
    radial-gradient(120% 130% at 100% 100%, rgba(90,64,12,0.30), transparent 55%),
    linear-gradient(180deg, rgba(60,44,8,0.06), rgba(60,44,8,0.14)); }
.quote-band__inner { position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(52px, 7vw, 96px) var(--pad-x);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; }
.quote-band__kicker { display: inline-block; font-family: var(--font-body); font-weight: 500;
  font-size: clamp(0.66rem, 1vw, 0.78rem); letter-spacing: 0.28em; text-transform: uppercase;
  color: #5A4210; margin-bottom: clamp(14px, 1.2vw, 18px); }
.quote-band__text { font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.28; letter-spacing: -0.01em;
  color: #1A1508; max-width: 62ch; margin: 0 auto;
  text-shadow: 0 1px 0 rgba(255,250,230,0.28); }
.quote-band__text .accent { font-style: normal; font-weight: 500; color: #0B0A04; }
/* letter-by-letter scroll reveal units */
.quote-band__text .q-word { display: inline-block; white-space: nowrap; }
.quote-band__text .q-ltr { display: inline-block; will-change: opacity; }

/* ABOUT - oversized headline (left) + sweeping rounded info panel (right),
   after the vorszk composition, in Aamod's dark palette. */
.about { position: relative; overflow: hidden;
  padding: var(--section-y) var(--pad-x);
  background: var(--color-bg-secondary); }
.about__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.about__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.16; }
.about__bg-scrim { position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 85% 20%, rgba(201,162,75,0.10), transparent 55%),
    linear-gradient(180deg, rgba(10,15,28,0.86), rgba(16,25,43,0.94)); }

.about__grid { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; }

/* [data-split] raises specificity above the generic h2[data-split] desktop rule
   so this heading holds a 64px cap and wraps to two balanced lines. */
.about__display[data-split] { font-size: clamp(1.6rem, 6.4vw, 64px); line-height: 1.14;
  letter-spacing: -0.01em; max-width: 22ch; text-wrap: balance; }
.about__display .accent { font-style: normal; }

.about__marker { display: flex; align-items: baseline; gap: 14px;
  margin-top: 30px; font-size: 1.02rem; color: var(--color-cream-dim); max-width: 40ch; }
.about__marker-sq { flex: 0 0 auto; width: 9px; height: 9px; margin-top: 2px;
  background: var(--color-gold); border-radius: 1px; }

/* Framed hero image in the left column - echoes the panel's sweeping corner. */
.about__figure {
  position: relative; margin-top: 40px; overflow: hidden;
  aspect-ratio: 16 / 11; border-radius: 24px 24px 24px 96px;
  background: var(--color-bg-secondary);
  border: 1px solid rgba(201,162,75,0.22);
  box-shadow: 0 34px 80px -34px rgba(0,0,0,0.75);
}
.about__figure img { width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.02); }
/* Soft gold vignette from the top-right (brand light source) only - no bottom fade,
   so the image keeps a crisp, finished bottom edge instead of dissolving into the
   navy section background. */
.about__figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 88% 6%, rgba(201,162,75,0.16), transparent 46%);
}
.about__figure-glow { position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(244,239,230,0.10); border-radius: inherit; }
.about__figure-cap {
  position: absolute; left: 26px; bottom: 22px; z-index: 1;
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-body); font-weight: 500; font-size: 0.8rem;
  letter-spacing: 0.02em; color: var(--color-cream);
  text-shadow: 0 1px 14px rgba(0,0,0,0.55);
}
.about__figure-dot { flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-gold-soft); box-shadow: 0 0 12px 2px rgba(201,162,75,0.6); }

/* Sweeping rounded-corner panel (big corner top-right) + gold accent dot. */
.about__panel { position: relative; margin-top: 44px;
  padding: 44px 30px 34px;
  border: 1px solid var(--color-hairline);
  border-radius: 20px 96px 20px 20px;
  background: rgba(244,239,230,0.03); }
.about__dot { position: absolute; top: 20px; right: 20px; left: auto;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--color-gold-soft); box-shadow: 0 0 16px 2px rgba(201,162,75,0.6); }
/* Softer, less pronounced corners on mobile - the big sweeping corner reads too
   heavy on a narrow screen, so trim it (desktop keeps its larger radii). */
@media (max-width: 767px) {
  .about__figure { border-radius: 14px 14px 14px 40px; }
  .about__panel { border-radius: 14px 40px 14px 14px; }
}
.about__panel-eyebrow { margin-bottom: 14px; }
.about__panel-lede { font-family: var(--font-display); font-weight: 300; font-size: 1.06rem; color: var(--color-cream); margin-bottom: 12px; }
.about__panel-text { color: var(--color-cream-dim); margin-bottom: 20px; }
.about__panel-text em, .about__panel-lede em { font-style: normal; color: var(--color-cream); }

/* Key specifications grid (icon + label + value), sourced from the brochure. */
.about__specs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px 24px; margin-bottom: 22px;
  padding-top: 20px; border-top: 1px solid var(--color-hairline);
}
.about__spec { display: flex; align-items: center; gap: 13px; }
.about__spec-ic {
  flex: none; width: 42px; height: 42px; color: var(--color-gold);
  display: flex; align-items: center; justify-content: center;
  padding: 10px; border-radius: 12px;
  background: rgba(201,162,75,0.08);
  box-shadow: inset 0 0 0 1px rgba(201,162,75,0.16);
}
.about__spec-ic svg { width: 100%; height: 100%; display: block; }
.about__spec-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.about__spec-label {
  font-family: var(--font-body); font-weight: 500; font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-cream-dim);
}
.about__spec-value {
  font-family: var(--font-display); font-weight: 400; font-size: 1.02rem;
  line-height: 1.15; color: var(--color-cream);
}

.pullquote { font-family: var(--font-display); font-weight: 300; line-height: 1.12; }
.pullquote--inline { font-size: clamp(1.5rem, 6.5vw, 2rem); margin-top: 10px; max-width: 22ch; }

/* ---------------------------------------------------------------------------
   TRUST BAR - at-a-glance credentials just below the hero. Animated gold
   count-up numbers, hairline rules, RERA badge. Premium + responsive.
   --------------------------------------------------------------------------- */
.trust { position: relative; overflow: hidden;
  padding: clamp(36px, 5vw, 58px) var(--pad-x);
  background:
    linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 55%, var(--color-bg-primary) 100%); }
.trust__glow { position: absolute; z-index: 0; top: -30%; left: 50%; transform: translateX(-50%);
  width: min(880px, 90%); height: 320px; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 50%, rgba(201,162,75,0.14), transparent 70%);
  filter: blur(6px); }
.trust__inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; text-align: center; }

.trust__head { margin-bottom: clamp(18px, 3vw, 30px); }
.trust__head .eyebrow { justify-content: center; }
.trust__title { font-size: clamp(1.5rem, 4.2vw, 2.4rem); line-height: 1.12; margin-top: 12px;
  max-width: none; margin-inline: auto; }

/* hairline rules that bracket the number row, with a gold glint at centre */
.trust__rule { display: block; height: 1px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--color-hairline) 18%, var(--color-hairline) 82%, transparent);
  position: relative; }
.trust__rule::after { content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0.7; }

.trust__grid { display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 10px) 0; padding: clamp(20px, 3vw, 30px) 0; }
.trust-stat { position: relative; display: flex; flex-direction: column; align-items: center;
  padding: 4px clamp(12px, 3vw, 28px); }
/* staggered reveal (beats the global [data-reveal] rule so --i delay applies) */
html.js .trust-stat[data-reveal] { opacity: 0; transform: translateY(22px); }
html.js .trust-stat[data-reveal].is-in { opacity: 1; transform: none;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 0.09s); }
/* vertical divider between the two columns; extra dividers appear at ≥768px */
.trust-stat:nth-child(odd) { border-right: 1px solid var(--color-hairline); }
.trust-stat__num { font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.6rem, 9vw, 4.1rem); line-height: 1; letter-spacing: -0.01em;
  color: var(--color-gold); font-variant-numeric: tabular-nums;
  text-shadow: 0 0 40px rgba(201,162,75,0.22); }
.trust-stat__label { margin-top: 14px; font-size: clamp(0.66rem, 1.6vw, 0.76rem);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-cream-dim); max-width: 16ch; }

/* footer credentials row */
.trust__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 12px 18px; margin-top: clamp(30px, 4vw, 44px); }
.trust__badge { display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(201,162,75,0.4);
  background: rgba(201,162,75,0.06); color: var(--color-gold-soft);
  font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; }
.trust__badge-ic { width: 18px; height: 18px; }
.trust__meta { font-size: 0.76rem; letter-spacing: 0.08em; color: var(--color-cream-dim);
  text-transform: uppercase; }
.trust__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--color-gold);
  opacity: 0.55; }

/* ---------------------------------------------------------------------------
   13. FULL-BLEED BREAK
   --------------------------------------------------------------------------- */
/* Visual break: show the FULL image uncropped - the image defines the section
   height (no fixed svh, no cover crop, no letterbox bars), text centred over it. */
.break { position: relative; display: block; min-height: 0; overflow: hidden; }
.break__media { position: relative; inset: auto; height: auto; transform: none !important; }
.break__media img { position: relative; top: 0; left: 0; width: 100%; height: auto;
  object-fit: unset; display: block; }
/* Cinematic grade: soft vignette + top/bottom blends + a directional darkening
   toward the caption corner so the plaque reads as intentional, not a mask. */
.break__scrim { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  background:
    linear-gradient(118deg, rgba(10,15,28,0) 42%, rgba(10,15,28,0.28) 74%, rgba(10,15,28,0.60) 100%),
    linear-gradient(0deg, rgba(10,15,28,0.42) 0%, rgba(10,15,28,0) 44%),
    linear-gradient(180deg, rgba(10,15,28,0.32) 0%, rgba(10,15,28,0) 22%),
    radial-gradient(150% 130% at 50% 38%, rgba(10,15,28,0) 52%, rgba(10,15,28,0.44) 100%); }
/* Fine film grain for an editorial, printed-lookbook texture. */
.break__grain { position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 180px 180px; }

/* Frosted-glass caption plaque anchored to the top-right of the image. */
.break__panel { position: absolute; z-index: 3; margin: 0;
  right: clamp(16px, 4vw, 64px); bottom: clamp(14px, 2.6vw, 34px);
  max-width: min(92vw, 36rem);
  padding: clamp(16px, 2vw, 24px) clamp(26px, 3.2vw, 46px);
  background: linear-gradient(158deg, rgba(20,27,44,0.52) 0%, rgba(8,12,22,0.62) 100%);
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
  border: 1px solid rgba(232,217,174,0.16); border-radius: 20px;
  box-shadow: 0 44px 90px -44px rgba(0,0,0,0.9),
              inset 0 1px 0 rgba(255,255,255,0.07); }
/* faint gold light-catch along the top edge */
.break__panel::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 1px;
  background: linear-gradient(90deg, rgba(232,217,174,0), rgba(232,217,174,0.5), rgba(232,217,174,0));
  border-radius: 1px; }

.break__kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 clamp(10px, 1.3vw, 14px);
  font-family: var(--font-body); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-gold-soft); }
.break__mark { flex: none; width: 26px; color: var(--color-gold); }
.break__mark svg { width: 100%; height: auto; display: block; fill: currentColor; }
.break__kicker-text { line-height: 1; padding-top: 1px; }
.break__rule { display: block; width: 44px; height: 1px; margin: 0 0 clamp(10px, 1.4vw, 14px);
  background: linear-gradient(90deg, rgba(201,162,75,0.9), rgba(201,162,75,0)); }

.break__text { position: static; margin: 0; width: auto; padding: 0; text-align: left;
  font-size: clamp(1.1rem, 2.3vw, 1.55rem); line-height: 1.2; letter-spacing: 0.002em;
  text-shadow: 0 2px 22px rgba(10,15,28,0.5); }
.break__text .accent.break__line { text-wrap: balance; }
/* Force the two logical lines to stack, left-aligned (works with or without the split script). */
.break__text .r-word,
.break__text .break__line { display: block; }
/* Whole statement in gold + italic (overrides the global upright-emphasis rule). */
.break__text,
.break__text .accent,
.break__text em,
.break__text .r-inner { color: var(--color-gold-soft); font-style: italic; }
.break__text .accent,
.break__text .accent .r-inner { color: var(--color-gold); }

/* Mobile only: smaller caption plaque anchored top-right (the base rules above
   keep the original larger, bottom-right plaque for tablet/desktop). */
@media (max-width: 767.98px) {
  .break__panel {
    right: clamp(14px, 3vw, 40px); top: clamp(14px, 2.6vw, 34px); bottom: auto;
    max-width: min(72vw, 22rem);
    padding: clamp(12px, 1.4vw, 18px) clamp(16px, 2vw, 26px);
  }
  .break__kicker { gap: 9px; margin-bottom: clamp(8px, 1vw, 11px);
    font-size: 0.52rem; letter-spacing: 0.22em; }
  .break__mark { width: 20px; }
  .break__rule { width: 32px; margin-bottom: clamp(8px, 1vw, 11px); }
  .break__text { font-size: clamp(0.85rem, 1.5vw, 1.08rem); line-height: 1.22; }
}

/* ---------------------------------------------------------------------------
   14. LIGHT SECTIONS (base)
   --------------------------------------------------------------------------- */
.section--light { background: var(--color-cream); color: var(--color-charcoal); }
.section--light .eyebrow { color: var(--color-ink-soft); }
.section--light .accent { color: var(--color-gold-deep); }
.section--light .display { color: var(--color-charcoal); }

/* ---------------------------------------------------------------------------
   14b. GROUP COMPANIES
   --------------------------------------------------------------------------- */
/* Compact: centred heading + a right-to-left infinite marquee of companies. */
.group { padding: clamp(40px, 6vw, 68px) 0; overflow: hidden; }
.group__head { text-align: center; padding: 0 var(--pad-x); margin-bottom: clamp(26px, 4vw, 42px); }
.group__head .eyebrow { display: inline-block; }
.group__title { font-size: clamp(1.6rem, 5vw, 2.6rem); line-height: 1.1; margin-top: 12px;
  max-width: none; margin-inline: auto; text-wrap: nowrap; }

.marquee {
  position: relative; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: groupMarquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; flex: none; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 13px; white-space: nowrap;
  padding: 0 clamp(28px, 4vw, 54px);
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.05rem, 2.3vw, 1.45rem); color: var(--color-charcoal);
}
.marquee__ic { flex: none; width: clamp(26px, 4vw, 32px); height: clamp(26px, 4vw, 32px); color: var(--color-gold-deep); }
.marquee__ic svg { width: 100%; height: 100%; display: block; }
@keyframes groupMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; row-gap: 18px; }
  .marquee__set:last-child { display: none; }
}

/* Shared: padded section heading block (used by several sections). */
.section__head--pad { max-width: var(--maxw); margin: 0 auto 34px; }

/* ---------------------------------------------------------------------------
   15. AMENITIES - vertical scroll-stacked cards (vorszk-style).
   Cards are position:sticky and stack on top of one another as you scroll;
   the covered card scales down + dims (JS/GSAP). Pure-CSS sticky is the base,
   so it works without JS and degrades cleanly under reduced motion.
   --------------------------------------------------------------------------- */
.amenities { padding: var(--section-y) 0 0; }
.amenities__intro { margin-bottom: 26px; }

.amenities__stack { position: relative; max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--pad-x) clamp(20px, 2.5vw, 32px); }

/* card */
.stack-card { position: sticky; top: calc(84px + var(--i, 0) * 20px);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(201,162,75,0.09) 0%, rgba(201,162,75,0) 42%),
    linear-gradient(158deg, #14203a 0%, var(--color-bg-secondary) 46%, #0d1526 100%);
  border: 1px solid var(--color-hairline);
  border-radius: 22px; padding: 40px 20px 20px;
  margin-bottom: 18px; overflow: hidden;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.4),
    0 8px 16px -4px rgba(0,0,0,0.55),
    0 22px 40px -12px rgba(0,0,0,0.7),
    0 44px 80px -24px rgba(0,0,0,0.85),
    inset 0 1px 0 rgba(255,255,255,0.05);
  transform-origin: center top; will-change: transform;
  transition: box-shadow .6s var(--ease-out), border-color .6s var(--ease-out); }
/* hairline gradient rim + soft top sheen, revealed richer on hover */
.stack-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; pointer-events: none; z-index: 3;
  background: linear-gradient(150deg, rgba(232,217,174,0.5), rgba(244,239,230,0.05) 30%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.5; transition: opacity .6s var(--ease-out); }
.stack-card:hover { border-color: rgba(201,162,75,0.32);
  box-shadow: 0 -10px 40px -20px rgba(0,0,0,0.6),
              0 40px 90px -50px rgba(0,0,0,0.9),
              0 0 0 1px rgba(201,162,75,0.06); }
.stack-card:hover::before { opacity: 1; }

/* Scroll-driven stacking (à la scroll-driven-animations.style stacking-cards).
   Each card recedes by one uniform step (0.04) as the NEXT card rises to cover
   it - driven by that next card's own view-timeline, so the timing is identical
   for every card in the stack (the container-wide "exit-crossing" timeline used
   to settle the last cards off-screen, which read as non-uniform). The final
   resting scales are a clean cumulative deck: 0.84 / 0.88 / 0.92 / 0.96 / 1.00.
   Pure CSS on supporting browsers; GSAP tilt/dim (script.js) is the fallback. */
@supports (animation-timeline: view()) {
  @media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
    /* hoist each card's timeline so its previous sibling can reference it */
    .amenities__stack { timeline-scope: --stk1, --stk2, --stk3, --stk4, --stk5; }
    .stack-card { view-timeline-axis: block; }
    .stack-card:nth-child(1) { view-timeline-name: --stk1; }
    .stack-card:nth-child(2) { view-timeline-name: --stk2; }
    .stack-card:nth-child(3) { view-timeline-name: --stk3; }
    .stack-card:nth-child(4) { view-timeline-name: --stk4; }
    .stack-card:nth-child(5) { view-timeline-name: --stk5; }

    /* Each card scales to its final deck depth while the next card crosses up
       over it. Range tuned so the recede completes just as the next card pins. */
    .stack-card:nth-child(1) { --deck-scale: 0.84; animation: card-recede linear forwards;
      animation-timeline: --stk2; animation-range: entry 40% entry 90%; }
    .stack-card:nth-child(2) { --deck-scale: 0.88; animation: card-recede linear forwards;
      animation-timeline: --stk3; animation-range: entry 40% entry 90%; }
    .stack-card:nth-child(3) { --deck-scale: 0.92; animation: card-recede linear forwards;
      animation-timeline: --stk4; animation-range: entry 40% entry 90%; }
    .stack-card:nth-child(4) { --deck-scale: 0.96; animation: card-recede linear forwards;
      animation-timeline: --stk5; animation-range: entry 40% entry 90%; }
    /* the 5th card is the front of the deck - it never recedes */
  }
}
@keyframes card-recede {
  to { transform: scale(var(--deck-scale, 1)); }
}

.stack-card__top { position: relative; z-index: 2;
  display: grid; grid-template-columns: auto 1fr; align-items: start;
  column-gap: clamp(14px, 3vw, 34px); }
/* grid children must be allowed to shrink below content size (prevents the
   media image's intrinsic width from overflowing the card on mobile) */
.stack-card__top > *, .stack-card__panel > * { min-width: 0; }
.stack-card__no { font-family: var(--font-display); font-weight: 300;
  font-size: clamp(0.9rem, 2vw, 1.05rem); color: var(--color-gold);
  padding-top: 1em; letter-spacing: 0.12em; font-variant-numeric: tabular-nums;
  position: relative; }
.stack-card__no::after { content: ""; position: absolute; left: 0.1em; top: 2.5em;
  width: 1.6em; height: 1px; background: linear-gradient(90deg, var(--color-gold), transparent);
  opacity: 0.6; transform: scaleX(0.4); transform-origin: left;
  transition: transform .5s var(--ease-out), opacity .5s var(--ease-out); }
.stack-card:hover .stack-card__no::after { transform: scaleX(1); opacity: 1; }
.stack-card__title { font-size: clamp(1.9rem, 5.2vw, 3.3rem); line-height: 1;
  letter-spacing: -0.02em; color: var(--color-cream); }

/* below the heading: two separate containers, split by a 20px gap -
   the copy lives in its own glass card (left); the image gets its own
   standalone container (right), stretched to the card's full height. */
.stack-card__panel { position: relative; z-index: 2; margin-top: 20px;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: stretch; }
/* the copy's own glass card */
.stack-card__info { padding: clamp(22px, 4.5vw, 40px);
  background: linear-gradient(150deg, rgba(244,239,230,0.05), rgba(244,239,230,0.015));
  border: 1px solid var(--color-hairline); border-radius: 18px; }
.stack-card__quote { font-size: clamp(1.35rem, 3.6vw, 2rem); line-height: 1.1;
  margin-bottom: 14px; max-width: 20ch; color: var(--color-cream); text-wrap: balance; }
.stack-card__quote .accent { font-style: normal; color: var(--color-gold-soft);
  text-shadow: 0 0 30px rgba(201,162,75,0.35); }
/* supporting body copy beneath each amenity heading (content drawn from the brochure) */
.stack-card__body { max-width: 48ch; margin-bottom: 18px; color: var(--color-cream-dim);
  font-family: var(--font-body); font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.58; letter-spacing: 0.002em; }
/* condensed copy variant - only used on phones (see mobile block) */
.stack-card__body--sm { display: none; }
.stack-card__cta { margin-top: 18px; }
/* the image's own standalone container */
.stack-card__media { position: relative; overflow: hidden; border-radius: 18px;
  border: 1px solid var(--color-hairline); }
/* bottom scrim for depth */
.stack-card__media::before { content: ""; position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(10,15,28,0.35), transparent 38%); }
/* diagonal shine sweep on hover */
.stack-card__media::after { content: ""; position: absolute; top: -60%; left: -75%;
  width: 55%; height: 220%; z-index: 3; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,244,214,0.28), transparent);
  transform: rotate(8deg) translateX(0); opacity: 0;
  transition: transform 1s var(--ease-out), opacity .5s var(--ease-out); }
.stack-card:hover .stack-card__media::after { opacity: 1; transform: rotate(8deg) translateX(320%); }
.stack-card__media img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover;
  transition: transform 1.4s var(--ease-out); }
.stack-card:hover .stack-card__media img { transform: scale(1.06); }


.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chips li { font-size: 0.72rem; letter-spacing: 0.05em; padding: 9px 15px;
  border: 1px solid var(--color-hairline); border-radius: 40px; color: var(--color-cream-dim);
  transition: background .35s var(--ease-out), color .35s var(--ease-out),
              border-color .35s var(--ease-out), transform .35s var(--ease-out); }
.chips li:hover { background: var(--color-gold); color: var(--color-bg-primary);
  border-color: var(--color-gold); transform: translateY(-2px); }
.chips--dark li { border-color: var(--color-hairline); }

/* Scroll-progress bar (shown only on the desktop pinned view) */
.amenities__scrollbar { display: none; }

/* ---------------------------------------------------------------------------
   17. MASTER LAYOUT
   --------------------------------------------------------------------------- */
.master { padding: var(--section-y) var(--pad-x); background: var(--color-bg-secondary); }
.master__grid { max-width: var(--maxw); margin: 0 auto; }
.master__media { overflow: hidden; border-radius: 2px; margin-bottom: 30px; background: var(--color-cream); }
.master__media img { width: 100%; object-fit: contain; }
.master__info h2 { font-size: clamp(1.8rem, 8vw, 2.4rem); margin: 12px 0 24px; }
.master__stat { margin-bottom: 24px; }
.master__stat-num { display: block; font-family: var(--font-display); font-weight: 300; font-size: 2.2rem; color: var(--color-gold); }
.master__stat-label { display: block; font-size: 0.9rem; color: var(--color-cream-dim); margin-top: 8px; max-width: 44ch; }
.master__towers { display: grid; gap: 10px; margin-bottom: 26px; }
.master__towers li { padding-bottom: 10px; border-bottom: 1px solid var(--color-hairline); font-size: 0.95rem; color: var(--color-cream-dim); }
.master__towers strong { color: var(--color-cream); font-weight: 500; }
.master__club .eyebrow { display: block; margin-bottom: 12px; }

/* ---------------------------------------------------------------------------
   18. RESIDENCES / TABS / TABLES
   --------------------------------------------------------------------------- */
/* Closing pad kept close to the section's own top rhythm so the space below the
   note/CTA row stays balanced instead of the oversized var(--section-y) gap. */
.residences { padding: clamp(32px, 5vw, 72px) 0 clamp(44px, 5vw, 88px); position: relative; }
/* Soft sunrise glow anchoring the section behind the plate. */
.residences::before { content: ""; position: absolute; left: 50%; top: 36%;
  width: min(760px, 82vw); height: min(760px, 82vw); transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201,162,75,0.10), rgba(201,162,75,0) 62%);
  pointer-events: none; z-index: 0; }
.tabs { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); position: relative; z-index: 1; }

.tabs__nav { display: flex; gap: 12px; overflow-x: auto; margin-bottom: 34px;
  padding: 6px 2px; scrollbar-width: none; }
.tabs__nav::-webkit-scrollbar { display: none; }
.tabs__btn { flex: 0 0 auto; min-height: 46px; padding: 12px 26px; position: relative;
  font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-cream-dim);
  white-space: nowrap; border: 1px solid var(--color-hairline); border-radius: 999px;
  background: rgba(244,239,230,0.015);
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out),
    background-color .35s var(--ease-out), box-shadow .35s var(--ease-out), transform .35s var(--ease-out); }
.tabs__btn:hover { color: var(--color-cream); border-color: rgba(201,162,75,0.55); transform: translateY(-1px); }
.tabs__btn.is-active { color: #1B1403; font-weight: 600; border-color: var(--color-gold);
  background: linear-gradient(180deg, var(--color-gold-soft), var(--color-gold));
  box-shadow: 0 10px 26px -12px rgba(201,162,75,0.6); }
.tabs__panel[hidden] { display: none; }
.tabs__panel { animation: fpFade .5s var(--ease-out) both; }
@keyframes fpFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Mobile: lay the four tower pills out as a compact 2 x 2 grid instead of a
   scroll row - shorter pills, tighter gap, less space below. */
@media (max-width: 767px) {
  .tabs__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px; overflow: visible; margin-bottom: 20px; }
  .tabs__btn { flex: none; min-height: 40px; padding: 7px 6px; text-align: center;
    font-size: 0.7rem; letter-spacing: 0.02em; white-space: nowrap; }
}

/* --- Blueprint plate: frames the floating isometric render --- */
.tabs__media { position: relative; overflow: hidden; margin-bottom: 26px;
  padding: clamp(14px, 3vw, 30px); border-radius: 18px;
  border: 1px solid rgba(201,162,75,0.24);
  background:
    linear-gradient(160deg, rgba(244,239,230,0.05), rgba(244,239,230,0.008)),
    var(--color-bg-secondary);
  box-shadow: 0 40px 80px -50px rgba(0,0,0,0.9), inset 0 1px 0 rgba(244,239,230,0.05); }
/* faint blueprint grid behind the render, faded at the edges */
.tabs__media::after { content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0.55;
  background-image:
    linear-gradient(rgba(244,239,230,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,239,230,0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(circle at 50% 46%, #000 38%, transparent 78%);
          mask-image: radial-gradient(circle at 50% 46%, #000 38%, transparent 78%); }
.tabs__media img { position: relative; z-index: 1; width: 100%; object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(0,0,0,0.45)); }
.tabs__plate-tag { position: absolute; z-index: 2; top: 16px; left: 16px;
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-gold-soft); padding: 5px 11px; border-radius: 999px;
  background: rgba(10,15,28,0.55); border: 1px solid rgba(201,162,75,0.3);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.tabs__data { position: relative; }
/* Floor-plan reveal toggle is a mobile-only affordance; on desktop the plan is
   always visible beside the data, so the button stays hidden. */
.tabs__toggle { display: none; }
.tabs__eyebrow { font-family: var(--font-body); font-weight: 500; font-size: 0.68rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-gold);
  margin-bottom: 10px; }
.tabs__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 3vw, 1.7rem);
  line-height: 1.1; margin-bottom: 20px; }

/* Key-facts strip above the table */
.tabs__facts { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.fact { flex: 1 1 150px; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--color-hairline); background: rgba(244,239,230,0.02); }
.fact__label { display: block; font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-cream-dim); margin-bottom: 6px; }
.fact__value { display: block; font-family: var(--font-display); font-weight: 400;
  font-size: 1.15rem; color: var(--color-cream); font-variant-numeric: tabular-nums; }
.fact__value i { font-style: normal; font-size: 0.78rem; color: var(--color-cream-dim); letter-spacing: 0.01em; }

.unit-table, .dist-table { width: 100%; border-collapse: collapse; }
.unit-table th, .unit-table td { text-align: left; padding: 15px 10px; font-size: 0.92rem;
  border-bottom: 1px solid var(--color-hairline); }
.unit-table thead th { border-bottom-color: rgba(201,162,75,0.35); }
.unit-table th { font-weight: 500; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-gold); }
.unit-table tbody tr { transition: background-color .3s var(--ease-out); }
.unit-table tbody tr:hover { background: rgba(201,162,75,0.05); }
.unit-table td { color: var(--color-cream-dim); }
.unit-table td:first-child { color: var(--color-cream); font-weight: 500; font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em; }
.unit-table td:last-child, .dist-table td:last-child { font-variant-numeric: tabular-nums;
  color: var(--color-cream); }

/* Footer: note + CTA composed together */
.residences__foot { max-width: var(--maxw); margin: 40px auto 0; padding: 0 var(--pad-x);
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 26px; }
/* Desktop: tighten the gap between the floor-plan panels and the note/CTA row. */
@media (min-width: 1024px) { .residences__foot { margin-top: 20px; } }
.residences__note { display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.82rem; color: var(--color-cream-dim); line-height: 1.65; max-width: 68ch; }
/* Same note, seated inside the expandable unit-details card - MOBILE ONLY.
   On desktop the note lives in the footer row instead (see mobile block). */
.tabs__note { display: none; margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--color-hairline); }
.residences__note-ic { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--color-gold); }
.residences__note-ic svg { width: 100%; height: 100%; display: block; }
.residences__cta { flex: none; }
/* Forced line break in the footer note after "All units" - desktop only. */
.foot-br { display: none; }
@media (min-width: 1024px) { .foot-br { display: inline; } }

@media (prefers-reduced-motion: reduce) {
  .tabs__panel { animation: none; }
  .tabs__btn:hover { transform: none; }
}

/* ---------------------------------------------------------------------------
   19. LOCATION (light) + ACCORDION + MAP
   --------------------------------------------------------------------------- */
.location { padding: clamp(26px, 3.2vw, 42px) 0; }
.location .section__head { margin-bottom: clamp(14px, 2vw, 22px); }
.location .section__head h2 { max-width: none; }
.location .section__head h2 .accent { white-space: nowrap; }
.location__grid { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x);
  display: grid; gap: 30px; }
.location__map { }
.map-placeholder {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; text-align: center; margin: 0; padding: 0; border-radius: 22px; overflow: hidden;
  /* Transparent panel with a subtle grid that shows through behind the map. */
  background:
    repeating-linear-gradient(0deg, rgba(26,26,26,0.05) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(26,26,26,0.05) 0 1px, transparent 1px 26px);
  border: 1px solid rgba(26,26,26,0.08);
  box-shadow: 0 1px 1px rgba(255,255,255,0.9) inset, 0 30px 60px -40px rgba(46,38,24,0.5);
}
/* Full map - shown uncropped at its natural aspect ratio. */
.map-placeholder__img { display: block; width: 100%; height: auto; border-radius: inherit; }
/* Soft vignette so the corner location chip stays legible over any map detail. */
.map-placeholder__scrim { position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(to top, rgba(20,17,11,0.42) 0%, rgba(20,17,11,0.08) 22%, transparent 42%); }
/* Floating "you are here" chip, bottom-left. */
.map-placeholder__chip { position: absolute; left: 18px; bottom: 18px; z-index: 2;
  display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px;
  border-radius: 100px; background: rgba(20,17,11,0.55);
  border: 1px solid rgba(232,217,174,0.28);
  box-shadow: 0 12px 30px -14px rgba(0,0,0,0.7);
  -webkit-backdrop-filter: blur(10px) saturate(1.1); backdrop-filter: blur(10px) saturate(1.1); }
.map-placeholder__pin { flex: none; display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; color: var(--color-bg-primary); background: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(201,162,75,0.22); }
.map-placeholder__pin svg { width: 17px; height: 17px; }
.map-placeholder__chip-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.map-placeholder__chip-text strong { font-family: var(--font-display); font-weight: 400;
  font-size: 0.98rem; letter-spacing: 0.01em; color: var(--color-cream); }
.map-placeholder__chip-text span { font-family: var(--font-body); font-size: 0.64rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-gold-soft); }

.accordion { border-top: 1px solid var(--color-hairline-dk); }
.location__lists .accordion:last-child, .faq__list .accordion:last-child { border-bottom: 1px solid var(--color-hairline-dk); }
.accordion__head { width: 100%; display: flex; align-items: center; justify-content: space-between;
  min-height: 58px; padding: 8px 0; font-family: var(--font-display); font-weight: 400; font-size: 1.1rem;
  text-align: left; color: var(--color-charcoal); }
.accordion__icon { position: relative; width: 16px; height: 16px; flex: none; }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; background: var(--color-gold-deep);
  transition: transform .3s var(--ease-out); }
.accordion__icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; margin-top: -0.75px; }
.accordion__icon::after { left: 50%; top: 0; height: 100%; width: 1.5px; margin-left: -0.75px; }
.accordion.is-open .accordion__icon::after { transform: scaleY(0); }
.accordion__body { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease-out); }
.accordion.is-open .accordion__body { max-height: 900px; }
.dist-table { margin: 4px 0 18px; }
.dist-table td { padding: 11px 4px; font-size: 0.88rem; border-bottom: 1px solid var(--color-hairline-dk); color: #43413B; }
.dist-table td:first-child { color: var(--color-charcoal); }
.dist-table td:last-child { text-align: right; color: var(--color-gold-deep); font-weight: 500; white-space: nowrap; }

/* ---- Location advantage: always-open "nearest" cards with icons ---- */
.location__lists { display: grid; gap: 16px; }
.loc-card { position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: clamp(14px, 1.5vw, 20px) clamp(20px, 2.1vw, 28px); border-radius: 20px;
  background: linear-gradient(162deg, #fdfbf7 0%, #f4eee3 100%);
  border: 1px solid rgba(26,26,26,0.07);
  box-shadow: 0 1px 1px rgba(255,255,255,0.9) inset, 0 22px 46px -36px rgba(46,38,24,0.42);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .5s var(--ease-out); }
/* gold accent bar wipes in along the top edge on hover/focus */
.loc-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--color-gold-deep), rgba(201,162,75,0.35));
  transform: scaleX(0); transform-origin: left; opacity: 0;
  transition: transform .5s var(--ease-out), opacity .5s var(--ease-out); }
.loc-card:hover { transform: translateY(-4px); border-color: rgba(154,114,35,0.28);
  box-shadow: 0 1px 1px rgba(255,255,255,0.9) inset, 0 36px 64px -36px rgba(46,38,24,0.5); }
.loc-card:hover::before, .loc-card:focus-within::before { transform: scaleX(1); opacity: 1; }

/* header: icon + badge share the top row, title sits full-width beneath so it
   never collides with the badge in the narrower 2x2 columns. Divider beneath. */
.loc-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px;
  padding-bottom: 10px; margin-bottom: 2px; border-bottom: 1px solid rgba(26,26,26,0.09); }
.loc-card__icon { order: 0; flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(150deg, rgba(201,162,75,0.16), rgba(201,162,75,0.03));
  border: 1px solid rgba(154,114,35,0.24); color: var(--color-gold-deep);
  transition: transform .5s var(--ease-out); }
.loc-card:hover .loc-card__icon { transform: scale(1.06) rotate(-3deg); }
.loc-card__icon svg { width: 21px; height: 21px; }
.loc-card__title { order: 2; flex: 0 0 100%; margin-top: 8px;
  font-family: var(--font-display); font-weight: 400;
  letter-spacing: -0.01em; font-size: clamp(1.18rem, 1.4vw, 1.4rem); line-height: 1.1;
  color: var(--color-charcoal); }
/* accordion chevron - only surfaces on mobile, where the cards collapse */
.loc-card__chev { order: 1; flex: none; display: none; place-items: center; align-self: center;
  margin-left: 10px; width: 30px; height: 30px; border-radius: 50%; color: var(--color-gold-deep);
  border: 1px solid rgba(154,114,35,0.24);
  background: linear-gradient(150deg, rgba(201,162,75,0.12), rgba(201,162,75,0.02)); }
.loc-card__chev svg { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.loc-card.is-open .loc-card__chev svg { transform: rotate(180deg); }

/* fill the card and split into three equal rows so every item - whether its
   name wraps to one line or two - occupies the same height and the spacing
   reads uniformly across all four cards. */
.loc-card__list { list-style: none; margin: 0; flex: 1; display: flex; flex-direction: column; }
.loc-card__list li { flex: 1; display: flex; align-items: center; gap: 12px; padding: 6px 0;
  border-bottom: 1px solid rgba(26,26,26,0.07); }
.loc-card__list li:last-child { border-bottom: 0; }
.loc-card__name { color: #2b2a27; font-size: 0.98rem; letter-spacing: 0.004em;
  transition: color .3s var(--ease-out), transform .3s var(--ease-out); }
.loc-card__lead { flex: 1 1 auto; align-self: stretch; }
.loc-card__dist { flex: none; font-variant-numeric: tabular-nums; color: var(--color-gold-deep);
  font-weight: 500; font-size: 0.9rem; white-space: nowrap;
  transition: transform .3s var(--ease-out); }
/* per-row snack: name nudges right, distance ticks up on hover */
.loc-card__list li:hover .loc-card__name { transform: translateX(3px); color: #1a1a1a; }
.loc-card__list li:hover .loc-card__dist { transform: scale(1.07); transform-origin: right; }

@media (prefers-reduced-motion: reduce) {
  .loc-card, .loc-card::before, .loc-card__name, .loc-card__dist { transition: none; }
  .loc-card:hover { transform: none; }
  .loc-card__list li:hover .loc-card__name,
  .loc-card__list li:hover .loc-card__dist { transform: none; }
  .loc-card__chev svg, .loc-card__list { transition: none; }
}

/* ---- Mobile: the four cards fuse into a single accordion table, its rows
   divided by hairlines. Each header row: icon · 15px gap · name · arrow far right. ---- */
@media (max-width: 767px) {
  /* one framed container instead of four floating cards */
  .location__lists { display: block; gap: 0; border-radius: 18px; overflow: hidden;
    border: 1px solid rgba(26,26,26,0.08);
    background: linear-gradient(162deg, #fdfbf7 0%, #f4eee3 100%);
    box-shadow: 0 1px 1px rgba(255,255,255,0.9) inset, 0 22px 46px -36px rgba(46,38,24,0.42); }
  /* each card is now just a table row: no own frame, hairline divider between rows */
  .loc-card { display: block; padding: 0; border: 0; border-radius: 0;
    background: none; box-shadow: none; overflow: hidden; }
  .loc-card::before { display: none; }
  .loc-card:not(:last-child) { border-bottom: 1px solid rgba(26,26,26,0.08); }

  /* single-row header: icon, 15px gap, name, arrow pushed to the far right */
  .loc-card__head { flex-wrap: nowrap; gap: 15px; padding: 11px 18px; margin: 0;
    border-bottom: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .loc-card__icon { order: 0; width: 38px; height: 38px; border-radius: 11px; }
  .loc-card__icon svg { width: 19px; height: 19px; }
  .loc-card__title { order: 1; flex: 1 1 auto; margin-top: 0;
    font-size: 1.12rem; }
  .loc-card__chev { width: 28px; height: 28px; }
  .loc-card__chev { order: 2; display: grid; margin-left: 0;
    transition: background .3s var(--ease-out), border-color .3s var(--ease-out); }
  .loc-card.is-open .loc-card__chev { background: rgba(201,162,75,0.12); border-color: rgba(154,114,35,0.42); }

  /* collapsible panel - collapsed by default, indented to align under the name */
  .loc-card__list { max-height: 0; overflow: hidden; opacity: 0; padding: 0 18px;
    transition: max-height .45s var(--ease-out), opacity .35s var(--ease-out), padding .45s var(--ease-out); }
  .loc-card.is-open .loc-card__list { max-height: 360px; opacity: 1; padding: 0 18px 14px; }
  .loc-card__list li { flex: none; }
}

/* FAQ accordion (dark on light) reuse */
.faq { padding: var(--section-y) 0; }
.faq__list { max-width: 900px; margin: 0 auto; padding: 0 var(--pad-x); }
.faq__list .accordion__body p { padding: 0 0 20px; font-size: 0.92rem; color: #43413B; max-width: 64ch; }

/* ---------------------------------------------------------------------------
   20. GALLERY
   --------------------------------------------------------------------------- */
.gallery { padding: clamp(28px, 4vw, 56px) 0 var(--section-y); position: relative; }
/* soft gold wash behind the montage for depth */
.gallery::before {
  content: ""; position: absolute; left: 50%; top: 8%; transform: translateX(-50%);
  width: min(1100px, 92vw); height: 60%; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 40%, rgba(201,162,75,0.10), transparent 70%);
  filter: blur(20px);
}
.gallery > * { position: relative; z-index: 1; }

/* ---- editorial header: centred title ---- */
.gallery__head { margin-bottom: 34px; text-align: center; }
.gallery__head-copy { max-width: none; }
.gallery__head .eyebrow { display: inline-block; }
/* Main heading capped at 64px and centred. */
.gallery__head h2[data-split] { font-size: clamp(2rem, 7vw, 64px); text-align: center;
  max-width: 24ch; margin-left: auto; margin-right: auto; }
.gallery__head-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--color-hairline);
}
.gallery__count {
  font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-cream-dim);
  display: inline-flex; align-items: baseline; gap: 8px;
}
.gallery__count-num {
  font-family: var(--font-display); font-weight: 400; font-size: 1.5rem;
  letter-spacing: 0; color: var(--color-gold); line-height: 1;
}
.gallery__head-rule { display: none; flex: 1 1 40px; height: 1px; min-width: 20px;
  background: linear-gradient(90deg, var(--color-hairline), transparent); }
.gallery__head-note {
  flex: 1 1 100%;
  font-family: var(--font-accent); font-style: italic; font-weight: 300;
  font-size: 1rem; color: var(--color-gold-soft); opacity: 0.9;
}

/* ---- mosaic grid ---- */
.gallery__grid { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x);
  display: grid; grid-template-columns: 1fr; gap: 12px; }

.gallery__item {
  position: relative; overflow: hidden; border-radius: 4px;
  background: var(--color-bg-secondary);
  box-shadow: 0 1px 2px rgba(0,0,0,0.25);
  transition: box-shadow .6s var(--ease-out);
  will-change: transform;
}
.gallery__item img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transform: scale(1.02) translate3d(0,0,0);
  transition: transform 1.1s var(--ease-out), filter .6s var(--ease-out);
  filter: saturate(0.94) brightness(0.94);
}
.gallery__item--tall img { aspect-ratio: 3/4; }
.gallery__item--wide img { aspect-ratio: 16/9; }

/* stacked scrim: gentle base + deeper foot wash that intensifies on hover */
.gallery__item::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,15,28,0.10) 0%, transparent 26%),
    linear-gradient(0deg, rgba(10,15,28,0.80) 0%, rgba(10,15,28,0.22) 40%, transparent 64%);
  transition: opacity .6s var(--ease-out); }

/* thin gold inset frame that draws in on hover */
.gallery__item::before { content: ""; position: absolute; inset: 10px; z-index: 3;
  border: 1px solid rgba(232,217,174,0); border-radius: 2px;
  transition: border-color .55s var(--ease-out), inset .55s var(--ease-out);
  pointer-events: none; }

/* index numeral, top-left */
.gallery__index {
  position: absolute; top: 14px; left: 16px; z-index: 3;
  font-family: var(--font-display); font-weight: 400; font-size: 0.9rem;
  letter-spacing: 0.05em; color: var(--color-cream);
  opacity: 0.72; transition: opacity .5s var(--ease-out), color .5s var(--ease-out);
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.gallery__index::before { content: ""; display: inline-block; width: 18px; height: 1px;
  margin-right: 8px; vertical-align: middle; background: var(--color-gold);
  transform: scaleX(0.4); transform-origin: left; transition: transform .55s var(--ease-out); }

/* caption block, bottom-left */
.gallery__cap {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 3;
  display: flex; flex-direction: column; gap: 5px;
}
.gallery__tag {
  align-self: flex-start;
  font-family: var(--font-body); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-gold-soft);
  padding-bottom: 3px; position: relative;
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.gallery__tag::after { content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--color-gold);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out) .05s; }
.gallery__title {
  font-family: var(--font-display); font-weight: 300; font-size: 1.06rem; line-height: 1.28;
  color: var(--color-cream); text-shadow: 0 1px 20px rgba(0,0,0,0.55);
  transform: translateY(2px); transition: transform .6s var(--ease-out);
}

/* ---- hover / focus state ---- */
html.js .gallery__item:hover,
html.js .gallery__item:focus-within {
  box-shadow: 0 24px 60px -22px rgba(0,0,0,0.7), 0 0 0 1px rgba(201,162,75,0.14);
}
html.js .gallery__item:hover img,
html.js .gallery__item:focus-within img {
  transform: scale(1.07) translate3d(var(--px,0),var(--py,0),0);
  filter: saturate(1.06) brightness(1.02);
  transition: transform .5s var(--ease-out), filter .6s var(--ease-out);
}
.gallery__item:hover::after,
.gallery__item:focus-within::after { opacity: 1; }
.gallery__item:hover::before,
.gallery__item:focus-within::before { inset: 12px; border-color: rgba(232,217,174,0.5); }
.gallery__item:hover .gallery__index,
.gallery__item:focus-within .gallery__index { opacity: 1; color: var(--color-gold-soft); }
.gallery__item:hover .gallery__index::before,
.gallery__item:focus-within .gallery__index::before { transform: scaleX(1); }
.gallery__item:hover .gallery__tag,
.gallery__item:focus-within .gallery__tag { opacity: 1; transform: none; }
.gallery__item:hover .gallery__tag::after,
.gallery__item:focus-within .gallery__tag::after { transform: scaleX(1); }
.gallery__item:hover .gallery__title,
.gallery__item:focus-within .gallery__title { transform: none; }

/* staggered scroll-reveal: each item eases in on its own beat */
html.js .gallery__item[data-reveal-media] { transition-delay: calc(var(--i, 0) * 60ms); }
html.js .gallery__item[data-reveal-media] img { transition-delay: calc(var(--i, 0) * 60ms); }

/* =====================================================================
   3D ROTATABLE CAROUSEL (Lifestyle gallery) - a cylinder of uniform
   rectangular frames; drag / autoplay / prev-next spin it. Each cell is
   rotateY(n * angle) translateZ(radius); the ring counter-rotates. JS sets
   --radius from the live cell width and drives --rot.
   ===================================================================== */
.gallery__carousel { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
.gallery__scene {
  --cell-w: clamp(340px, 56vw, 800px);        /* ~2x larger, front frame reads big */
  --cell-h: calc(var(--cell-w) * 0.66);       /* rectangular ~3:2 */
  --angle: 40deg;                             /* 360deg / 9 frames */
  --radius: 900;                              /* px number, recomputed by JS */
  --rot: 0deg;
  position: relative; height: clamp(300px, 42vw, 588px);
  display: flex; align-items: center; justify-content: center;
  perspective: 2400px; perspective-origin: 50% 48%;
  overflow-x: clip; overflow-y: visible; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none;
}
.gallery__scene.is-dragging { cursor: grabbing; }
.gallery__ring {
  position: relative; width: var(--cell-w); height: var(--cell-h);
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--radius) * -1px)) rotateY(var(--rot));
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.gallery__scene.is-dragging .gallery__ring { transition: none; }
.gallery__cell {
  position: absolute; inset: 0; margin: 0; overflow: hidden;
  border-radius: 10px; background: var(--color-bg-secondary);
  border: 1px solid rgba(232,217,174,0.10);
  box-shadow: none;                       /* side frames carry no shadow */
  transform: rotateY(calc(var(--n) * var(--angle))) translateZ(calc(var(--radius) * 1px));
  backface-visibility: hidden;
  filter: brightness(0.5) saturate(0.82);
  transition: filter .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .6s var(--ease-out);
}
.gallery__cell img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; aspect-ratio: auto; }
/* foot scrim so the caption reads on the active frame */
.gallery__cell::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(10,15,28,0.85) 0%, rgba(10,15,28,0.22) 40%, transparent 64%);
  opacity: 0; transition: opacity .6s var(--ease-out); }
.gallery__cell.is-front {
  filter: brightness(1) saturate(1);
  border-color: rgba(232,217,174,0.30);
  box-shadow: 0 46px 92px -34px rgba(0,0,0,0.95), 0 0 0 1px rgba(201,162,75,0.14);
}
.gallery__cell.is-front::after { opacity: 1; }
/* captions + index only on the front frame */
.gallery__cell .gallery__index { opacity: 0; }
.gallery__cell.is-front .gallery__index { opacity: 0.85; color: var(--color-gold-soft); }
.gallery__cell.is-front .gallery__index::before { transform: scaleX(1); }
.gallery__cell.is-front .gallery__tag { opacity: 1; transform: none; }
.gallery__cell.is-front .gallery__tag::after { transform: scaleX(1); }
.gallery__cell.is-front .gallery__title { transform: none; }

/* controls */
.gallery__nav { max-width: var(--maxw); margin: 30px auto 0; padding: 0 var(--pad-x);
  display: flex; align-items: center; justify-content: center; gap: 22px; }
.gallery__navbtn { flex: none; width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--color-hairline); background: rgba(244,239,230,0.03);
  color: var(--color-cream); cursor: pointer;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out),
              transform .4s var(--ease-out), color .4s var(--ease-out); }
.gallery__navbtn:hover { background: var(--color-gold); border-color: var(--color-gold);
  color: var(--color-bg-primary); transform: translateY(-2px); }
.gallery__navbtn svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.gallery__navbtn[data-carousel-prev] svg { transform: scaleX(-1); }
.gallery__status { min-width: 88px; text-align: center; font-variant-numeric: tabular-nums;
  font-family: var(--font-display); font-weight: 400; font-size: 1.02rem; letter-spacing: 0.06em;
  color: var(--color-cream-dim); }

@media (prefers-reduced-motion: reduce) {
  .gallery__ring { transition: transform .001s linear; }
}

/* touch / no-hover: keep the caption meta always legible (no hover to trigger it) */
@media (hover: none) {
  .gallery__tag { opacity: 1; transform: none; }
  .gallery__tag::after { transform: scaleX(1); }
  .gallery__index { opacity: 1; }
  .gallery__index::before { transform: scaleX(1); }
}

/* ---------------------------------------------------------------------------
   21. FINAL CTA + FORM
   --------------------------------------------------------------------------- */
.cta { position: relative; overflow: hidden; padding: calc(var(--section-y) + 10px) 0; }
/* Cinematic scrim: deep navy that darkens toward the form side, a warm gold glow
   bleeding up from the lower-left, and a soft vignette so the candlelit image
   reads as calm ambiance rather than a busy photo. */
.cta__media img { filter: brightness(0.7) saturate(1.02); }
.cta__scrim { background:
  radial-gradient(64% 84% at 14% 72%, rgba(201,162,75,0.15), rgba(201,162,75,0) 55%),
  linear-gradient(103deg, rgba(8,12,22,0.95) 0%, rgba(8,12,22,0.86) 40%, rgba(8,12,22,0.66) 70%, rgba(8,12,22,0.84) 100%),
  linear-gradient(180deg, rgba(8,12,22,0.5) 0%, transparent 34%, transparent 62%, rgba(8,12,22,0.78) 100%),
  radial-gradient(140% 130% at 50% 6%, transparent 42%, rgba(8,12,22,0.5) 100%); }
/* faint gold hairline framing the whole section (top + bottom) */
.cta::before, .cta::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(201,162,75,0.28) 22%, rgba(201,162,75,0.28) 78%, transparent); }
.cta::before { top: 0; } .cta::after { bottom: 0; }
.cta__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(34px, 5vw, 64px); align-items: center; }

/* --- Left lead column --- */
.cta__lead .eyebrow { margin-bottom: 20px; }
.cta__statement { font-size: clamp(1.9rem, 6.5vw, 2.9rem); line-height: 1.06; text-align: left;
  max-width: 16ch; margin: 0 0 24px; }
.cta__lede { color: var(--color-cream-dim); font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.7; max-width: 46ch; margin-bottom: 34px; }
.cta__contact { display: flex; flex-direction: column; gap: 14px;
  padding-top: 28px; border-top: 1px solid var(--color-hairline); }
.cta__phone { display: inline-flex; align-items: center; gap: 14px; width: fit-content;
  font-family: var(--font-display); font-weight: 300; font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  letter-spacing: 0.01em; color: var(--color-gold); transition: color .3s var(--ease-out); }
.cta__phone:hover { color: var(--color-gold-soft); }
.cta__phone:hover .cta__phone-ic { border-color: var(--color-gold); background: rgba(201,162,75,0.14); }
.cta__phone-ic { flex: none; width: clamp(38px, 3vw, 46px); height: clamp(38px, 3vw, 46px);
  display: grid; place-items: center; border: 1px solid rgba(201,162,75,0.4); border-radius: 50%;
  transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out); }
.cta__phone-ic svg { width: 46%; height: 46%; }
.cta__addr { font-size: 1rem; line-height: 1.6; color: var(--color-cream-dim); max-width: 42ch; }
.cta__rera { font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(244,239,230,0.42); margin-top: 2px; }

/* --- Premium frosted-glass form card (the highlight) --- */
.enquiry-card { position: relative; border-radius: 24px; overflow: hidden;
  padding: clamp(26px, 3vw, 46px);
  background:
    linear-gradient(158deg, rgba(24,37,64,0.82), rgba(9,13,24,0.88)),
    url("assets/img/img11.jpg") center/cover no-repeat;
  border: 1px solid rgba(201,162,75,0.24);
  backdrop-filter: blur(24px) saturate(1.15); -webkit-backdrop-filter: blur(24px) saturate(1.15);
  box-shadow: 0 60px 120px -46px rgba(0,0,0,0.9), inset 0 1px 0 rgba(244,239,230,0.09); }
/* warm top glow inside the card */
.enquiry-card::after { content: ""; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 120%; height: 70%; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 50%, rgba(201,162,75,0.14), transparent 70%); }
/* soft gold rim highlight */
.enquiry-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 1;
  pointer-events: none; background: linear-gradient(150deg, rgba(232,217,174,0.6), rgba(244,239,230,0.05) 34%, transparent 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.enquiry-card > * { position: relative; z-index: 2; }

/* card header: brand sunburst + eyebrow + title */
.enquiry-card__head { display: flex; align-items: center; gap: 16px;
  margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--color-hairline); }
.enquiry-card__mark { flex: none; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(201,162,75,0.35);
  background: radial-gradient(circle at 50% 120%, rgba(201,162,75,0.24), transparent 70%); }
.enquiry-card__mark svg { width: 30px; height: auto; color: var(--color-gold); fill: none; }
.enquiry-card__eyebrow { font-family: var(--font-body); font-size: 0.64rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-gold-soft); margin-bottom: 4px; }
.enquiry-card__title { font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem); line-height: 1; color: var(--color-cream); }

.enquiry { display: grid; gap: 8px; }
.enquiry__row { display: grid; gap: 8px; }

/* ---- Floating-label underline fields (empty = label sits as placeholder;
   focus/filled = it floats up into a small gold caption). ---- */
.field { position: relative; display: flex; flex-direction: column; padding-top: 22px; }
.field input {
  width: 100%; min-height: 44px; background: transparent; border: 0;
  border-bottom: 1px solid var(--color-hairline); border-radius: 0;
  color: var(--color-cream); padding: 6px 2px; font-size: 1.02rem; font-family: var(--font-body);
  letter-spacing: 0.01em;
  transition: border-color .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.field input::placeholder { color: transparent; }
.field label {
  position: absolute; left: 2px; top: 28px; pointer-events: none; max-width: calc(100% - 4px);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--font-body); font-weight: 400; font-size: 1.02rem;
  color: rgba(244,239,230,0.42); transform-origin: left top;
  transition: transform .28s var(--ease-out), color .28s var(--ease-out), letter-spacing .28s var(--ease-out); }
.field__opt { color: rgba(244,239,230,0.3); }
.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  transform: translateY(-27px) scale(0.66);
  color: var(--color-gold-soft); letter-spacing: 0.18em; text-transform: uppercase; }
.field input:hover { border-bottom-color: rgba(201,162,75,0.5); }
.field input:focus { outline: none; border-bottom-color: var(--color-gold);
  box-shadow: 0 1px 0 0 var(--color-gold); }
.field.has-error input { border-bottom-color: #E2795B; }
.field.has-error label { color: #E2795B; }
.field__error { font-size: 0.74rem; color: #E2795B; margin-top: 6px; min-height: 0; }

/* ---- Configuration selector: quiet project tag + two premium option cards ---- */
.enquiry__config { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
/* "Project" badge: the label + Emami mark share ONE thin gold frame (same gold
   hairline treatment as the enquiry-card mark) - on both mobile and desktop. */
.config-head { display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: nowrap; padding: 8px 12px 8px 18px;
  border: 1px solid rgba(201,162,75,0.35); border-radius: 999px;
  background: radial-gradient(130% 190% at 50% 118%, rgba(201,162,75,0.13), transparent 72%); }
.config-label { font-family: var(--font-body); font-weight: 500; font-size: 0.66rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-cream-dim); }
/* the brand mark sits inside the shared frame - no pill of its own */
.config-project { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-family: var(--font-body); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-gold-soft); }
.config-project__mark { flex: none; width: 17px; height: auto; color: var(--color-gold); }
.config-project__mark svg { width: 100%; height: auto; display: block; }

.config-chips { display: flex; gap: 12px; border: 0; padding: 0; margin: 0; min-width: 0; }
.chip__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip {
  position: relative; flex: 1 1 0; min-width: 0;
  display: flex; align-items: center; gap: 13px;
  min-height: 68px; padding: 0 18px; border-radius: 15px; cursor: pointer;
  border: 1px solid var(--color-hairline);
  background: linear-gradient(150deg, rgba(244,239,230,0.05), rgba(244,239,230,0.012));
  transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out),
    box-shadow .3s var(--ease-out), transform .2s var(--ease-out); }
.chip__dot { flex: none; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid rgba(201,162,75,0.5); display: grid; place-items: center;
  transition: border-color .3s var(--ease-out); }
.chip__dot::after { content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--color-gold); transform: scale(0); transition: transform .28s var(--ease-out); }
/* name + meta on ONE line: "3 BHK + Servant" */
.chip__text { display: flex; flex-direction: row; align-items: baseline; gap: 7px;
  min-width: 0; white-space: nowrap; }
.chip__name { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem;
  line-height: 1.04; letter-spacing: 0.01em; color: var(--color-cream); }
.chip__meta { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.04em;
  color: var(--color-cream-dim); }
.chip:hover { border-color: rgba(201,162,75,0.5); transform: translateY(-1px); }
.chip__input:checked + .chip {
  border-color: var(--color-gold);
  background: linear-gradient(150deg, rgba(201,162,75,0.17), rgba(201,162,75,0.05));
  box-shadow: 0 10px 30px -16px rgba(201,162,75,0.55), inset 0 0 0 1px rgba(201,162,75,0.22); }
.chip__input:checked + .chip .chip__dot { border-color: var(--color-gold); }
.chip__input:checked + .chip .chip__dot::after { transform: scale(1); }
.chip__input:checked + .chip .chip__name { color: var(--color-gold-soft); }
.chip__input:focus-visible + .chip { outline: 2px solid var(--color-gold-soft); outline-offset: 2px; }

.enquiry__actions { margin-top: 14px; }
.enquiry__submit { display: flex; width: 100%; min-height: 62px; padding-left: 34px; font-size: 0.86rem; letter-spacing: 0.08em; }
.enquiry__consent { font-size: 0.72rem; line-height: 1.5; color: rgba(244,239,230,0.42); text-align: center; margin-top: 14px; }
.enquiry__success { color: var(--color-gold-soft); font-size: 0.95rem; text-align: center; margin-top: 4px; }

/* ---------------------------------------------------------------------------
   22. FOOTER
   --------------------------------------------------------------------------- */
.footer { position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 64%);
  padding: clamp(30px, 4vw, 48px) var(--pad-x) clamp(12px, 1.6vw, 18px); }
/* soft centered gold aura behind the mark */
.footer::before { content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: 50%; top: clamp(36px, 5vw, 64px); transform: translateX(-50%);
  width: min(560px, 84%); height: clamp(150px, 18vw, 230px);
  background: radial-gradient(ellipse at center, rgba(201,162,75,0.20), rgba(201,162,75,0) 66%);
  filter: blur(16px); }
.footer__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center; }
/* mobile: wrapper is transparent so logo/tagline/disclaimer keep the centred
   stack; desktop turns it into a 3-column row (see min-width:1024 block). */
.footer__grid { display: contents; }

/* --- Compact centered brand mark + tagline --- */
.brand--footer { position: relative; z-index: 1; display: block; margin: 0 0 clamp(10px, 1.4vw, 16px); line-height: 0; }
.brand__logo--footer { height: clamp(56px, 7.5vw, 90px); width: auto; display: block;
  filter: drop-shadow(0 12px 32px rgba(201,162,75,0.34)) drop-shadow(0 2px 6px rgba(0,0,0,0.5));
  transition: transform .5s var(--ease-out), filter .5s var(--ease-out); }
.brand--footer:hover .brand__logo--footer { transform: scale(1.03) translateY(-2px);
  filter: drop-shadow(0 16px 42px rgba(201,162,75,0.48)) drop-shadow(0 2px 6px rgba(0,0,0,0.5)); }
.footer__tag { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.28rem); line-height: 1.32; letter-spacing: 0.02em;
  color: var(--color-cream); max-width: 34ch; }

/* --- Link columns --- */
.footer__cols { display: grid; gap: 40px; }
.footer__col .eyebrow { display: block; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid var(--color-hairline); }
.footer__col ul { display: grid; gap: 13px; }
.footer__col a { color: var(--color-cream-dim); font-size: 0.94rem; transition: color .3s var(--ease-out); }
.footer__col ul li a { position: relative; display: inline-block; padding-left: 0;
  transition: color .3s var(--ease-out), padding-left .3s var(--ease-out); }
.footer__col ul li a::before { content: ""; position: absolute; left: 0; top: 50%;
  width: 0; height: 1px; background: var(--color-gold); transition: width .3s var(--ease-out); }
.footer__col ul li a:hover { color: var(--color-gold); padding-left: 20px; }
.footer__col ul li a:hover::before { width: 13px; }
.footer__col a:hover { color: var(--color-gold); }
.footer__col address { color: var(--color-cream-dim); font-size: 0.9rem; line-height: 1.7;
  font-style: normal; display: grid; gap: 4px; }
.footer__addr { display: block; margin-bottom: 14px; }
.footer__contact-line { display: inline-block; margin-bottom: 14px; width: fit-content;
  font-family: var(--font-display); font-weight: 300; font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  letter-spacing: 0.005em; color: var(--color-gold) !important;
  transition: color .3s var(--ease-out); }
.footer__contact-line:hover { color: var(--color-gold-soft) !important; }
.footer__rera { display: block; margin-top: 10px; font-size: 0.78rem; letter-spacing: 0.03em;
  color: rgba(244,239,230,0.45); }

/* social as refined chips */
.footer__social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__social li a { display: inline-block; padding: 8px 16px; font-size: 0.82rem;
  border: 1px solid var(--color-hairline); border-radius: 999px; color: var(--color-cream-dim);
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out), background-color .3s var(--ease-out); }
.footer__social li a:hover { color: var(--color-bg-primary); background: var(--color-gold); border-color: var(--color-gold); }
.footer__legal-link { display: inline-block; margin-top: 22px; font-size: 0.82rem; }

/* Ornamental sunburst divider that closes the footer (replaces the old wordmark). */
.footer__flourish {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 22px;
  width: min(440px, 84%); margin: clamp(14px, 2vw, 24px) auto clamp(12px, 1.6vw, 20px); }
.footer__flourish-line { flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,75,0.5)); }
.footer__flourish-line:last-child {
  background: linear-gradient(90deg, rgba(201,162,75,0.5), transparent); }
.footer__flourish-mark { flex: none; width: 48px; height: 27px; color: var(--color-gold); opacity: 0.9; }

/* --- Compact base: centered fine print + a single copyright / back-to-top row --- */
.footer__base { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; }
.footer__disclaimer { font-size: 0.68rem; line-height: 1.6; color: rgba(244,239,230,0.34);
  max-width: none; margin: 0 0 clamp(12px, 1.6vw, 18px);
  text-align: justify; text-align-last: center; }
.footer__disclaimer-label { font-weight: 600; color: rgba(244,239,230,0.55); letter-spacing: 0.01em; }
.footer__copy { display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding-top: clamp(12px, 1.6vw, 16px); border-top: 1px solid var(--color-hairline); }
.footer__copy p { font-size: 0.76rem; letter-spacing: 0.01em; color: var(--color-cream-dim); }
.footer__top { font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-gold);
  transition: color .3s var(--ease-out); }
.footer__top:hover { color: var(--color-gold-soft); }


/* =========================================================================
   RESPONSIVE - TABLET (>= 768px)
   ========================================================================= */
@media (min-width: 768px) {
  :root { --pad-x: 40px; --section-y: 110px; }

  .hero__cta .btn { flex: 0 0 auto; min-width: 0; }
  .hero__title { font-size: clamp(3rem, 9vw, 56px); }

  /* trust bar: four across with dividers between each */
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
  .trust-stat:nth-child(odd) { border-right: none; }
  .trust-stat:not(:first-child) { border-left: 1px solid var(--color-hairline); }

  .about__panel { padding: 56px 40px 40px; border-radius: 24px 120px 24px 24px; }
  .about__dot { top: 30px; right: 30px; left: auto; }

  .amenity-panel__quote { max-width: 20ch; }

  .master__grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center; }
  .master__media { margin-bottom: 0; }

  .tabs__panel-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
  .tabs__media { margin-bottom: 0; }
  .tabs__facts .fact { flex: 1 1 0; }
  .residences__foot { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; }

  /* 50 / 50 split - map and card grid share one row height so their tops and
     bottoms align edge to edge (stretch, no sticky offset). */
  .location__grid { grid-template-columns: 1fr 1fr; align-items: stretch; gap: 44px; }
  .location__map { display: flex; }
  .map-placeholder { height: 100%; min-height: 100%; width: 100%; align-self: stretch; }
  .map-placeholder__img { height: 100%; object-fit: cover; }
  /* Info cards fill the right 50% column as a 2 × 2 grid, matched to the map's height */
  .location__lists { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
  .loc-card { height: 100%; }

  .gallery__head { display: block; text-align: center; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; gap: 16px; }
  .gallery__item--tall { grid-row: span 2; }
  .gallery__item--tall img { aspect-ratio: auto; height: 100%; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--wide img { aspect-ratio: 21/9; }
  .gallery__title { font-size: 1.14rem; }
  .gallery__item--feature .gallery__title { font-size: 1.32rem; }

  .cta__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(48px, 5vw, 80px); }
  .enquiry__row { grid-template-columns: 1fr 1fr; }

  .footer__copy { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* =========================================================================
   RESPONSIVE - MOBILE / TABLET HERO (< 1024px)
   Show mob1.png in full - the media box matches the image ratio so nothing is
   cropped - then seat the heading, subtext and CTA in the dark region below.
   ========================================================================= */
@media (max-width: 1023.98px) {
  .hero { display: flex; flex-direction: column; min-height: 0;
    background: #f4efe6; align-items: stretch; overflow: visible; }
  .hero__media { position: relative; inset: auto; flex: none;
    width: 100%; aspect-ratio: 1101 / 1333; overflow: hidden; }
  .hero__img, .hero__scrim { position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; }
  .hero__img { object-fit: contain; object-position: center; transform: none; }
  .hero__scrim { display: none; }
  .hero__content { position: relative; flex: none; width: 100%;
    background: #f4efe6; padding-top: 40px; padding-bottom: 56px; }
  /* Dark type + button so they read on the cream panel. */
  .hero__title { color: var(--color-charcoal); }
  .hero__sub { color: var(--color-ink-soft); }
  .hero__cta .pill { --pill-ink: var(--color-charcoal);
    background: rgba(26, 26, 26, 0.05);
    box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.12), 0 8px 28px rgba(0, 0, 0, 0.08); }
}

/* =========================================================================
   RESPONSIVE - DESKTOP (>= 1024px)
   ========================================================================= */
@media (min-width: 1024px) {
  :root { --pad-x: 64px; --section-y: 150px; }

  /* Floor-plan disclaimer: widen the cap so it reads as two lines, not three. */
  .residences__note--foot { max-width: 92ch; }

  /* Desktop footer: large logo | two-line tagline | disclaimer, as three
     equally-gapped columns split by vertical gold hairlines. */
  .footer__grid { display: grid; width: 100%; text-align: left; align-items: center;
    grid-template-columns: auto minmax(280px, 360px) minmax(0, 1fr);
    margin-bottom: clamp(24px, 2.6vw, 38px); }
  .footer__grid > * { margin: 0; padding: 6px clamp(28px, 3.2vw, 52px); }
  .footer__grid > *:first-child { padding-left: 0; }
  .footer__grid > * + * { border-left: 1px solid rgba(201,162,75,0.24); }
  .brand--footer { margin: 0; }
  .brand__logo--footer { height: clamp(96px, 9.5vw, 132px); }
  .footer__tag { max-width: none; }
  .footer__disclaimer { text-align: left; text-align-last: left; margin: 0; }

  .header__cta { display: inline-flex; }
  .header__nav { display: block; }          /* show persistent nav bar */
  .menu-toggle { display: none; }           /* hide hamburger on desktop */
  .header__actions { gap: 30px; }

  /* Desktop: size the hero to the banner image so the full uncropped photo fills
     it edge to edge - no dead letterbox strip below the image, so the hero meets
     the grid section cleanly. (Narrower screens keep the taller immersive hero.) */
  .hero { min-height: 0; display: block; align-items: initial; }
  .hero__media { position: relative; inset: auto; width: 100%; aspect-ratio: 1774 / 887; }
  /* Container matches the image ratio, so cover fills it exactly - removes the
     ~50px band of body colour that contain left between banner and next section. */
  .hero__img { object-fit: cover; }
  /* Centre the content vertically within the banner; top padding clears the header. */
  .hero__content { position: absolute; inset: 0; margin: 0 auto;
    display: flex; flex-direction: column; justify-content: center;
    padding-top: 96px; padding-bottom: 48px; }
  .hero__title { font-size: 56px; max-width: 16ch; }
  .hero__sub { font-size: 1.15rem; }

  .statement__text { font-size: clamp(3rem, 6vw, 5.75rem); max-width: 26ch; }

  .about__grid { gap: 80px; }

  .section__head h2 { font-size: clamp(2rem, 4vw, 4rem); }
  .master__info h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
  /* Oversized split headings on desktop (the .r-inner-wrapped h2 display headings). */
  h2[data-split] { font-size: clamp(3rem, 6vw, 5.5rem); }

  /* ---- Amenities: vertical scroll-stacked cards (compact 3D deck) ----
     The card is a 2-col grid: title + copy stack in the left column, and the
     image spans the FULL card height on the right (no empty band above it). */
  .stack-card { top: calc(100px + var(--i, 0) * 24px); padding: clamp(30px, 2.4vw, 42px);
    border-radius: 24px;
    display: grid; grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(28px, 3vw, 44px); row-gap: 22px; align-items: start; }
  .stack-card__top { grid-column: 1; grid-row: 1; margin: 0; }
  /* dissolve the panel box so its children join the card grid directly */
  .stack-card__panel { display: contents; }
  .stack-card__info { grid-column: 1; grid-row: 2; align-self: start;
    display: flex; flex-direction: column; justify-content: center; }
  .stack-card__media { grid-column: 2; grid-row: 1 / span 2; align-self: stretch;
    position: relative; }
  /* absolutely-filled image so the media box carries no intrinsic height and is
     free to stretch to the left column's full height (title + copy) */
  .stack-card__media img { position: absolute; inset: 0; width: 100%; height: 100%;
    aspect-ratio: auto; object-fit: cover; }
  .stack-card__quote { font-size: clamp(1.6rem, 2.1vw, 2.4rem); }


  .is-reduced .stack-card { position: static; }

  .cta__statement { font-size: clamp(2.3rem, 3.4vw, 3.4rem); }

  /* Desktop CTA: the towers photo is a full-bleed COVER background that fills the
     whole section, so the overlaid content (text left, form right) always sits on
     the image - no letterbox band and no dark bleed below the taller form column.
     Mirrored so the building mass backs the text column. Media box stays oversized
     (base rule: top -16% / height 132%) so the parallax translate never exposes an
     edge. object-position keeps the towers framed as the sides crop. */
  .cta__media { transform: scaleX(-1); }
  .cta__media img { object-fit: cover; object-position: center; }
  /* Balanced padding centres the content block over the photo with even breathing
     room top and bottom - the section height is content-driven and the cover image
     fills it exactly, so there is no dead navy gap above or below. */
  .cta { padding-top: clamp(72px, 6vw, 104px); padding-bottom: clamp(72px, 6vw, 104px); }
  .cta__grid { align-items: center; }

  .gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .gallery__item--wide img { aspect-ratio: 24/9; }

  .master__stat-num { font-size: 2.8rem; }
}

/* -------------------------------------------------------------------------
   About: side-by-side layout only once the viewport is wide enough that the
   info panel and the headline + framed image are comparable in height. Below
   this the panel wraps tall and the image would strand at the column base with
   a large empty gap, so mid widths keep the clean stacked layout instead.
   ------------------------------------------------------------------------- */
@media (min-width: 1100px) {
  .about__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 64px; align-items: stretch; }
  .about__lead { display: flex; flex-direction: column; }
  /* Sit the framed image just below the heading (a fixed gap) rather than
     bottom-aligning it, which left a large void under the shorter 2-line title. */
  .about__figure { margin-top: 48px; aspect-ratio: 16 / 10; }
  /* Panel stretches the full column height so its top edge aligns with the
     heading; the CTA is anchored to the bottom to absorb the extra height. */
  .about__panel { margin-top: 0; align-self: stretch;
    display: flex; flex-direction: column; padding: clamp(44px, 3.4vw, 56px) clamp(40px, 3.2vw, 52px);
    border-radius: 24px 120px 24px 24px; }
  /* Scale the content up so the stretched panel reads full, not sparse. */
  .about__panel .about__panel-eyebrow { margin-bottom: 20px; }
  .about__panel .about__panel-lede { font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.6; }
  .about__panel .about__specs { margin: clamp(30px, 2.6vw, 42px) 0 0;
    padding-top: clamp(30px, 2.6vw, 40px); gap: clamp(28px, 3vw, 44px) 28px; }
  .about__panel .about__spec-ic { width: 54px; height: 54px; padding: 12px; }
  .about__panel .about__spec-label { font-size: 0.74rem; letter-spacing: 0.13em; }
  .about__panel .about__spec-value { font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
  .about__panel .pill { margin-top: auto; align-self: flex-start; }
}

/* =========================================================================
   RESPONSIVE - WIDE (>= 1440px)
   ========================================================================= */
@media (min-width: 1440px) {
  :root { --pad-x: 80px; }
}

/* =========================================================================
   REDUCED MOTION
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  html.js [data-reveal], html.js .r-inner { opacity: 1 !important; transform: none !important; }
  html.js [data-reveal-media] { clip-path: none !important; }
  html.js [data-reveal-media] img { transform: none !important; }
}

/* Fallback for very old browsers without aspect-ratio */
@supports not (aspect-ratio: 1) {
  .about__media-sticky img, .amenity-panel__media img,
  .gallery__item img { height: 240px; object-fit: cover; }
}

/* ---------------------------------------------------------------------------
   SCHEDULE-A-VISIT MODAL
   Layout/proportions mirror the reference enquiry pop-up; palette is Aamod's.
   --------------------------------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 50% 0%, rgba(12,18,34,0.55), rgba(4,6,13,0.82));
  backdrop-filter: blur(12px) saturate(120%); -webkit-backdrop-filter: blur(12px) saturate(120%);
  opacity: 0; transition: opacity .4s var(--ease-out);
}
/* Dark frosted-glass panel: deep navy over the blurred page, a warm gold
   sheen sweeping the top corner and a fine gold rim for the luxury read. */
.modal__dialog {
  position: relative; width: 100%; max-width: 560px;
  max-height: calc(100dvh - 48px); overflow-y: auto; isolation: isolate;
  background:
    radial-gradient(130% 90% at 100% 0%, rgba(201,162,75,0.14) 0%, rgba(201,162,75,0) 46%),
    linear-gradient(160deg, #16233d 0%, #101a2d 44%, #0b1120 100%);
  backdrop-filter: blur(30px) saturate(150%); -webkit-backdrop-filter: blur(30px) saturate(150%);
  border: 1px solid rgba(201,162,75,0.28);
  border-radius: 20px;
  box-shadow:
    0 40px 110px rgba(0,0,0,0.62),
    0 2px 0 rgba(201,162,75,0.06),
    inset 0 1px 0 rgba(255,255,255,0.10);
  opacity: 0; transform: translateY(22px) scale(0.97);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
/* faint diagonal light sweep across the whole panel */
.modal__sheen {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(150deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 30%);
  mix-blend-mode: screen;
}
.modal__dialog > * { position: relative; z-index: 1; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }

/* Header: eyebrow + title left, close right, divided by a gold hairline. */
.modal__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; padding: 26px 28px 22px;
  border-bottom: 1px solid rgba(201,162,75,0.22);
}
.modal__eyebrow {
  font-family: var(--font-body); font-weight: 500;
  font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--color-gold); margin-bottom: 8px;
}
.modal__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.7rem, 5vw, 2.3rem); line-height: 1.02; letter-spacing: 0.005em;
  color: var(--color-cream);
}
.modal__close {
  flex-shrink: 0; color: var(--color-cream-dim);
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--color-hairline); border-radius: 50%; margin-top: 2px;
  transition: color .25s var(--ease-out), background .25s var(--ease-out),
              border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.modal__close:hover {
  color: var(--color-bg-primary); background: var(--color-gold);
  border-color: var(--color-gold); transform: rotate(90deg);
}

.modal__body { padding: 30px 28px 30px; }

/* Floating-label underline fields. */
.visit-form { display: flex; flex-direction: column; gap: 22px; }
.vfield { position: relative; padding-top: 20px; }
.vfield input {
  width: 100%; min-height: 40px; background: transparent; border: 0;
  border-bottom: 1px solid var(--color-hairline);
  color: var(--color-cream); padding: 6px 0; font-size: 1.05rem;
  font-family: var(--font-body); letter-spacing: 0.01em;
  transition: border-color .3s var(--ease-out);
}
/* the floating label */
.vfield label {
  position: absolute; left: 0; top: 26px; pointer-events: none;
  font-family: var(--font-body); font-weight: 400;
  font-size: 1.05rem; color: var(--color-cream-dim);
  transform-origin: left center;
  transition: transform .28s var(--ease-out), color .28s var(--ease-out);
}
.vfield input:focus + label,
.vfield input:not(:placeholder-shown) + label {
  transform: translateY(-26px) scale(0.72);
  color: var(--color-gold);
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
}
.vfield__req { color: var(--color-gold); margin-left: 3px; }
/* animated gold underline that grows from the left on focus */
.vfield::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-soft));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.vfield:focus-within::after { transform: scaleX(1); }
.vfield input:focus { outline: none; }
.vfield.has-error input { border-bottom-color: #E08A6E; }
.vfield.has-error label { color: #E08A6E; }
.vfield__error { display: block; font-size: 0.76rem; color: #E08A6E; margin-top: 7px; letter-spacing: 0.02em; }
/* keep autofill from painting a light box over the dark panel */
.vfield input:-webkit-autofill,
.vfield input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--color-cream);
  transition: background-color 9999s ease-out;
}

/* 3 BHK / 4 BHK selectable chips. */
.vradios { border: 0; margin-top: 2px; }
.vradios__label {
  font-family: var(--font-body); font-weight: 500;
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-cream-dim); margin-bottom: 12px; padding: 0;
}
.vradios__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vchip { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.vchip input {
  position: absolute; opacity: 0; width: 0; height: 0; margin: 0;
}
.vchip__face {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 18px; border-radius: 12px;
  border: 1px solid var(--color-hairline);
  background: rgba(244,239,230,0.03);
  transition: border-color .25s var(--ease-out), background .25s var(--ease-out),
              transform .25s var(--ease-out);
}
.vchip__name {
  font-family: var(--font-display); font-weight: 400; font-size: 1.15rem;
  color: var(--color-cream);
}
.vchip__meta {
  font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-cream-dim);
}
.vchip:hover .vchip__face { border-color: rgba(201,162,75,0.5); transform: translateY(-2px); }
.vchip input:checked + .vchip__face {
  border-color: var(--color-gold);
  background: linear-gradient(150deg, rgba(201,162,75,0.20), rgba(201,162,75,0.06));
  box-shadow: inset 0 1px 0 rgba(232,217,174,0.25), 0 6px 20px rgba(0,0,0,0.25);
}
.vchip input:checked + .vchip__face .vchip__name { color: var(--color-gold-soft); }
.vchip input:focus-visible + .vchip__face { outline: 2px solid var(--color-gold); outline-offset: 2px; }

.visit-form__submit { display: flex; width: 100%; align-self: stretch; min-height: 62px; padding-left: 34px; margin-top: 6px; }
.visit-form__success {
  color: var(--color-gold-soft); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.01em;
}

@media (min-width: 768px) {
  .modal__body { padding: 36px 40px 38px; }
  .modal__head { padding: 30px 40px 24px; }
  .visit-form { gap: 26px; }
}

/* ===========================================================================
   24. MOBILE COMPACTION + FIXES  (≤ 767.98px ONLY — desktop is untouched)
   Scoped entirely below the 768px tablet breakpoint so every rule here is
   inert on tablet/desktop. Goals: (a) fix the fixed CTA-bar overlapping the
   footer, (b) tighten vertical rhythm so the page reads compact on phones —
   no content is removed, only whitespace and oversized blocks are trimmed.
   ========================================================================== */
@media (max-width: 767.98px) {

  /* --- Global rhythm: shrink the section metronome + heading gaps --- */
  :root { --section-y: 50px; }
  .section__head { margin-bottom: 24px; }
  .section__head--pad { margin-bottom: 22px; }
  .section__head h2 { margin-top: 10px; }

  /* --- Uniform 28px for every h2 heading on mobile. Each selector matches (or
     exceeds) the specificity of its base rule and sits later in the cascade,
     so it wins without !important. --- */
  .trust__title,
  .about__display[data-split],
  .section__head h2,
  .group__title,
  .gallery__head h2[data-split],
  .modal__title { font-size: 28px; }

  /* Keep a little breathing room above the home indicator / screen edge. */
  .footer { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }

  /* --- HERO: pull the content off the very bottom, tighten sub + CTA --- */
  .hero__content { padding-bottom: 72px; }
  .hero__sub { margin-top: 14px; }
  .hero__cta { margin-top: 22px; }

  /* --- Full-width pill CTAs across the whole mobile layout: Schedule a Visit,
     Download Brochure, Request Floor Plans, the amenity "Explore" buttons and
     both Submit buttons. Label sits left, arrow disc pinned right. --- */
  .pill { width: 100%; }

  /* --- TRUST: compact + refined 2x2 glass stat-cards (mobile only) --- */
  .trust { padding-top: 20px; padding-bottom: 20px; }
  .trust__head { margin-bottom: 12px; }
  .trust__title { margin-top: 6px; }
  .trust__rule { width: 62%; margin-inline: auto; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 14px 0 0; }
  /* each stat becomes a self-contained gold-tinted glass card (overrides the
     desktop hairline-divider treatment) */
  .trust-stat, .trust-stat:nth-child(odd) {
    border: 1px solid rgba(201,162,75,0.16); border-radius: 14px;
    padding: 15px 8px 13px;
    background: linear-gradient(158deg, rgba(201,162,75,0.075) 0%, rgba(244,239,230,0.015) 62%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 12px 26px -20px rgba(0,0,0,0.75); }
  /* gold-gradient numerals with a soft glow, tighter */
  .trust-stat__num {
    font-size: clamp(2rem, 8.4vw, 2.7rem); line-height: 1;
    background: linear-gradient(180deg, var(--color-gold-soft), var(--color-gold));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; text-shadow: none;
    filter: drop-shadow(0 2px 12px rgba(201,162,75,0.28)); }
  .trust-stat__label { margin-top: 6px; font-size: 0.6rem; letter-spacing: 0.13em; }

  /* --- QUOTE BAND: trim the generous inner padding --- */
  .quote-band__inner { padding-top: 42px; padding-bottom: 42px; }

  /* --- ABOUT: bring the figure + panel closer to the headline + compress rows --- */
  .about__figure { margin-top: 22px; }
  .about__panel { margin-top: 20px; padding: 24px 22px 22px; }
  .about__panel-eyebrow { margin-bottom: 10px; }
  .about__panel-lede { font-size: 1.02rem; line-height: 1.5; margin-bottom: 0; }
  .about__specs { gap: 12px 22px; padding-top: 16px; margin-bottom: 16px; }
  .about__spec { gap: 12px; }
  .about__spec-ic { width: 38px; height: 38px; padding: 9px; }
  .about__spec-txt { gap: 2px; }

  /* --- RESIDENCES: tighter heading + calmer table/fact density --- */
  .residences { padding-top: 26px; }
  .tabs__facts { gap: 10px; }
  .fact { padding: 12px 14px; }
  .unit-table th, .unit-table td { padding: 12px 8px; }
  .residences__foot { margin-top: 20px; }
  /* the note lives inside each accordion card on mobile, not in the footer */
  .tabs__note { display: flex; }
  .residences__note--foot { display: none; }

  /* --- RESIDENCES: the whole unit block is ONE accordion card ---
     Card (panel-inner) stacks: floor-plan render → hairline → "View Unit
     Details" header → collapsible unit info. Tapping the header expands the
     card downward to reveal the title/facts/table for that tower. --- */
  .tabs__plate-tag { display: none; }              /* drop the "Isometric View" pill */

  /* panel-inner is the bordered card that wraps the image, header and info */
  .tabs__panel-inner {
    border: 1px solid rgba(201,162,75,0.24); border-radius: 18px;
    overflow: hidden;
    background:
      linear-gradient(160deg, rgba(244,239,230,0.05), rgba(244,239,230,0.008)),
      var(--color-bg-secondary);
    box-shadow: 0 40px 80px -50px rgba(0,0,0,0.9), inset 0 1px 0 rgba(244,239,230,0.05);
  }
  /* the plan render now just sits inside the card - drop its own frame */
  .tabs__media { margin-bottom: 0; padding: clamp(14px, 3vw, 26px);
    border: 0; border-radius: 0; background: transparent; box-shadow: none; }

  /* accordion header: a plain full-width row, split from the plan by a hairline */
  .tabs__toggle {
    position: static; display: flex; align-items: center;
    justify-content: space-between; gap: 10px;
    width: 100%; min-height: 56px; margin: 0; padding: 0 22px;
    border: 0; border-top: 1px solid var(--color-hairline); border-radius: 0;
    background: transparent; color: var(--color-gold-soft);
    -webkit-backdrop-filter: none; backdrop-filter: none;
    font-family: var(--font-body); font-weight: 500; font-size: 0.74rem;
    letter-spacing: 0.16em; text-transform: uppercase; text-align: left;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .3s var(--ease-out);
  }
  .tabs__toggle:hover,
  .tabs__toggle[aria-expanded="true"] { background: rgba(201,162,75,0.05); }
  .tabs__toggle-chev { width: 18px; height: 18px; flex: none; color: var(--color-gold);
    transition: transform .4s var(--ease-out); }
  .tabs__toggle[aria-expanded="true"] .tabs__toggle-chev { transform: rotate(180deg); }

  /* collapsible unit info - expands within the card, beneath the header */
  .tabs__reveal {
    display: grid; grid-template-rows: 0fr; visibility: hidden;
    transition: grid-template-rows .5s var(--ease-out), visibility 0s linear .5s;
  }
  .tabs__reveal > .tabs__data { overflow: hidden; min-height: 0; padding: 0 22px; }
  .tabs__panel.is-layout-open .tabs__reveal {
    grid-template-rows: 1fr; visibility: visible;
    transition: grid-template-rows .5s var(--ease-out), visibility 0s;
  }
  .tabs__panel.is-layout-open .tabs__reveal > .tabs__data {
    border-top: 1px solid var(--color-hairline); padding-top: 20px; padding-bottom: 24px; }

  /* --- GROUP marquee band --- */
  .group { padding: 32px 0; }
  .group__head { margin-bottom: 24px; }
  /* keep the heading on a single line - the title is ~12.96x its font-size wide,
     so size it from the available width (100vw minus the 22px gutters) to fit
     without wrapping; cap it on larger phones. */
  .group__title { white-space: nowrap; text-wrap: nowrap; margin-top: 5px;
    font-size: min(2rem, calc((100vw - 46px) / 13.2)); }

  /* --- AMENITIES: the biggest space sink. Tighten every layer of the
     stacked cards (outer pad, inner glass card, panel gaps) — content stays,
     only the padding shrinks. --- */
  .amenities { padding-top: 36px; }
  .amenities__intro { margin-bottom: 18px; }
  .stack-card { padding: 22px 16px 14px; margin-bottom: 12px; }
  /* Number + heading: heading on the left, small gold index pinned to the
     card's top-right corner, aligned with the heading's cap line. */
  .stack-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
  .stack-card__title { order: 0; font-size: clamp(1.7rem, 6.8vw, 2.2rem);
    line-height: 1.05; letter-spacing: -0.015em; }
  .stack-card__no { order: 1; flex: none; display: block; padding-top: 0.35em; margin: 0;
    font-family: var(--font-body); font-weight: 500;
    font-size: 0.66rem; letter-spacing: 0.2em; color: var(--color-gold); }
  .stack-card__no::after { display: none; }
  .stack-card__panel { margin-top: 12px; gap: 12px; }
  .stack-card__info { padding: 16px 16px; }
  .stack-card__quote { margin-bottom: 8px; }
  .stack-card__body { margin-bottom: 10px; line-height: 1.5; }
  /* swap the long paragraph for the condensed one to shorten each card */
  .stack-card__body:not(.stack-card__body--sm) { display: none; }
  .stack-card__body--sm { display: block; }
  .stack-card__cta { margin-top: 10px; }
  /* a shorter, wider crop trims image height too */
  .stack-card__media img { aspect-ratio: 2 / 1; }

  /* --- GALLERY: kill the empty vertical air around the single visible frame --- */
  .gallery { padding-top: 22px; }
  .gallery__head { margin-bottom: 20px; }
  .gallery__scene { height: 230px; }
  .gallery__nav { margin-top: 18px; }

  /* --- STATEMENT --- */
  .statement { padding-top: 44px; padding-bottom: 44px; gap: 18px; }

  /* --- FINAL CTA + FORM --- */
  .cta { padding-top: 46px; padding-bottom: 46px; }
  .cta__grid { gap: 30px; }
  .cta__lead .eyebrow { margin-bottom: 14px; }
  .cta__statement { margin-bottom: 18px; }
  .cta__lede { margin-bottom: 22px; }
  .cta__contact { padding-top: 20px; }
  .enquiry-card { padding: 20px 20px; }
  .enquiry-card__head { margin-bottom: 14px; padding-bottom: 12px; gap: 12px; }
  .enquiry-card__mark { width: 40px; height: 40px; }
  .enquiry, .enquiry__row { gap: 2px; }
  .field input { min-height: 42px; padding: 5px 2px; }
  .enquiry__config { margin-top: 14px; }
  /* Stack the two option cards on phones so "3 BHK + Servant" fits on one line
     (side-by-side is too narrow for the single-line label at this width). */
  .config-chips { flex-direction: column; }
  .chip { min-height: 58px; }
  .enquiry__actions { margin-top: 8px; }
  .enquiry__submit { min-height: 52px; }
  .enquiry__consent { margin-top: 10px; }

  /* --- FOOTER: tighter top before the clearance padding above --- */
  .footer { padding-top: 28px; }
  .footer__flourish { margin-top: 16px; }

  /* Mobile footer top: logo on the LEFT, tagline on the RIGHT, split by a thin
     golden hairline; disclaimer + base stack full-width below (unchanged).
     .footer__grid is display:contents here, so logo/tagline/disclaimer are direct
     grid items of .footer__inner. */
  .footer__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "logo tag"
      "disc disc"
      "base base";
    align-items: stretch;
    column-gap: clamp(16px, 4.5vw, 24px);
    row-gap: clamp(22px, 5.5vw, 30px);
    text-align: left;
  }
  .brand--footer { grid-area: logo; align-self: center; margin: 0; }
  .footer__tag {
    grid-area: tag; display: flex; align-items: center;
    min-width: 0; max-width: none; text-align: left;
    padding-left: clamp(16px, 4.5vw, 24px);
    border-left: 1px solid rgba(201, 162, 75, 0.45);
  }
  .footer__disclaimer { grid-area: disc; }
  .footer__base { grid-area: base; }
}

/* =============================================================
   UPDATES — contact rows · locked field · privacy consent · modal
   ============================================================= */

/* (2) Contact: address + RERA rows now match the phone item */
.cta__line { display: inline-flex; align-items: center; gap: 14px; width: fit-content; max-width: 100%; }
.cta__addr .cta__line-text { font-size: 1rem; line-height: 1.5; color: var(--color-gold); max-width: 34ch; }
.cta__line-text:hover { color: var(--color-gold-soft); }
.cta__line-ic { flex: none; width: clamp(38px, 3vw, 46px); height: clamp(38px, 3vw, 46px);
  display: grid; place-items: center; border: 1px solid rgba(201,162,75,0.4); border-radius: 50%;
  color: var(--color-gold); }
.cta__line-text:hover .cta__line-ic { border-color: var(--color-gold); background: rgba(201,162,75,0.14); }
.cta__line-ic svg { width: 46%; height: 46%; }
.cta__rera .cta__line-text { font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(244,239,230,0.5); }

/* (1) Locked "Project Name" field — light form + dark modal */
.field--locked input,
.vfield--locked input { color: var(--color-gold-soft); cursor: default; opacity: .92;
  -webkit-text-fill-color: var(--color-gold-soft); }
.field--locked input:hover,
.field--locked input:focus { border-bottom-color: var(--color-hairline); }
.vfield--locked input:hover,
.vfield--locked input:focus { border-bottom-color: rgba(244,239,230,0.28); }

/* (1) Privacy consent checkbox — adapts to light card + dark modal */
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px;
  font-size: 0.78rem; line-height: 1.5; color: var(--color-cream-dim); cursor: pointer; text-align: left; }
.consent__box { flex: none; width: 16px; height: 16px; margin-top: 1px;
  accent-color: var(--color-gold); cursor: pointer; }
.consent__text { flex: 1 1 auto; }
.consent__link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
  color: var(--color-gold); text-decoration: underline; text-underline-offset: 2px; }
.consent__link:hover { color: var(--color-gold-soft); }

/* (3) Footer Privacy Policy button */
.footer__legal { margin-top: 14px; }
.footer__privacy { background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
  font-size: 0.8rem; letter-spacing: 0.02em; color: var(--color-gold);
  text-decoration: underline; text-underline-offset: 3px; transition: color .3s var(--ease-out); }
.footer__privacy:hover { color: var(--color-gold-soft); }

/* Privacy Policy modal (sits above the visit modal) */
.modal--privacy { z-index: 10000; }
.modal--privacy .modal__dialog { max-width: 640px; }
.privacy-copy { font-size: 0.9rem; line-height: 1.7; color: var(--color-cream-dim); }
.privacy-copy h3 { font-family: var(--font-display); font-weight: 400; font-size: 1rem;
  color: var(--color-cream); margin: 18px 0 6px; letter-spacing: 0.01em; }
.privacy-copy p { margin: 0 0 10px; }
.privacy-copy__intro { color: var(--color-cream); }
.privacy-copy a { color: var(--color-gold); text-decoration: underline; text-underline-offset: 2px; }
.privacy-copy__note { font-size: 0.76rem; opacity: 0.7; margin-top: 14px;
  padding-top: 12px; border-top: 1px solid var(--color-hairline); }
.privacy-copy::-webkit-scrollbar { width: 6px; }
.privacy-copy::-webkit-scrollbar-thumb { background: rgba(201,162,75,0.4); border-radius: 3px; }

/* --- Bug-fix pass: visit row, compact modal, inline footer privacy link --- */
/* Phone + Email side by side in the Schedule-a-Visit form (fits without scroll) */
.vrow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 460px) { .vrow { grid-template-columns: 1fr; } }
/* tighten the visit form a touch so it sits within the viewport */
.visit-form { gap: 16px; }

/* Inline "Privacy Policy" link at the end of the footer disclaimer (same paragraph) */
.footer__privacy-link { display: inline; background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: var(--color-gold); cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px; transition: color .3s var(--ease-out); }
.footer__privacy-link:hover { color: var(--color-gold-soft); }

/* Honeypot — hidden field to catch spam bots */
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none; }
