/* ==========================================================================
   LNJ Buildcon — Website styles
   Tokens mirror docs/design-tokens.css
   ========================================================================== */

:root {
  --bronze-200: #D9C7AE;
  --bronze-300: #C4A984;
  --bronze-400: #B29370;
  --bronze-500: #A58667;
  --bronze-600: #8E7356;
  --bronze-700: #6F5A43;

  --ink-900: #121E28;
  --ink-800: #1B2A38;
  --ink-700: #26364A;
  --ink-600: #3A4856;
  --slate-400: #7C8792;

  --ivory: #FBF9F5;
  --cream: #F4EEE4;
  --sand: #E6DDD0;
  --white: #FFFFFF;

  --on-dark: #F3EEE6;
  --on-dark-muted: rgba(243, 238, 230, .68);
  --line-dark: rgba(217, 199, 174, .18);
  --error: #C9584C;

  --gradient-bronze: linear-gradient(135deg, #C4A984 0%, #A58667 45%, #8E7356 100%);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-label: "Michroma", "Manrope", sans-serif;

  --fs-display: clamp(2.75rem, 1.2rem + 6vw, 5.75rem);
  --fs-h1: clamp(2.25rem, 1.3rem + 3.4vw, 4rem);
  --fs-h3: clamp(1.5rem, 1.2rem + 1vw, 2rem);

  --container: 1280px;
  --gutter: clamp(1.25rem, .5rem + 3vw, 3rem);
  --section-y: clamp(4rem, 2.5rem + 5vw, 7rem);
  --header-h: 88px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--ivory);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--bronze-200); color: var(--ink-900); }
:focus-visible { outline: 2px solid var(--bronze-500); outline-offset: 3px; }
body.is-locked { overflow: hidden; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--ink-900); color: var(--on-dark); padding: .75rem 1rem; }
.skip:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.section { padding-block: var(--section-y); position: relative; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink-900); color: var(--on-dark); }
.section--dark p { color: var(--on-dark-muted); }

/* ---------- Type ---------- */
h1, h2, h3, .display, .h1 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.display { font-size: var(--fs-display); line-height: .98; }
.h1 { font-size: var(--fs-h1); }
em { font-style: italic; color: var(--bronze-600); }
.section--dark em, .hero em, .phero em, .film em { color: var(--bronze-300); }
.eyebrow {
  font-family: var(--font-label);
  font-size: .6875rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--bronze-700);
  line-height: 1.4;
}
.eyebrow--light { color: var(--bronze-300); }
.lead { font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); line-height: 1.42; color: var(--ink-900); margin-bottom: 1rem; }
p { color: var(--ink-600); }
.rule { display: block; width: 44px; height: 1px; background: var(--bronze-500); margin: 1rem 0 1.15rem; }
.rule--center { margin-inline: auto; }
.fine { font-size: .75rem; margin-top: 1.25rem; opacity: .7; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 1.05rem; --pad-x: 2rem;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  padding: var(--pad-y) var(--pad-x);
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  border-radius: 2px; border: 1px solid transparent; background: transparent;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease-out), border-color .4s var(--ease-out), background-color .4s var(--ease-out), transform .4s var(--ease-out);
  white-space: nowrap;
}
.btn--sm { --pad-y: .8rem; --pad-x: 1.35rem; font-size: .7rem; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform .4s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary { background: var(--gradient-bronze); color: var(--ink-900); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, #D9C7AE, #B29370);
  transform: translateX(-101%); transition: transform .6s var(--ease-out);
}
.btn--primary:hover::before { transform: translateX(0); }

.btn--ghost-light { border-color: rgba(243, 238, 230, .5); color: var(--on-dark); }
.btn--ghost-light:hover { background: var(--on-dark); color: var(--ink-900); border-color: var(--on-dark); }

.link { display: inline-flex; gap: .6rem; margin-top: 1.5rem; font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-700); position: relative; padding-bottom: 4px; }
.link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: currentColor; transform-origin: left; transition: transform .5s var(--ease-out); }
.link:hover::after { transform: scaleX(.35); }
.link .arrow { transition: transform .4s var(--ease-out); }
.link:hover .arrow { transform: translateX(4px); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300; background: var(--ink-900);
  display: grid; place-content: center; justify-items: center; gap: 1.5rem;
  transition: opacity .7s var(--ease-out), visibility .7s;
}
.loader__mark { width: 64px; opacity: 0; animation: loaderIn 1s var(--ease-out) .1s forwards; }
.loader__line { width: 120px; height: 1px; background: var(--line-dark); position: relative; overflow: hidden; }
.loader__line::after { content: ""; position: absolute; inset: 0; background: var(--bronze-400); transform: translateX(-100%); animation: loaderLine 1.1s var(--ease-in-out) .2s forwards; }
.loader.is-done { opacity: 0; visibility: hidden; }
@keyframes loaderIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes loaderLine { to { transform: translateX(0); } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--on-dark);
  transition: background-color .5s var(--ease-out), color .5s var(--ease-out), height .5s var(--ease-out), box-shadow .5s var(--ease-out), transform .5s var(--ease-out);
}
.header::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgba(243,238,230,.12); transition: background .5s; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .85rem; flex-shrink: 0; }
.brand__mark { height: 42px; width: auto; transition: height .5s var(--ease-out); }
.brand__word { position: relative; display: block; }
.brand__word img { height: 15px; width: auto; transition: opacity .4s; }
.brand__word--dark { position: absolute; inset: 0; opacity: 0; }

.nav { display: flex; align-items: center; gap: 2.25rem; }
.nav > a, .nav__toggle { font-size: .875rem; font-weight: 500; letter-spacing: .02em; position: relative; padding: .4rem 0; opacity: .9; display: inline-flex; align-items: center; gap: .4rem; }
.nav > a::after, .nav__toggle::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--bronze-400); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.nav > a:hover::after, .nav > a.is-active::after, .nav__toggle:hover::after, .nav__toggle.is-active::after, .has-drop:hover .nav__toggle::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 1rem; }
.header__phone { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(243,238,230,.3); border-radius: 50%; transition: border-color .4s, background .4s; }
.header__phone svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.header__phone:hover { border-color: var(--bronze-400); background: rgba(178,147,112,.12); }

.header.is-scrolled { background: rgba(251, 249, 245, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink-900); height: 74px; box-shadow: 0 8px 30px -18px rgba(18,30,40,.3); }
.header.is-scrolled::after { background: var(--sand); }
.header.is-scrolled .brand__mark { height: 36px; }
.header.is-scrolled .brand__word--light { opacity: 0; }
.header.is-scrolled .brand__word--dark { opacity: 1; }
.header.is-scrolled .header__phone { border-color: var(--sand); }
.header.is-hidden { transform: translateY(-100%); }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink-900); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: flex-start; gap: 2rem;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 3rem; overflow-y: auto;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-in-out); visibility: hidden;
}
.menu.is-open { clip-path: inset(0); visibility: visible; }
.menu__nav { display: grid; gap: .5rem; }
.menu__nav a { font-family: var(--font-display); font-size: clamp(2.25rem, 8vw, 3.5rem); line-height: 1.2; opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), color .3s; }
.menu__nav a:hover { color: var(--bronze-300); }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: .25s; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .31s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .37s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .43s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .49s; }
.menu .btn { align-self: flex-start; }
.header.menu-open { background: transparent; color: var(--on-dark); box-shadow: none; }
.header.menu-open .brand__word--light { opacity: 1; }
.header.menu-open .brand__word--dark { opacity: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--on-dark); overflow: hidden; background: var(--ink-900); }
.hero__media { position: absolute; inset: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 2.4s var(--ease-out); will-change: transform; }
.is-loaded .hero__video { transform: scale(1); }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,30,40,.62) 0%, rgba(18,30,40,.18) 38%, rgba(18,30,40,.35) 62%, rgba(18,30,40,.92) 100%),
    linear-gradient(90deg, rgba(18,30,40,.55) 0%, rgba(18,30,40,0) 60%);
}
.hero__content { position: relative; padding-top: calc(var(--header-h) + 4rem); padding-bottom: clamp(7rem, 12vh, 9rem); }
.hero__eyebrow { margin-bottom: 1.75rem; color: var(--bronze-200); }
.hero__content, .phero__content { text-shadow: 0 1px 18px rgba(18,30,40,.45); }
.hero__content .btn, .phero__content .btn { text-shadow: none; }
.hero__title { font-size: var(--fs-display); line-height: 1; max-width: 13ch; margin-bottom: 1.75rem; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; }
.hero__sub { max-width: 34rem; font-size: clamp(1rem, .95rem + .3vw, 1.1875rem); line-height: 1.5; color: rgba(243,238,230,.82); margin-bottom: 2.25rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Hero intro animation */
[data-hero] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.hero__title [data-hero] { opacity: 1; transform: translateY(110%); }
.is-loaded [data-hero] { opacity: 1; transform: none; }
.is-loaded .hero__eyebrow { transition-delay: .15s; }
.is-loaded .hero__title .line:nth-child(1) [data-hero] { transition-delay: .3s; }
.is-loaded .hero__title .line:nth-child(2) [data-hero] { transition-delay: .42s; }
.is-loaded .hero__sub { transition-delay: .65s; }
.is-loaded .hero__ctas { transition-delay: .8s; }

.hero__foot { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-block: 1.75rem; border-top: 1px solid rgba(243,238,230,.14); font-size: .8125rem; color: rgba(243,238,230,.75); }
.hero__now { display: flex; align-items: center; gap: .75rem; }
.hero__now strong { color: var(--on-dark); font-weight: 600; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bronze-400); box-shadow: 0 0 0 0 rgba(178,147,112,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(178,147,112,0); } 100% { box-shadow: 0 0 0 0 rgba(178,147,112,0); } }
.scroll-cue { display: flex; align-items: center; gap: .9rem; font-family: var(--font-label); font-size: .625rem; letter-spacing: .3em; text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 38px; background: rgba(243,238,230,.25); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--bronze-300); animation: drip 2s var(--ease-in-out) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 110ms); }
.reveal.is-in { opacity: 1; transform: none; }
/* Image reveal = a "curtain" overlay that slides away. Never hide the <img> itself with
   clip-path/opacity: Chrome then treats it as invisible and a loading="lazy" image is
   never downloaded, leaving a blank box. */
.reveal-img { position: relative; --curtain: var(--ivory); }
.section--cream .reveal-img { --curtain: var(--cream); }
.section--dark .reveal-img { --curtain: var(--ink-900); }
.reveal-img::after { content: ""; position: absolute; inset: 0; z-index: 3; background: var(--curtain); transform-origin: bottom; transition: transform 1.3s var(--ease-in-out); pointer-events: none; }
.reveal-img.is-in::after { transform: scaleY(0); }
.reveal-img img { transform: scale(1.12); transition: transform 1.8s var(--ease-out); }
.reveal-img.is-in img { transform: scale(1); }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2.5rem, 6vw, 7rem); align-items: end; }
.intro__right { padding-bottom: .5rem; }
.intro::before { content: ""; position: absolute; inset: 0; background: url("../assets/img/bg-towers.webp") right bottom / 70% auto no-repeat; opacity: .7; mix-blend-mode: multiply; pointer-events: none; }
.intro > * { position: relative; }

.stats-head { margin-top: clamp(3.5rem, 7vw, 5.5rem); margin-bottom: 1.25rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--sand); }
.stat { padding: 2.25rem 1.5rem 0; border-left: 1px solid var(--sand); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num, .stat__suffix { font-family: var(--font-display); font-weight: 600; font-size: clamp(3rem, 2rem + 3vw, 4.75rem); line-height: 1; color: var(--bronze-500); }
.stat__num--todo { color: var(--sand); }
.stat__label { display: block; margin-top: .9rem; font-family: var(--font-label); font-size: .625rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-600); }

/* ---------- Section heads ---------- */
.section-head { margin-bottom: clamp(2.25rem, 4.5vw, 3.75rem); }
.section-head--split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: end; }
.section-head--split .h1 { max-width: 16ch; }
.section-head__aside { max-width: 30rem; justify-self: end; }
.section-head--center { text-align: center; max-width: 52rem; margin-inline: auto; }
.section-head__sub { margin-top: 1.25rem; }

/* ---------- Project cards ---------- */
.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2vw, 1.75rem); }
.pcard { position: relative; display: block; overflow: hidden; border-radius: 4px; color: var(--on-dark); background: var(--ink-900); min-height: 420px; grid-column: span 4; }
.pcard--tall { grid-column: span 4; grid-row: span 2; min-height: 760px; }
.pcard:nth-child(2) { grid-column: span 4; }
.pcard:nth-child(3) { grid-column: span 4; }
.pcard--wide { grid-column: 5 / span 8; min-height: 320px; }
.pcard__img { position: absolute; inset: 0; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter 1s; filter: saturate(.92); }
.pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,30,40,.05) 30%, rgba(18,30,40,.88) 100%); transition: opacity .6s; }
.pcard:hover .pcard__img img { transform: scale(1.05); filter: saturate(1); }
.pcard__body { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1.5rem, 2.5vw, 2.25rem); }
.pcard__no { position: absolute; top: clamp(1.5rem, 2.5vw, 2.25rem); right: clamp(1.5rem, 2.5vw, 2.25rem); font-family: var(--font-display); font-size: 1.25rem; color: rgba(243,238,230,.7); }
.chip { position: absolute; top: clamp(1.5rem, 2.5vw, 2.25rem); left: clamp(1.5rem, 2.5vw, 2.25rem); padding: .45rem .9rem; border: 1px solid rgba(217,199,174,.6); border-radius: 999px; font-family: var(--font-label); font-size: .5625rem; letter-spacing: .22em; text-transform: uppercase; background: rgba(18,30,40,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.chip--live { border-color: var(--bronze-300); color: var(--bronze-200); }
.chip--live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: .55rem; border-radius: 50%; background: var(--bronze-300); vertical-align: 1px; animation: pulse 2.4s infinite; }
.pcard__title { font-size: clamp(1.875rem, 1.4rem + 1.3vw, 2.625rem); line-height: 1.05; margin-bottom: .4rem; }
.pcard__meta { font-size: .875rem; color: rgba(243,238,230,.72); }
.pcard__cta { margin-top: 1.25rem; display: inline-flex; gap: .6rem; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-300); max-height: 0; opacity: 0; transform: translateY(8px); transition: all .6s var(--ease-out); }
.pcard:hover .pcard__cta, .pcard:focus-visible .pcard__cta { max-height: 2rem; opacity: 1; transform: none; }

/* ---------- Spotlight ---------- */
.spotlight__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 6.5rem); align-items: center; }
.spotlight__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.spotlight__media img { width: 100%; height: 100%; object-fit: cover; }
.spotlight__tag { position: absolute; left: 0; bottom: 2rem; background: var(--gradient-bronze); color: var(--ink-900); padding: .75rem 1.25rem; font-family: var(--font-label); font-size: .5625rem; letter-spacing: .24em; text-transform: uppercase; }
.spotlight__text .h1 { margin-bottom: 1.5rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 2.5rem 0; border-top: 1px solid var(--line-dark); }
.facts div { padding: 1.25rem 0; border-bottom: 1px solid var(--line-dark); }
.facts div:nth-child(odd) { padding-right: 1.5rem; border-right: 1px solid var(--line-dark); }
.facts div:nth-child(even) { padding-left: 1.5rem; }
.facts dt { font-family: var(--font-label); font-size: .5625rem; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze-300); margin-bottom: .45rem; }
.facts dd { font-family: var(--font-display); font-size: 1.5rem; margin: 0; }
.spotlight__ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Lifestyle ---------- */
.lifestyle__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(140px, 14vw, 200px); gap: clamp(.75rem, 1.5vw, 1.25rem); }
.ltile { position: relative; overflow: hidden; border-radius: 4px; background: var(--cream); }
.ltile img { width: 100%; height: 100%; object-fit: cover; }
.ltile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1.5rem 1.25rem; background: linear-gradient(180deg, transparent, rgba(18,30,40,.8)); color: var(--on-dark); font-family: var(--font-display); font-size: 1.375rem; display: flex; align-items: baseline; gap: .85rem; }
.ltile figcaption span { font-family: var(--font-label); font-size: .5625rem; letter-spacing: .2em; color: var(--bronze-300); }
.ltile--a { grid-column: 1 / 8; grid-row: 1 / 4; }
.ltile--b { grid-column: 8 / 13; grid-row: 1 / 3; }
.ltile--c { grid-column: 8 / 13; grid-row: 3 / 6; }
.ltile--d { grid-column: 1 / 5; grid-row: 4 / 6; }
.ltile--e { grid-column: 5 / 8; grid-row: 4 / 6; }
.ltile:hover img { transform: scale(1.04); transition: transform 1.4s var(--ease-out); }

/* ---------- Film ---------- */
.film { position: relative; min-height: 88vh; display: flex; align-items: center; color: var(--on-dark); overflow: hidden; background: var(--ink-900); }
.film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(18,30,40,.55) 0%, rgba(18,30,40,.85) 100%); }
.film__content { position: relative; text-align: center; display: grid; justify-items: center; gap: 1.5rem; }
.film .display { max-width: 14ch; }
.play { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 1.25rem; background: none; border: 0; cursor: pointer; color: var(--on-dark); }
.play__ring { position: relative; width: 84px; height: 84px; border-radius: 50%; border: 1px solid rgba(243,238,230,.5); display: grid; place-items: center; transition: background .5s, border-color .5s; }
.play__ring::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(178,147,112,.4); animation: ring 2.8s var(--ease-out) infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
.play__ring svg { width: 22px; fill: currentColor; margin-left: 3px; }
.play:hover .play__ring { background: var(--bronze-500); border-color: var(--bronze-500); color: var(--ink-900); }
.play__label { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- Why ---------- */
.why { overflow: hidden; }
.why__bg { position: absolute; left: -10%; bottom: -10%; width: 70%; opacity: .7; mix-blend-mode: multiply; pointer-events: none; }
.why .container { position: relative; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--sand); }
.pillar { padding: 2.75rem 2.25rem 2.75rem 0; border-bottom: 1px solid var(--sand); transition: background .5s; }
.pillar:not(:nth-child(3n+1)) { padding-left: 2.25rem; border-left: 1px solid var(--sand); }
.pillar svg { width: 40px; height: 40px; fill: none; stroke: var(--bronze-500); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.75rem; transition: transform .6s var(--ease-out); }
.pillar:hover svg { transform: translateY(-4px); }
.pillar h3 { font-size: 1.625rem; margin-bottom: .6rem; }
.pillar p { font-size: .9375rem; max-width: 30ch; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 28px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--bronze-500), var(--sand)); }
.step { position: relative; padding-right: 1.5rem; }
.step__no { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--cream); border: 1px solid var(--bronze-500); font-family: var(--font-display); font-size: 1.25rem; color: var(--bronze-700); margin-bottom: 1.75rem; transition: background .5s, color .5s; }
.step:hover .step__no { background: var(--bronze-500); color: var(--ink-900); }
.step h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.step p { font-size: .9375rem; }

/* ---------- Promise ---------- */
.promise { overflow: hidden; text-align: center; }
.promise__bg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 100%; width: auto; max-width: none; opacity: .8; mix-blend-mode: multiply; filter: sepia(.35) saturate(.6); pointer-events: none; }
.promise__inner { position: relative; }
.promise__mark { width: 54px; margin: 0 auto 2.25rem; fill: var(--bronze-200); }
.promise blockquote { font-family: var(--font-display); font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3.25rem); line-height: 1.14; color: var(--ink-900); text-wrap: balance; }
.promise__by { margin-top: 2rem; font-family: var(--font-label); font-size: .625rem; letter-spacing: .28em; text-transform: uppercase; color: var(--bronze-700); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--ivory); padding-bottom: var(--section-y); }
.marquee__track { display: flex; gap: 1.25rem; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { height: clamp(220px, 26vw, 360px); width: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; filter: saturate(.9); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7.5rem); align-items: start; }
.contact__info .h1 { margin-bottom: 1.25rem; }
.contact__list { margin-top: 2.75rem; border-top: 1px solid var(--line-dark); }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-dark); align-items: baseline; }
.contact__list span { font-family: var(--font-label); font-size: .5625rem; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze-300); }
.contact__list a, .contact__list address, .contact__list p { font-style: normal; color: var(--on-dark); font-size: 1rem; }
.contact__list a:hover { color: var(--bronze-300); }

.form { background: var(--ink-800); border: 1px solid var(--line-dark); padding: clamp(2rem, 4vw, 3.25rem); border-radius: 4px; position: relative; }
.form::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gradient-bronze); }
.form__title { font-size: 2rem; margin-bottom: 2rem; }
.field { position: relative; margin-bottom: 1.6rem; }
.field input, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(243,238,230,.22);
  padding: 1.5rem 0 .6rem; font-size: 1rem; color: var(--on-dark); border-radius: 0; outline: none;
  transition: border-color .4s; appearance: none; -webkit-appearance: none;
}
.field select { cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23C4A984' stroke-width='1.2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 4px center / 11px no-repeat; }
.field select option { background: var(--ink-800); color: var(--on-dark); }
.field input[type="date"] { color-scheme: dark; }
.field label { position: absolute; left: 0; top: 1.4rem; font-size: 1rem; color: rgba(243,238,230,.55); pointer-events: none; transition: all .35s var(--ease-out); }
.field input:focus, .field select:focus { border-color: var(--bronze-400); }
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field select:focus + label,
.field select:valid + label,
.label--fixed { top: 0 !important; font-size: .6875rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-300) !important; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.field__err { display: none; color: var(--error); font-size: .75rem; margin-top: .4rem; }
.is-invalid .field__err, .field__err--consent.is-shown { display: block; }
.is-invalid input, .is-invalid select { border-color: var(--error); }
.consent { display: flex; gap: .85rem; align-items: flex-start; font-size: .8125rem; color: var(--on-dark-muted); margin: .5rem 0 .5rem; cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 18px; height: 18px; border: 1px solid rgba(243,238,230,.4); border-radius: 2px; margin-top: 2px; cursor: pointer; display: grid; place-items: center; transition: all .3s; }
.consent input:checked { background: var(--bronze-400); border-color: var(--bronze-400); }
.consent input:checked::after { content: ""; width: 5px; height: 9px; border: solid var(--ink-900); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.form .btn { margin-top: 1.75rem; }
.form__success { margin-top: 1.25rem; color: var(--bronze-200) !important; font-family: var(--font-display); font-size: 1.25rem; min-height: 1px; }

/* ---------- Footer ---------- */
.footer { background: #0D1720; color: var(--on-dark-muted); padding-top: clamp(4rem, 8vw, 6.5rem); position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gradient-bronze); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; padding-bottom: 4rem; }
.footer__logo { width: 120px; margin-bottom: 1.75rem; }
.footer__brand p { max-width: 30ch; font-size: .9375rem; color: var(--on-dark-muted); }
.footer h4 { font-family: var(--font-label); font-weight: 400; font-size: .625rem; letter-spacing: .26em; text-transform: uppercase; color: var(--bronze-300); margin-bottom: 1.5rem; }
.footer li { margin-bottom: .75rem; font-size: .9375rem; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--bronze-300); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 1.75rem; border-top: 1px solid var(--line-dark); font-size: .8125rem; }
.footer__bottom p { color: rgba(243,238,230,.5); }
.footer__rera { flex: 1; text-align: center; }
.social { display: flex; gap: .75rem; }
.social a { width: 38px; height: 38px; border: 1px solid var(--line-dark); border-radius: 50%; display: grid; place-items: center; transition: border-color .3s, background .3s; }
.social svg { width: 16px; fill: none; stroke: var(--bronze-300); stroke-width: 1.5; stroke-linejoin: round; }
.social a:hover { border-color: var(--bronze-400); background: rgba(178,147,112,.1); }

/* ---------- WhatsApp float ---------- */
.wa { position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25D366; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; box-shadow: 0 14px 34px -10px rgba(37,211,102,.55); transition: transform .5s var(--ease-out), background .4s, box-shadow .4s; opacity: 0; transform: translateY(20px); pointer-events: none; }
.wa.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.wa svg { width: 26px; fill: none; stroke: #fff; stroke-width: 1.75; stroke-linejoin: round; }
.wa:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 18px 38px -10px rgba(37,211,102,.7); }
.wa:hover svg { stroke: #fff; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(13,23,32,.96); display: grid; place-items: center; padding: 4rem var(--gutter); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease-out), visibility .5s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__video { width: min(1200px, 100%); max-height: 80vh; background: #000; }
.lightbox__close { position: absolute; top: 1.5rem; right: 1.5rem; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-dark); background: none; color: var(--on-dark); font-size: 1.75rem; line-height: 1; cursor: pointer; transition: background .3s; }
.lightbox__close:hover { background: var(--bronze-500); color: var(--ink-900); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__actions .btn { display: none; }
  .pcard, .pcard--tall, .pcard:nth-child(2), .pcard:nth-child(3), .pcard--wide { grid-column: span 6; grid-row: auto; min-height: 460px; }
  .pcard--wide { grid-column: span 12; min-height: 380px; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 3rem; }
  .steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .intro__grid, .section-head--split, .spotlight__grid, .contact__grid { grid-template-columns: 1fr; }
  .section-head__aside { justify-self: start; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { padding-bottom: 2rem; border-bottom: 1px solid var(--sand); }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar, .pillar:not(:nth-child(3n+1)) { padding: 2.25rem 1.5rem 2.25rem 0; border-left: 0; }
  .pillar:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--sand); }
  .lifestyle__grid { grid-auto-rows: 160px; }
  .ltile--a { grid-column: 1 / -1; grid-row: span 2; }
  .ltile--b, .ltile--c { grid-column: span 6; grid-row: span 2; }
  .ltile--d { grid-column: span 7; grid-row: span 2; }
  .ltile--e { grid-column: span 5; grid-row: span 2; }
  .spotlight__media { aspect-ratio: 4 / 3; }
  .footer__rera { text-align: left; flex-basis: 100%; order: 3; }
}

@media (max-width: 600px) {
  :root { --header-h: 76px; }
  .brand__mark { height: 36px; }
  .brand__word img { height: 12px; }
  .header__phone { display: none; }
  .hero__content { padding-bottom: 8rem; }
  .hero__overlay { background: linear-gradient(180deg, rgba(18,30,40,.55) 0%, rgba(18,30,40,.55) 35%, rgba(18,30,40,.72) 65%, rgba(18,30,40,.94) 100%); }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__now { font-size: .75rem; }
  .pcard, .pcard--tall, .pcard:nth-child(2), .pcard:nth-child(3), .pcard--wide { grid-column: 1 / -1; min-height: 420px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar:nth-child(even), .pillar:not(:nth-child(3n+1)) { padding: 2rem 0; border-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.25rem; }
  .step__no { grid-row: span 2; margin-bottom: 0; }
  .ltile--b, .ltile--c, .ltile--d, .ltile--e { grid-column: 1 / -1; }
  .ltile--e { grid-row: span 2; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact__list li { grid-template-columns: 1fr; gap: .3rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .film { min-height: 70vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, [data-hero] { opacity: 1 !important; transform: none !important; }
  .reveal-img::after { display: none !important; }
  .reveal-img img { transform: none !important; }
}

/* ==========================================================================
   v2 — Dropdown, project pages, gallery, contact cards, map
   ========================================================================== */

/* ---------- Projects dropdown ---------- */
.nav__item { position: relative; }
.chev { width: 10px; height: 8px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .4s var(--ease-out); }
.has-drop:hover .chev, .has-drop.is-open .chev { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 18px); left: 50%;
  width: 600px; display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--ivory); color: var(--ink-900);
  border: 1px solid var(--sand); border-top: 2px solid var(--bronze-500); border-radius: 2px;
  box-shadow: 0 30px 60px -24px rgba(18,30,40,.35);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility .35s;
}
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; } /* hover bridge */
.has-drop:hover .drop, .has-drop:focus-within .drop, .has-drop.is-open .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop__col { padding: 1.5rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .25rem; }
.drop__col + .drop__col { border-left: 1px solid var(--sand); background: var(--cream); }
.drop__label { display: flex; align-items: center; gap: .55rem; font-family: var(--font-label); font-size: .5625rem; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze-700); margin: 0 .5rem .6rem; }
.drop__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bronze-500); animation: pulse 2.4s infinite; }
.drop__dot--done { animation: none; background: var(--ink-600); }
.drop__link { display: flex; align-items: center; gap: .9rem; padding: .55rem .5rem; border-radius: 2px; transition: background .3s; }
.drop__link:hover { background: rgba(165,134,103,.12); }
.drop__link img { width: 64px; height: 46px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }
.drop__link strong { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; line-height: 1.1; }
.drop__link small { display: block; font-size: .75rem; color: var(--ink-600); line-height: 1.3; }
.drop__all { margin: auto .5rem 0; padding-top: 1rem; font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-700); display: inline-flex; gap: .5rem; }
.drop__all:hover .arrow { transform: translateX(4px); }
.drop__all .arrow { transition: transform .4s var(--ease-out); }

/* Mobile submenu */
.menu__sub-toggle { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; font-family: var(--font-display); font-size: clamp(2.25rem, 8vw, 3.5rem); line-height: 1.2; display: inline-flex; align-items: center; gap: .8rem; opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: .37s; }
.menu.is-open .menu__sub-toggle { opacity: 1; transform: none; }
.menu__sub-toggle .chev { width: 16px; height: 12px; }
.menu__sub-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.menu__sub { display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows .5s var(--ease-out); padding-left: .25rem; }
.menu__sub > * { min-height: 0; }
.menu__sub.is-open { grid-template-rows: 1fr; }
.menu__sub-inner { overflow: hidden; display: grid; gap: .35rem; padding: 0; transition: padding .4s var(--ease-out); }
.menu__sub.is-open .menu__sub-inner { padding: .5rem 0 1rem; }
.menu__sub p { font-family: var(--font-label); font-size: .5625rem; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze-300); margin-top: .6rem; }
.menu__sub a { font-size: 1.125rem; color: var(--on-dark-muted); }
.menu__sub a:hover { color: var(--bronze-300); }
.menu__foot { display: grid; gap: .35rem; font-size: .9375rem; color: var(--on-dark-muted); }
.menu .menu__nav > a { opacity: 0; transform: translateY(20px); }

/* ---------- Stats ---------- */
.stat__num, .stat__suffix { letter-spacing: -.01em; }

/* ---------- Contact cards ---------- */
.ccards { display: grid; gap: 1rem; margin-top: 2rem; }
.ccard { display: flex; gap: 1.1rem; padding: 1.35rem 1.5rem; background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); border-radius: 4px; transition: border-color .4s, background .4s; }
.ccard:hover { border-color: rgba(178,147,112,.45); background: rgba(255,255,255,.05); }
.ccard__icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; border: 1px solid rgba(178,147,112,.45); display: grid; place-items: center; }
.ccard__icon svg { width: 18px; fill: none; stroke: var(--bronze-300); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.ccard h3 { font-size: 1.375rem; color: var(--on-dark); margin-bottom: .3rem; display: flex; align-items: center; gap: .6rem; }
.ccard h3::before { content: ""; width: 18px; height: 1px; background: var(--bronze-400); }
.ccard address, .ccard a { font-style: normal; color: var(--on-dark-muted); font-size: .9375rem; line-height: 1.5; }
.ccard a { color: var(--on-dark); font-weight: 600; letter-spacing: .01em; }
.ccard a:hover { color: var(--bronze-300); }
.ccard small { display: block; margin-top: .35rem; font-size: .8125rem; color: var(--on-dark-muted); }

/* ---------- Map ---------- */
.map { background: var(--ink-900); line-height: 0; }
.map iframe { width: 100%; height: clamp(320px, 40vw, 460px); border: 0; filter: grayscale(.85) sepia(.15) contrast(.95); transition: filter .6s; }
.map:hover iframe { filter: none; }

/* ---------- Marquee CTA ---------- */
.marquee__track { cursor: pointer; }
.marquee__cta { text-align: center; margin-top: 1.5rem; }

/* ---------- Project page hero ---------- */
.phero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-end; color: var(--on-dark); overflow: hidden; background: var(--ink-900); }
.phero--short { min-height: 62vh; min-height: 62svh; }
.phero .hero__video { position: absolute; inset: 0; object-fit: cover; }
.phero__content { position: relative; padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(6.5rem, 12vh, 8.5rem); }
.phero--short .phero__content { padding-bottom: clamp(3.5rem, 8vh, 5rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: .6rem; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(243,238,230,.65); margin-bottom: 1.5rem; }
.crumbs a:hover { color: var(--bronze-300); }
.crumbs span:last-child { color: var(--bronze-300); }
.chip--static { position: static; display: inline-block; margin-bottom: 1.25rem; }
.phero__title { font-size: var(--fs-display); line-height: .98; margin-bottom: .6rem; }
.phero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.phero__title .line > span { display: inline-block; }
.phero__tag { font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); color: var(--on-dark); line-height: 1.15; margin-bottom: 1rem; }
.phero__loc { display: flex; align-items: center; gap: .5rem; color: rgba(243,238,230,.78); font-size: .9375rem; margin-bottom: 2rem; }
.phero__loc svg { width: 16px; fill: none; stroke: var(--bronze-300); stroke-width: 1.6; }
.phero .btn svg { width: 14px; fill: currentColor; }
.phero .hero__ctas .btn { font-family: inherit; }
.is-loaded .phero__content .crumbs { transition-delay: .1s; }
.is-loaded .phero__title [data-hero] { transition-delay: .3s; }
.is-loaded .phero__tag { transition-delay: .5s; }
.is-loaded .phero__loc { transition-delay: .6s; }
.is-loaded .phero .hero__ctas { transition-delay: .7s; }
.phero__title [data-hero] { opacity: 1; transform: translateY(110%); }
.is-loaded .phero__title [data-hero] { transform: none; }

/* Fact bar */
.factbar { background: var(--ink-900); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.factbar__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.factbar__inner div { padding: 1.6rem 1.5rem; border-left: 1px solid var(--line-dark); }
.factbar__inner div:first-child { border-left: 0; padding-left: 0; }
.factbar dt { font-family: var(--font-label); font-size: .5625rem; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze-300); margin-bottom: .35rem; }
.factbar dd { margin: 0; font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + .7vw, 1.625rem); line-height: 1.15; }

/* Overview */
.overview__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.overview .h1 { font-size: clamp(1.875rem, 1.3rem + 1.9vw, 2.875rem); line-height: 1.08; }
.overview__text p + p { margin-top: 1rem; }
.overview__text p:first-child { font-size: 1.125rem; color: var(--ink-900); line-height: 1.5; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.5rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--sand); }
.checks li { display: flex; gap: .7rem; align-items: flex-start; font-size: .9375rem; color: var(--ink-900); line-height: 1.35; }
.checks svg { width: 18px; flex-shrink: 0; fill: none; stroke: var(--bronze-500); stroke-width: 1.8; margin-top: 1px; }

/* Project gallery grid */
.ggrid--project { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(150px, 15vw, 220px); gap: clamp(.6rem, 1.2vw, 1rem); }
.gtile { position: relative; overflow: hidden; border-radius: 3px; cursor: zoom-in; background: var(--sand); }
.gtile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.gtile:hover img { transform: scale(1.05); }
.ggrid--project .gtile:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.ggrid--project .gtile:nth-child(2) { grid-column: span 2; grid-row: span 1; }
.ggrid--project .gtile:nth-child(3) { grid-column: span 2; grid-row: span 1; }
.ggrid--project .gtile:nth-child(n+4) { grid-column: span 2; grid-row: span 1; }

/* Progress */
.progress__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: end; }

/* Others */
.others__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.others__grid .pcard { min-height: 400px; grid-column: auto; }
.disclaimer { margin-top: 2.5rem; font-size: .75rem; color: var(--slate-400); max-width: 70ch; }

/* ---------- Gallery page ---------- */
.ftabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.ftab { background: none; border: 1px solid var(--sand); border-radius: 999px; padding: .6rem 1.15rem; font-size: .8125rem; font-weight: 500; cursor: pointer; color: var(--ink-600); transition: all .35s var(--ease-out); }
.ftab:hover { border-color: var(--bronze-500); color: var(--ink-900); }
.ftab.is-active { background: var(--ink-900); border-color: var(--ink-900); color: var(--on-dark); }
.ggrid--masonry { columns: 3; column-gap: 1rem; }
.ggrid--masonry .gtile { break-inside: avoid; margin-bottom: 1rem; display: block; }
.ggrid--masonry .gtile img { height: auto; }
.ggrid--masonry .gtile:nth-child(3n+2) img { aspect-ratio: 4 / 5; object-fit: cover; }
.ggrid--masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem .9rem; background: linear-gradient(180deg, transparent, rgba(18,30,40,.75)); color: var(--on-dark); font-family: var(--font-display); font-size: 1.125rem; opacity: 0; transform: translateY(8px); transition: all .5s var(--ease-out); }
.ggrid--masonry .gtile:hover figcaption { opacity: 1; transform: none; }
.gtile.is-hidden { display: none !important; }
.gtile.is-entering { animation: tileIn .6s var(--ease-out) both; }
@keyframes tileIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.vgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.vgrid[hidden] { display: none; }
.vtile { position: relative; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 4px; overflow: hidden; cursor: pointer; background: var(--ink-900); color: var(--on-dark); text-align: left; }
.vtile img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform 1.2s var(--ease-out), opacity .5s; }
.vtile:hover img { transform: scale(1.04); opacity: .65; }
.vtile__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 72px; height: 72px; border-radius: 50%; border: 1px solid rgba(243,238,230,.6); display: grid; place-items: center; transition: background .4s, border-color .4s; }
.vtile__play svg { width: 20px; fill: currentColor; margin-left: 3px; }
.vtile:hover .vtile__play { background: var(--bronze-500); border-color: var(--bronze-500); color: var(--ink-900); }
.vtile__name { position: absolute; left: 1.25rem; bottom: 1rem; font-family: var(--font-display); font-size: 1.5rem; }

/* ---------- Lightbox v2 ---------- */
.lightbox__stage { display: grid; place-items: center; width: min(1200px, 100%); }
.lightbox__stage img, .lightbox__stage video { max-width: 100%; max-height: 80vh; border-radius: 2px; background: #000; }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-dark); background: rgba(18,30,40,.5); color: var(--on-dark); font-size: 1.25rem; cursor: pointer; transition: background .3s; }
.lightbox__nav:hover { background: var(--bronze-500); color: var(--ink-900); }
.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }
.lightbox.is-single .lightbox__nav { display: none; }
.lightbox__caption { position: absolute; left: 0; right: 0; bottom: 1.5rem; text-align: center; font-family: var(--font-display); font-style: italic; font-size: 1.125rem; color: var(--on-dark-muted); }

/* ---------- v2 responsive ---------- */
@media (max-width: 1100px) {
  .others__grid { grid-template-columns: 1fr 1fr; }
  .others__grid .pcard:nth-child(3) { display: none; }
}
@media (max-width: 860px) {
  .factbar__inner { grid-template-columns: 1fr 1fr; }
  .factbar__inner div:nth-child(3) { border-left: 0; padding-left: 0; }
  .factbar__inner div { border-bottom: 1px solid var(--line-dark); }
  .overview__grid, .progress__grid { grid-template-columns: 1fr; }
  .ggrid--project { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .ggrid--project .gtile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .ggrid--project .gtile:nth-child(n+2) { grid-column: span 1; }
  .ggrid--project .gtile:last-child:nth-child(even) { grid-column: span 2; }
  .ggrid--masonry { columns: 2; }
}
@media (max-width: 600px) {
  .stat__num, .stat__suffix { font-size: 2.5rem; }
  .others__grid { grid-template-columns: 1fr; }
  .others__grid .pcard:nth-child(3) { display: block; }
  .checks { grid-template-columns: 1fr; }
  .vgrid { grid-template-columns: 1fr; }
  .ggrid--masonry { column-gap: .6rem; }
  .ggrid--masonry .gtile { margin-bottom: .6rem; }
  .lightbox__nav { top: auto; bottom: 4.5rem; translate: none; }
  .ccard { padding: 1.15rem; }
}

/* ---------- Project Features (image cards) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.9rem, 1.6vw, 1.35rem); }
.feature { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3.4; background: var(--ink-900); color: var(--on-dark); isolation: isolate; }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.85); transition: transform 1.4s var(--ease-out), filter .8s; }
.feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,30,40,.15) 0%, rgba(18,30,40,.45) 42%, rgba(18,30,40,.93) 100%); transition: opacity .6s; }
.feature::after { content: ""; position: absolute; left: clamp(1.4rem, 2.2vw, 2rem); bottom: 0; height: 2px; width: 44px; background: var(--gradient-bronze); transition: width .7s var(--ease-out); }
.feature:hover img { transform: scale(1.06); filter: saturate(1); }
.feature:hover::after { width: calc(100% - 2 * clamp(1.4rem, 2.2vw, 2rem)); }
.feature__body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1.4rem, 2.2vw, 2rem); padding-bottom: clamp(1.6rem, 2.4vw, 2.2rem); }
.feature__no { position: absolute; top: clamp(1.2rem, 2vw, 1.6rem); right: clamp(1.4rem, 2.2vw, 2rem); font-family: var(--font-display); font-size: 1.125rem; color: rgba(243,238,230,.7); }
.feature svg { width: 34px; height: 34px; fill: none; stroke: var(--bronze-300); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; transition: transform .6s var(--ease-out); }
.feature:hover svg { transform: translateY(-4px); }
.feature h3 { font-size: clamp(1.375rem, 1.1rem + .8vw, 1.75rem); line-height: 1.08; margin-bottom: .45rem; color: var(--on-dark); }
.feature p { font-size: .9375rem; line-height: 1.45; color: rgba(243,238,230,.78); max-width: 30ch; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } .feature { aspect-ratio: 4 / 3; } }

/* ---------- Footer call link (replaces social icons until real links exist) ---------- */
.footer__call { font-family: var(--font-display); font-size: 1.25rem; color: var(--bronze-300); white-space: nowrap; }
.footer__call:hover { color: var(--bronze-200); }

/* ---------- About & Partners ---------- */
.about-story__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.about-story__copy .h1 { font-size: clamp(1.875rem, 1.3rem + 1.9vw, 2.875rem); line-height: 1.08; margin-bottom: 1.5rem; }
.about-story__copy p + p { margin-top: 1rem; }
.about-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.about-collage__item { position: relative; border-radius: 4px; overflow: hidden; background: var(--sand); aspect-ratio: 3 / 4; }
.about-collage__item--offset { margin-top: 2.5rem; }
.about-collage__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.about-collage__item:hover img { transform: scale(1.04); }
.about-collage__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .85rem; background: linear-gradient(180deg, transparent, rgba(18,30,40,.82)); color: var(--on-dark); font-family: var(--font-label); font-size: .625rem; letter-spacing: .18em; text-transform: uppercase; }
.vision__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 2.5vw, 2rem); }
.vision-card {
  position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line-dark); border-radius: 4px;
  padding: clamp(2.25rem, 4.5vw, 3.5rem); min-height: 300px;
  background: var(--ink-900); display: flex; flex-direction: column; justify-content: flex-end; gap: .85rem;
}
.vision-card__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .34; transition: transform 1.4s var(--ease-out), opacity .6s; }
.vision-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,30,40,.45) 0%, rgba(18,30,40,.92) 100%); }
.vision-card:hover .vision-card__bg { transform: scale(1.05); opacity: .44; }
.vision-card h3 { font-size: clamp(1.625rem, 1.2rem + 1.1vw, 2.25rem); line-height: 1.12; color: var(--on-dark); }
.vision-card h3 em { font-style: italic; color: var(--bronze-300); }
.vision-card p { font-size: 1rem; line-height: 1.65; color: var(--on-dark-muted); max-width: 44ch; }
.life__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.9rem, 1.6vw, 1.35rem); }
.life-card { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink-900); isolation: isolate; }
.life-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.life-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(18,30,40,.88) 100%); }
.life-card:hover img { transform: scale(1.06); }
.life-card__cap { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; color: var(--on-dark); }
.life-card__cap small { display: block; font-family: var(--font-label); font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-300); margin-bottom: .35rem; }
.life-card__cap strong { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; line-height: 1.15; }
.partners__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.partner-card {
  background: #fff; border: 1px solid var(--sand); border-radius: 4px;
  padding: clamp(2rem, 3.5vw, 2.75rem) 2rem; display: grid; place-items: center;
  min-height: 140px; transition: transform .5s var(--ease-out), border-color .4s, box-shadow .4s;
}
.partner-card:hover { transform: translateY(-4px); border-color: var(--bronze-400); box-shadow: 0 18px 40px -24px rgba(18,30,40,.25); }
.partner-card img { max-height: 68px; max-width: 220px; width: auto; object-fit: contain; }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.value-card { background: var(--ivory); border: 1px solid var(--sand); border-radius: 4px; padding: clamp(1.5rem, 2.5vw, 2rem); }
.value-card__no { display: block; font-family: var(--font-label); font-size: .6875rem; letter-spacing: .2em; color: var(--bronze-600); margin-bottom: .75rem; }
.value-card h3 { font-size: 1.375rem; margin-bottom: .5rem; }
.value-card p { font-size: .9375rem; color: var(--ink-600); }
@media (max-width: 960px) { .about-story__grid { grid-template-columns: 1fr; } .life__grid, .values__grid { grid-template-columns: 1fr 1fr; } .vision__grid { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .partners__grid, .values__grid, .life__grid { grid-template-columns: 1fr; } .about-collage__item--offset { margin-top: 1.25rem; } }

/* ---------- WordPress generic pages ---------- */
.phero--plain { min-height: 46vh; min-height: 46svh; background: var(--ink-900) url("../assets/img/devalaya-aerial.webp") center / cover; }
.phero--plain::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,30,40,.7), rgba(18,30,40,.85)); }
.wp-content { font-size: 1.0625rem; }
.wp-content h2, .wp-content h3 { margin: 2rem 0 .75rem; }
.wp-content p, .wp-content ul, .wp-content ol { margin-bottom: 1rem; }
.wp-content ul, .wp-content ol { padding-left: 1.25rem; list-style: revert; }
.wp-content a { color: var(--bronze-700); text-decoration: underline; }
.wp-content img { height: auto; border-radius: 4px; }

/* ---------- WordPress ---------- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.admin-bar .header { top: 32px; }
.admin-bar .menu { top: 32px; }
@media (max-width: 782px) { .admin-bar .header, .admin-bar .menu { top: 46px; } }
