/* ==========================================================================
   Gavasane Builders — Premium Multi-Page Static Site
   Modern Urban • Architecturally Structured
   Pure HTML + CSS. Minimal JS for YouTube modal only.
   ========================================================================== */

:root {
  /* Global architectural palette */
  --warm-white: #ffffff;       /* primary background (clean white) */
  --light-concrete: #f5f2eb;   /* very light ivory for soft sections */
  --deep-navy: #0f1a2c;
  --gold-accent: #c6a14a;
  --text-dark: #2a2a2a;

  /* Mapped legacy tokens for consistency */
  --bg: var(--warm-white);
  --soft: var(--light-concrete);
  --navy: var(--deep-navy);
  --gold: var(--gold-accent);
  --text: var(--text-dark);
  --muted: rgba(42, 42, 42, 0.78);
  --border: rgba(42, 42, 42, 0.12);

  --max: 1200px;
  --pad: 20px;
  --header-h: 76px;
  --radius: 6px;
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.07);

  /* Section-specific background tokens */
  --company-story-bg: linear-gradient(180deg, #fdfcf9 0%, #fbfaf4 100%);

  /* Display font for key headings */
  --font-display: "Playfair Display", serif;
}

/* Hero / main section titles using display font (Home + inner pages) */
#prestige .project-title,        /* Home: The Prestige */
#vip .project-title,             /* Home: VIP Business Centre */
#completed-heading,              /* Home: Completed Projects */
#prestige-hero-heading,          /* Luxury Residential hero title */
#vip-hero-heading,               /* Commercial hero title */
#page-heading {                  /* Completed Projects page title */
  font-family: var(--font-display);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* prevent horizontal scroll from transforms */
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ========================= Layout ========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 70px 0;
}

/* About page spacing refinements */
section[aria-labelledby="about-hero"] + .section {
  padding-top: 64px;  /* tighter hero -> next section rhythm */
}

.section--soft {
  background: var(--soft);
}

/* Luxury Residential — Amenities section: same background as About page Company Story */
section[aria-labelledby="specs-heading"] {
  background: linear-gradient(180deg, #fdfcf9 0%, #fbfaf4 100%);
  padding-top: 62px;
  padding-bottom: 62px;
}

@media (max-width: 700px) {
  section[aria-labelledby="specs-heading"] {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  section[aria-labelledby="overview-heading"] {
    padding-top: 46px;
    padding-bottom: 48px;
  }

  section[aria-labelledby="walkthrough-heading"] {
    padding-top: 44px;
    padding-bottom: 46px;
  }
}


/* Luxury Residential: tighten hero -> overview connection */
section[aria-labelledby="prestige-hero-heading"] + section[aria-labelledby="overview-heading"] {
  padding-top: 58px;
}

/* Overview section: reduce top/bottom padding slightly */
section[aria-labelledby="overview-heading"] {
  padding-top: 58px;
  padding-bottom: 58px;
}

/* Walkthrough section: reduce top spacing so it feels connected */
section[aria-labelledby="walkthrough-heading"] {
  padding-top: 52px;
  padding-bottom: 56px;
}

/* Home page only — Prime Commercial: pure white; Completed Projects: same as About Company Story */
section#vip {
  background: #ffffff;
}

/* Home-only: tighten vertical rhythm for the VIP and Completed sections */
section#vip {
  padding: 62px 0;
}

@media (max-width: 700px) {
  section#vip {
    padding: 64px 0;
  }
}
section[aria-labelledby="completed-heading"] {
  background: linear-gradient(180deg, #fdfcf9 0%, #fbfaf4 100%);
  border-top: 1px solid rgba(42, 42, 42, 0.07);
  border-bottom: 1px solid rgba(42, 42, 42, 0.07);
}

section[aria-labelledby="completed-heading"] {
  padding: 62px 0;
}

@media (max-width: 700px) {
  section[aria-labelledby="completed-heading"] {
    padding: 64px 0;
  }
}

/* ========================= About page — Approach (centered editorial, full replacement) ========================= */
.section.approach {
  padding-top: 78px;
  padding-bottom: 60px;   /* tighter, premium spacing */
  background: var(--warm-white);
}

.approach-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--pad);
  text-align: center;
}

.approach-eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}

.approach-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.2px;
  line-height: 1.2;
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--text-dark);
}

.approach-intro {
  margin: 0 0 36px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.approach-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.approach-item {
  margin: 0;
}

.approach-item-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.2px;
  color: var(--text-dark);
}

.approach-item-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  text-align: center;
}

.approach-tagline {
  margin: 36px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(42, 42, 42, 0.1);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}

/* Approach section: uses .reveal (scroll-triggered, repeat on re-enter), same motion as heroFadeUp via .reveal */

@media (max-width: 700px) {
  .section.approach {
    padding-top: 56px;
    padding-bottom: 48px;
  }
  .approach-intro {
    margin-bottom: 32px;
  }
  .approach-list {
    gap: 22px;
  }
  .approach-tagline {
    margin-top: 32px;
    padding-top: 24px;
    font-size: 12px;
  }
}

/* ========================= About page — Company Story (warm editorial panel) ========================= */
.company-story {
  position: relative;
  background: var(--company-story-bg);   /* slightly brighter pale golden, more luminous, still restrained */
  border-top: 1px solid rgba(42, 42, 42, 0.07);
  border-bottom: 1px solid rgba(42, 42, 42, 0.07);
}

.company-story .eyebrow,
.company-story .h2 {
  color: var(--text-dark);
}

.company-story .lead,
.company-story .company-story-close {
  color: var(--muted);
}

.company-story-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 40px;
  align-items: center;
  min-height: 360px;
  padding: 52px 0;
}

.company-story-watermark {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 0;
}

.company-story-watermark img {
  width: 68%;
  max-width: 300px;
  height: auto;
  opacity: 0.84;   /* clear design anchor, does not compete with text */
  object-fit: contain;
}

.company-story-ornamental-divider {
  width: 240px;                 /* refined width within 220–260px */
  height: auto;
  display: block;
  opacity: 1;
  position: relative;
  z-index: 2;
  margin: 0 auto 24px auto;     /* ~24px space below divider, centered */
}

@media (max-width: 700px) {
  .company-story-ornamental-divider {
    width: 220px;
    margin: 0 auto 24px auto;
  }
}

.company-story-content {
  position: relative;
  z-index: 3;
}

.company-story-content.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.company-story-content.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.company-story-content .eyebrow {
  margin-bottom: 20px;         /* slightly tighter label -> heading rhythm */
  font-size: 15px;             /* slightly larger for presence */
  letter-spacing: 0.16em;      /* a touch more tracking */
  font-weight: 600;            /* subtle weight increase */
  color: rgba(42, 42, 42, 0.78); /* richer, still softer than pure black */
}

.company-story-content .h2 {
  margin-bottom: 16px;         /* reduce excessive spacing */
}

.company-story-content .lead {
  margin-bottom: 14px;         /* slightly more space between paragraphs, but tighter overall */
}

.company-story-content .lead:last-of-type {
  margin-bottom: 18px;
}

.company-story-close {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.6;
}

/* Keep company story paragraph lines comfortably narrow */
.company-story .lead {
  max-width: 56ch;
}

@media (max-width: 920px) {
  .company-story-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 40px 0;
  }

  .company-story-watermark {
    order: -1;
    padding: 12px 0;
  }

  .company-story-watermark img {
    width: 56%;
    max-width: 200px;
  }
}

/* Generic scroll reveal — same motion as heroFadeUp (Commercial hero): soft fade-up, repeat on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.reveal--delay-1 {
  transition-delay: 0.1s;
}

.reveal--delay-2 {
  transition-delay: 0.2s;
}

.reveal--delay-3 {
  transition-delay: 0.3s;
}

.reveal--delay-4 {
  transition-delay: 0.4s;
}

.reveal.is-active,
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Thin gold divider between hero and next section */
.section-divider-gold {
  width: 140px;
  height: 2px;
  margin: 30px auto;
  background-color: #c6a45a;
  border-radius: 2px;
  display: block;
}

/* ========================= Commercial details section ========================= */
.commercial-details {
  background: linear-gradient(180deg, #fdfcf9 0%, #fbfaf4 100%);
  padding: 50px 0 70px 0;
}

/* Commercial hero/content spacing polish (VIP Business Centre page only) */
section[aria-labelledby="commercial-details-heading"].commercial-details {
  padding: 44px 0 60px 0;
}

section[aria-labelledby="commercial-details-heading"] .commercial-details-intro {
  margin: 0 auto 48px auto;
}

section[aria-labelledby="commercial-details-heading"] .commercial-details-rows {
  gap: 40px;
}

.commercial-details-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px auto;
}

.commercial-details-title {
  margin: 0 0 12px;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
}

.commercial-details-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.commercial-details-rows {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

@media (max-width: 700px) {
  section[aria-labelledby="commercial-details-heading"].commercial-details {
    padding: 34px 0 46px 0;
  }

  section[aria-labelledby="commercial-details-heading"] .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  section[aria-labelledby="commercial-details-heading"] .commercial-details-intro {
    margin-bottom: 34px;
  }

  section[aria-labelledby="commercial-details-heading"] .commercial-details-rows {
    gap: 28px;
  }

  section[aria-labelledby="commercial-details-heading"] .commercial-row-image img {
    height: auto;
  }

  section[aria-labelledby="commercial-details-heading"] .commercial-row-content {
    padding: 0 6px;
  }
}

/* ========================= Completed projects page ========================= */

/* Compact page hero */
.completed-page-hero {
  position: relative;
  width: 100%;
  min-height: 90vh; /* full-hero height similar to homepage */
  padding: 96px 24px 72px;
  overflow: hidden;
  background: linear-gradient(180deg, #faf8f3 0%, #ffffff 100%);
  display: flex;
  align-items: flex-start;   /* match About hero: text anchored in upper zone */
  justify-content: center;
}

@media (max-width: 700px) {
  .completed-page-hero {
    padding: 84px 16px 52px;
    min-height: 78vh;
  }

  .completed-page-hero-bg {
    background-position: center 22%;
  }

  /* Move the entire text block slightly downward on mobile */
  .completed-page-hero-inner {
    top: calc(var(--header-h) + 4cm);
  }
}

@media (max-width: 768px) and (orientation: portrait) {
  .completed-page-hero {
    padding: 88px 16px 56px;
    min-height: 80vh;
  }

  .completed-page-hero-bg {
    background-position: center 20%;
  }

  .completed-page-hero-inner {
    top: calc(var(--header-h) + 3.7cm);
  }
}

.completed-page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("../assets/completed-hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.completed-page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.completed-page-hero-inner {
  max-width: 820px;
  text-align: center;
  position: absolute;
  left: 50%;
  top: calc(var(--header-h) + 3cm);   /* same as About hero: text block starts ~3cm below fixed header */
  transform: translateX(-50%);
  z-index: 1;
}

.completed-page-hero-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(15, 26, 44, 0.62);
}

.completed-page-hero-title {
  margin: 0;
}

.completed-page-hero-divider {
  width: 90px;
  height: 2px;
  margin: 18px auto 18px;
  border-radius: 999px;
  background-color: #c6a45a;
}

.completed-page-hero-sub {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(20, 26, 40, 0.88);
}

/* Intro section */
.completed-intro-section {
  padding: 64px 20px 50px;
  background: #ffffff;
}

.completed-intro-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.completed-intro-inner .h2 {
  margin-bottom: 14px;
}

.completed-intro-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(20, 26, 40, 0.86);
}

/* Project showcase */
.completed-projects {
  padding: 74px 0 64px;
  background: linear-gradient(180deg, #fdfcf9 0%, #fbfaf4 100%);
}

.completed-projects-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.completed-project-row {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
  gap: 60px;
  align-items: start;
}

.completed-project-row--reverse .completed-project-image {
  order: 2;
}

.completed-project-row--reverse .completed-project-content {
  order: 1;
}

.completed-project-image {
  border-radius: 10px;
  overflow: hidden;
  background: #e4e0d7;
}

.completed-project-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  transform: scale(1);
}

/* Ensure full building is visible for Mangalmurty and Siddhidata images */
.completed-projects-inner > article:nth-of-type(3) .completed-project-image img,
.completed-projects-inner > article:nth-of-type(4) .completed-project-image img {
  object-fit: contain;
}

.completed-project-image img:hover {
  transform: scale(1.04);
}

.completed-project-content {
  max-width: 460px;
}

.completed-project-index {
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(20, 26, 40, 0.45);
}

.completed-project-title {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 500;
}

.completed-project-location {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(20, 26, 40, 0.6);
}

.completed-project-detail {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(20, 26, 40, 0.9);
}

.completed-project-divider {
  width: 70px;
  height: 1px;
  margin: 14px 0 14px;
  background-color: rgba(198, 164, 90, 0.6);
}

.completed-project-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* Completed Projects page — mobile single-column with image first (portrait only) */
@media (max-width: 768px) and (orientation: portrait) {
  .completed-page-hero {
    min-height: 76vh;
    padding: 86px 16px 56px;
  }

  .completed-page-hero-inner {
    top: calc(var(--header-h) + 22px);
  }

  .completed-intro-section {
    padding: 56px 16px 42px;
  }

  .completed-projects {
    padding: 62px 0 54px;
  }

  .completed-projects-inner {
    padding: 0 16px;
    gap: 52px;
  }

  .completed-project-row {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  /* Ensure image comes first, regardless of the --reverse class */
  .completed-project-image {
    order: 1;
  }

  .completed-project-content {
    order: 2;
    max-width: none;
    text-align: center;
  }

  .completed-project-title {
    font-size: 22px;
  }

  .completed-project-desc,
  .completed-project-detail,
  .completed-project-location {
    text-align: center;
  }

  /* Center gold divider lines inside each project listing */
  .completed-project-divider {
    display: block;
    margin: 14px auto 14px;
  }
}

/* Closing statement */
.completed-closing-section {
  padding: 70px 24px 90px;
  background: #ffffff;
}

.completed-closing-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.completed-closing-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(20, 26, 40, 0.92);
}

.commercial-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.commercial-row--reverse .commercial-row-image {
  order: 2;
}

.commercial-row--reverse .commercial-row-content {
  order: 1;
}

.commercial-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  box-shadow: var(--shadow);
}

.commercial-row-content {
  text-align: left;
  max-width: 520px;
}

.commercial-row-title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 500;
}

.commercial-row-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .commercial-row {
    grid-template-columns: 1fr;
  }

  .commercial-row--reverse .commercial-row-image,
  .commercial-row--reverse .commercial-row-content {
    order: initial;
  }

  .commercial-row-content {
    max-width: none;
  }
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}

.h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.2px;
  line-height: 1.2;
  font-size: clamp(36px, 5vw, 56px);
}

.h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.2px;
  line-height: 1.2;
  font-size: clamp(28px, 3.5vw, 40px);
}

.h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.2px;
}

.lead {
  margin: 0 auto;      /* this centers it */
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
  max-width: 68ch;
  text-align: center;  /* optional: center text also */
}

/* Luxury Residential — quiet project entity note below overview paragraph */
/* Commercial page uses same class. max-width allows full sentence on one line on desktop/tablet. */
.prestige-project-note {
  margin: 24px auto 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
  max-width: 72ch;
  font-weight: 400;
}

/* Luxury Residential — RERA block (below walkthrough, above footer) */
.prestige-rera {
  padding: 40px var(--pad) 44px;
  text-align: center;
}
.prestige-rera-inner {
  max-width: 240px;
  margin: 0 auto;
}
.prestige-rera-qr {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  object-fit: contain;
}
.prestige-rera-number {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: 0.02em;
}

@media (max-width: 700px) {
  .prestige-rera {
    padding: 32px var(--pad) 40px;
  }
}

/* ========================= Header (sticky) ========================= */
header {
  position: absolute;   /* sits over video */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;

  background: rgba(12, 26, 43, 0.55);  /* transparent navy */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

:root {
  --deep-navy: #0e1a2b;
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.logo {
  height: 60px;
  width: auto;
}

.brand-name {
  font-family: var(--font-sans); /* same as footer */
  font-size: 18px;
  letter-spacing: 4px;
  font-weight: 500;
  color: #ffffff;
}

.site-header .brand-name {
  font-size: 14px !important;
  letter-spacing: 0.22em;
  font-weight: 500;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;

  background: rgba(12, 26, 43, 0.55);  /* same as home */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Mobile header stability (always visible, no slide/up-on-scroll) */
@media (max-width: 768px) and (orientation: portrait) {
  .site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    z-index: 1000;
  }

  /* Prevent content from hiding behind the fixed header */
  .site-header + main {
    padding-top: var(--header-h);
  }
}

/* ========================= Mobile hero: media first, text below ========================= */
@media (max-width: 768px) {
  /* General: avoid horizontal scroll and allow natural height */
  section[aria-labelledby="about-hero"],
  section[aria-labelledby="vip-hero-heading"],
  .completed-page-hero {
    overflow-x: hidden;
  }

  /* -------------------- About hero (video + copy) -------------------- */
  section[aria-labelledby="about-hero"] {
    height: auto !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }

  section[aria-labelledby="about-hero"]::before {
    background: transparent !important;
  }

  section[aria-labelledby="about-hero"] .about-hero-video {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center top !important;
    aspect-ratio: 16 / 9 !important;
  }

  /* Remove overlay behavior on mobile to avoid text-on-media overlap */
  section[aria-labelledby="about-hero"] .hero-bg.about-hero-overlay {
    display: none !important;
  }

  section[aria-labelledby="about-hero"] .hero-inner {
    margin-top: 0 !important;
    padding: 34px 0 34px !important;
  }

  /* -------------------- Commercial hero (image + copy) -------------------- */
  section[aria-labelledby="vip-hero-heading"] {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  section[aria-labelledby="vip-hero-heading"]::before {
    background: transparent !important;
  }

  section[aria-labelledby="vip-hero-heading"] .hero-inner {
    margin-top: 0 !important;
  }

  section[aria-labelledby="vip-hero-heading"] .hero-inner > .container {
    min-height: auto !important;
    padding: 0 16px !important;
  }

  section[aria-labelledby="vip-hero-heading"] .hero-split--commercial {
    flex-direction: column !important;
    gap: 20px !important;
  }

  section[aria-labelledby="vip-hero-heading"] .hero-visual--commercial {
    flex: none !important;
    width: 100% !important;
    order: 1 !important;
    overflow: visible !important;
  }

  section[aria-labelledby="vip-hero-heading"] .hero-copy--commercial {
    flex: none !important;
    width: 100% !important;
    order: 2 !important;
    text-align: center !important;
    max-width: none !important;
    padding: 34px 0 34px !important;
  }

  section[aria-labelledby="vip-hero-heading"] .hero-visual--commercial img {
    height: auto !important;
    width: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  /* -------------------- Completed Projects hero (background + copy) -------------------- */
  .completed-page-hero {
    min-height: auto;
    padding: 0 16px 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: visible !important;
  }

  .completed-page-hero-bg {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background-size: contain;
    background-position: center top;
  }

  .completed-page-hero-bg::after {
    display: none;
  }

  .completed-page-hero-inner {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    z-index: 2;
    margin-top: 0;
    padding: 34px 0 0;
  }
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav a {
  position: relative;
  padding: 10px 0;
  color: #c6a14a;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  height: 1px;
  width: 0;
  background: var(--navy);
  transition: width 180ms ease-out;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  width: 100%;
}

.menu-btn {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav .container {
  padding: 14px 0 20px;
  display: grid;
  gap: 10px;
}

.mobile-nav a {
  padding: 6px 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
    align-items: center;
  }
}

/* ========================= Hero ========================= */
.hero {
  position: relative;
  height: 92vh; /* tighter, premium fold on desktop */
  overflow: hidden;
  display: flex;
  align-items: center;      /* vertical center */
  justify-content: center;  /* horizontal center */
  text-align: center;
}

@media (max-width: 700px) {
  .hero {
    height: 86vh; /* reduce vertical empty space on mobile */
  }

  /* Mobile: soften cropping and keep the main building subject visible */
  .hero-video {
    object-position: 50% 65%;
    filter: brightness(1.25);
  }

  /* Luxury Residential hero should be shorter on mobile (~70–80vh) */
  section[aria-labelledby="prestige-hero-heading"] {
    height: 78vh;
  }
}

/* ========================= Mobile hero media framing (no cropping) ========================= */
@media (max-width: 768px) and (orientation: portrait) {
  /* About page: show full hero video */
  section[aria-labelledby="about-hero"] .about-hero-video {
    object-fit: contain;
    object-position: center top;
  }

  /* Residential page: sliding hero images should not crop */
  section[aria-labelledby="prestige-hero-heading"] .hero-slide {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  /* Completed projects page: show full hero background image */
  .completed-page-hero-bg {
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
  }

  /* Safety: prevent any accidental horizontal overflow from hero media */
  section[aria-labelledby="about-hero"],
  section[aria-labelledby="prestige-hero-heading"],
  .completed-page-hero {
    overflow-x: hidden;
  }
}

/* Commercial hero: same warm white / pale sunrise family as About Company Story */
section[aria-labelledby="vip-hero-heading"] {
  background: linear-gradient(180deg, #fdfcf9 0%, #fbfaf4 100%);
  height: auto;
  min-height: 85vh;
  padding: 40px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* About hero — video background + overlay + single-line heading */
.about-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(1.15);   /* lighten video for premium feel */
}

/* About hero overlay: very subtle tint only (was 0.22 navy — caused dark/grey look) */
section[aria-labelledby="about-hero"] .about-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(15, 26, 44, 0.08);   /* reduced from 0.22 — lighter, cleaner, keeps text readable */
  pointer-events: none;
}

section[aria-labelledby="about-hero"]::before {
  background: transparent;
}

.about-hero-title {
  display: block;
  text-align: center;
}

.about-hero-line-block {
  display: block;
  text-align: center;
  margin-bottom: 18px;
}

.about-hero-line-block:last-child {
  margin-bottom: 0;
}

.about-hero-line-inner {
  display: inline-block;
  text-align: center;
}

.about-hero-phrase1,
.about-hero-phrase2 {
  display: block;
}

.about-hero-gold {
  display: block;
  width: 100%;
  height: 1.5px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--gold-accent);
}

section[aria-labelledby="about-hero"] .about-hero-line-block:nth-child(1) {
  animation: heroFadeUp 0.9s ease-out 0s both;
}

section[aria-labelledby="about-hero"] .about-hero-line-block:nth-child(2) {
  animation: heroFadeUp 0.9s ease-out 0.22s both;
}

section[aria-labelledby="about-hero"] .about-hero-sub {
  margin-top: 18px;
  animation: heroFadeUp 0.9s ease-out 0.48s both;
}

/* About hero: anchor text block below header, no vertical centering */
section[aria-labelledby="about-hero"] {
  align-items: flex-start;   /* stop vertical centering of hero-inner */
}

/* About hero: reduce excessive fold height */
section[aria-labelledby="about-hero"] {
  height: 82vh;
}

@media (max-width: 700px) {
  section[aria-labelledby="about-hero"] {
    height: 74vh;
  }
}
section[aria-labelledby="about-hero"] .hero-inner {
  margin-top: calc(var(--header-h) + 2.2cm);   /* bring hero content slightly upward */
}

/* Commercial page hero — show full image without cropping */
section[aria-labelledby="vip-hero-heading"] .hero-bg {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--bg); /* clean light backdrop behind image */
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(1.2);   /* slightly brighter */
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);  /* softer overlay */
  z-index: 1;
}

/* Luxury Residential hero: subtle dark gradient for better text readability */
section[aria-labelledby="prestige-hero-heading"]::before {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.10) 45%,
    rgba(0, 0, 0, 0.03) 78%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;   /* force center (overridden per-page when needed) */
  width: 100%;
}

/* Lift hero content blocks on all heroes so they sit closer to the header,
   while still remaining fully readable below it. */
.hero-inner {
  margin-top: calc(var(--header-h) * -0.3);
}

/* Generic split hero layout (baseline) */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 28px;
  align-items: center;
}

.hero-copy {
  text-align: left;
  animation: heroFadeUp 0.9s ease-out both;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Commercial hero specific tweaks */
section[aria-labelledby="vip-hero-heading"] .hero-inner > .container {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;      /* allow full-width hero */
  padding: 0 8vw;
}

.hero-split--commercial {
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}

.hero-copy--commercial {
  max-width: 640px;
  flex: 0 0 35%;
}

.hero-visual--commercial {
  flex: 0 0 65%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
}

.hero-visual--commercial img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* Commercial hero: desktop balance (tighter composition, less empty left space) */
section[aria-labelledby="vip-hero-heading"] .hero-split--commercial {
  gap: 44px;
}

section[aria-labelledby="vip-hero-heading"] .hero-copy--commercial {
  max-width: 720px;
  flex: 0 0 40%;
}

section[aria-labelledby="vip-hero-heading"] .hero-visual--commercial {
  flex: 0 0 60%;
}

/* Subtle horizontal gradient wash behind text towards image — same warm family */
section[aria-labelledby="vip-hero-heading"]::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(253, 252, 249, 0.92) 0%,
    rgba(253, 252, 249, 0.85) 35%,
    rgba(251, 250, 244, 0.45) 60%,
    rgba(251, 250, 244, 0) 75%
  );
  z-index: -1;
}

/* Commercial hero typography refinements */
section[aria-labelledby="vip-hero-heading"] .h1 {
  font-size: 58px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: #1c1c1c;
}

.hero-divider {
  height: 2px;
  width: 90px;
  margin: 30px 0;
  border-radius: 999px;
}

section[aria-labelledby="vip-hero-heading"] .hero-sub {
  font-size: 18px;
  color: #3a3a3a;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.hero-highlight {
  margin-top: 15px;
  display: flex;
  gap: 18px;
  flex-wrap: nowrap;
  white-space: nowrap;
  align-items: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1c1c1c;
}

.hero-highlight-item {
  white-space: nowrap;
}

.hero-highlight-separator {
  width: 1px;
  height: 16px;
  background: rgba(184, 148, 59, 0.7);
}

@media (max-width: 900px) {
  .hero-highlight {
    justify-content: center;
    text-align: center;
  }
}

/* Commercial hero: mobile typography + padding to prevent overflow */
@media (max-width: 700px) {
  section[aria-labelledby="vip-hero-heading"] {
    overflow-x: hidden;
  }

  section[aria-labelledby="vip-hero-heading"] .hero-inner > .container {
    padding: 0 16px;
  }

  section[aria-labelledby="vip-hero-heading"] .h1 {
    font-size: 42px;
    line-height: 1.08;
    letter-spacing: -0.3px;
    max-width: 16ch;
    margin-left: auto;
    margin-right: auto;
  }

  section[aria-labelledby="vip-hero-heading"] .hero-highlight {
    flex-wrap: wrap;
    white-space: normal;
    gap: 10px 14px;
  }

  section[aria-labelledby="vip-hero-heading"] .hero-highlight-item {
    white-space: normal;
  }

  section[aria-labelledby="vip-hero-heading"] .hero-sub {
    font-size: 16px;
    line-height: 1.55;
  }
}

.hero-divider {
  height: 2px;
  width: 72px;
  margin: 10px 0 10px;
  border-radius: 999px;
}

.hero-divider--gold {
  background: var(--gold-accent);
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 90px;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-visual {
    height: auto;
  }
}

/* Luxury Residential hero — typography + vertical offset */
section[aria-labelledby="prestige-hero-heading"] .project-title {
  color: #101010;
}

section[aria-labelledby="prestige-hero-heading"] .hero-sub {
  color: #101010;
}

section[aria-labelledby="prestige-hero-heading"] .project-label {
  color: #101010;
}

/* Luxury Residential hero: same text placement as About hero — anchored ~3cm below header */
section[aria-labelledby="prestige-hero-heading"] {
  align-items: flex-start;
}
section[aria-labelledby="prestige-hero-heading"] .hero-inner {
  margin-top: calc(var(--header-h) + 3cm);
}
section[aria-labelledby="prestige-hero-heading"] .hero-inner > .container {
  transform: none;
}

/* Luxury Residential — full-bleed hero slider (The Prestige) */
section[aria-labelledby="prestige-hero-heading"] .hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

section[aria-labelledby="prestige-hero-heading"] .hero-slide-track {
  display: flex;
  width: 200%;
  height: 100%;
  animation: prestigeHeroSlide 42s linear infinite;
}

section[aria-labelledby="prestige-hero-heading"] .hero-slide {
  flex: 0 0 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

@keyframes prestigeHeroSlide {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.hero-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.frame-line {
  width: 260px;
  height: 1px;
  background: var(--gold-accent);
  opacity: 0.75;
}

.hero-btn-centered {
  margin: 22px 0;
}

/* ========================= Buttons ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: opacity 160ms ease-out, transform 160ms ease-out;
}

.btn:hover {
  opacity: 0.92;
}

.btn--gold:hover {
  background: rgba(198, 167, 94, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn--gold {
  background: rgba(198, 167, 94, 0.52);   /* more transparent */
  color: #ffffff;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.45);  /* brighter border */
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.btn--outline-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Elevate key gold CTAs on light backgrounds to match hero presence */
#prestige .project-buttons .btn--gold,
section[aria-labelledby="completed-heading"] .btn.btn--gold {
  /* Match hero `.btn--gold` values precisely */
  background: rgba(198, 167, 94, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-dark);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);

  /* Add a subtle glass highlight so it doesn't feel dull on light sections */
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0) 55%
  );
  box-shadow:
    0 18px 40px rgba(8, 19, 34, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);

  position: relative;
  overflow: hidden;
}

#prestige .project-buttons .btn--gold:hover,
section[aria-labelledby="completed-heading"] .btn.btn--gold:hover {
  background: rgba(198, 167, 94, 0.58);
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 18px 40px rgba(8, 19, 34, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

#prestige .project-buttons .btn--gold::before,
section[aria-labelledby="completed-heading"] .btn.btn--gold::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(212, 175, 55, 0) 0%,
    rgba(212, 175, 55, 0.55) 45%,
    rgba(212, 175, 55, 0) 90%
  );
  transform: translateX(-120%);
  mix-blend-mode: screen;
  opacity: 0.65;
  animation: btnGoldSweep 4.4s ease-in-out infinite;
}

@keyframes btnGoldSweep {
  0% {
    transform: translateX(-130%);
    opacity: 0;
  }
  10% {
    opacity: 0.35;
  }
  45% {
    transform: translateX(120%);
    opacity: 0.16;
  }
  60% {
    opacity: 0;
  }
  100% {
    transform: translateX(130%);
    opacity: 0;
  }
}

/* ========================= Project name block (Vijay's / THE PRESTIGE) ========================= */
.project-heading {
  text-align: center;
  margin-bottom: 30px;
}

.project-label {
  display: block;
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 12px;
}

.project-small {
  display: block;
  font-size: 22px;        /* slightly bigger */
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 6px;     /* closer to Prestige */
}

.project-main {
  font-size: 44px;
  font-weight: 400;       /* same weight as Vijay’s */
  letter-spacing: 1px;
}

.project-divider {
  width: 50px;
  height: 2px;
  background: #b89b5e;
  margin: 0 auto 20px auto;
}

.project-name {
  font-size: 46px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.project-title {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(32px, 4.5vw, 48px);
}

.project-label--dark {
  color: var(--muted);
}

.project-title--dark {
  color: var(--text);
}

.project-section-label {
  text-align: center;
  font-size: 16px;              /* same size as ABOUT label */
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #b89b5e;
  margin-bottom: 12px;
}

.section-divider {
  width: 80px;
  height: 2px;
  background: #b89b5e;
  margin: 0 auto 60px auto;
}

.project-description {
  max-width: 750px;
  margin: 30px auto 60px auto;
  text-align: center;
  line-height: 1.8;
  color: #555;
}

/* CENTER ENTIRE PROJECT SECTION */
#prestige {
  text-align: center;
  padding: 110px 20px; /* tighter prestige section spacing */
}

@media (max-width: 700px) {
  #prestige {
    padding: 86px 16px;
  }
}

/* Keep the prestige hero content visually tighter */
#prestige .project-image-wrapper.prestige-carousel {
  margin: 44px auto 0;
}

#prestige .project-buttons {
  margin-top: 22px;
}

#prestige .project-description {
  margin: 18px auto 44px auto;
}

/* IMAGE */
.project-image-wrapper {
  margin: 60px auto;
}

.project-image-wrapper img {
  width: 100%;
  max-width: 850px;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

/* Prestige home intro — stacked card carousel using 3 images */
.prestige-carousel {
  position: relative;
  max-width: 880px;
}

.prestige-stack {
  position: relative;
  width: 100%;
  margin: 0 auto;
  /* Maintain a calm, cinematic aspect ratio */
  padding-top: 60%;
}

.prestige-card {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(8, 19, 34, 0.5);
  transform-origin: center center;
  transition: transform 900ms cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 900ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.prestige-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.prestige-card.is-front {
  z-index: 3;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Side cards: smaller preview cards left/right, clearly readable */
.prestige-card.is-middle {
  z-index: 2;
  transform: translate3d(-34%, 8%, 0) scale(0.7);
  box-shadow: 0 18px 46px rgba(5, 14, 26, 0.45);
}

.prestige-card.is-back {
  z-index: 1;
  transform: translate3d(34%, 8%, 0) scale(0.7);
  box-shadow: 0 12px 32px rgba(3, 9, 18, 0.4);
}

@media (max-width: 900px) {
  .prestige-stack {
    padding-top: 68%;
  }

  .prestige-card.is-middle {
    transform: translate3d(-28%, 7%, 0) scale(0.7);
  }

  .prestige-card.is-back {
    transform: translate3d(28%, 7%, 0) scale(0.7);
  }
}

@media (max-width: 700px) {
  .prestige-carousel {
    max-width: 360px;
  }

  .prestige-stack {
    padding-top: 72%;
  }

  .prestige-card.is-middle {
    transform: translate3d(-22%, 6%, 0) scale(0.72);
  }

  .prestige-card.is-back {
    transform: translate3d(22%, 6%, 0) scale(0.72);
  }
}

/* DESCRIPTION + EXPLORE TEXT */
.project-description,
.project-explore {
  max-width: 750px;
  margin: 30px auto;
  line-height: 1.8;
  color: #555;
}

/* BUTTONS */
.project-buttons {
  margin-top: 30px;
}

.project-buttons .btn {
  margin: 10px 15px;
}

.prestige-heading-wrapper {
  text-align: center;
  margin-bottom: 40px;
}
/* ========================= Media blocks ========================= */
.media-block {
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow);
}

.media-block img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.media-block--compact img {
  height: 320px;
}

@media (max-width: 700px) {
  .media-block img {
    height: 280px;
  }
  .section {
    padding: 60px 0;
  }
}

/* ========================= Grid 2-col ========================= */
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.grid-2--center {
  align-items: center;
}

@media (max-width: 920px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ========================= Bullets ========================= */
.bullets {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.bullets .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
  margin-top: 8px;
  flex-shrink: 0;
}

/* ========================= Completed preview grid 2x2 ========================= */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.preview-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.preview-card .photo {
  width: 100%;
  aspect-ratio: 4 / 3;   /* locks perfect 1200x900 ratio */
  background: #ffffff;
  overflow: hidden;
}

.preview-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* shows full image */
  display: block;
}
.preview-card .body {
  padding: 18px 18px 20px;
}

.preview-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.preview-card .body {
  flex-grow: 1;
}

.preview-card .name {
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 6px;
}

.preview-card .desc {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 640px) {
  .preview-grid {
    grid-template-columns: 1fr;
  }
  .preview-card .photo {
    height: 180px;
  }
}

/* Homepage Completed Projects — stacked carousel */
.completed-carousel {
  max-width: 880px;
  margin: 32px auto 0;
}

.completed-stack {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding-top: 56.25%; /* 16:9 */
}

.completed-card {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  overflow: hidden;
  /* Match Prestige stacked card feel */
  box-shadow: 0 26px 60px rgba(8, 19, 34, 0.5);
  background: #ffffff; /* elegant frame behind contain images */
  transform-origin: center center;
  transition: transform 900ms cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 900ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.completed-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;          /* show full image for every project */
  object-position: center;
}

.completed-card.is-front {
  z-index: 3;
  transform: translate3d(0, 0, 0) scale(1);
}

.completed-card.is-middle {
  z-index: 2;
  transform: translate3d(-32%, 7%, 0) scale(0.7);
}

.completed-card.is-back {
  z-index: 1;
  transform: translate3d(32%, 7%, 0) scale(0.7);
}

.completed-active-text {
  margin-top: 22px;
  text-align: center;
}

.completed-project-name {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 6px;
}

.completed-project-meta {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .completed-stack {
    padding-top: 56.25%;
  }

  .completed-card.is-middle {
    transform: translate3d(-28%, 7%, 0) scale(0.7);
  }

  .completed-card.is-back {
    transform: translate3d(28%, 7%, 0) scale(0.7);
  }
}

@media (max-width: 700px) {
  .completed-carousel {
    max-width: 360px;
  }

  .completed-stack {
    padding-top: 56.25%;
  }

  .completed-card.is-middle {
    transform: translate3d(-22%, 6%, 0) scale(0.72);
  }

  .completed-card.is-back {
    transform: translate3d(22%, 6%, 0) scale(0.72);
  }
}

/* ========================= Full-width project card (image left, text right) ========================= */
/* Gold Section Label */
.project-section-label {
  display: inline-block;   /* important */
  position: relative;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #b89b5e;
  margin: 0 auto 40px auto;
}

.project-section,
.container {
  text-align: center;
}

.parent-container-class {
  text-align: center;
}

/* GOLD LINE UNDER TEXT WIDTH */
.project-section-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 100%;
  height: 2px;
  background-color: #b89b5e;
}
/* Gold Divider */
.section-divider {
  width: 80px;
  height: 2px;
  background: #b89b5e;
  margin: 0 auto 50px auto;
}

/* Title */
.project-title {
  text-align: center;
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 25px;
}

/* Description */
.project-description,
.project-structure {
  max-width: 750px;
  margin: 0 auto 30px auto;
  text-align: center;
  line-height: 1.8;
  color: #555;
}

/* Image */
.project-image-wrapper {
  margin: 50px auto;
  text-align: center;
}

.project-image-wrapper--small {
  width: 40%;
  margin: 0 auto;   /* keeps it centered */
}

/* Home — Commercial (VIP) featured image: increase presence */
#vip .project-image-wrapper--small {
  width: 78%;
  margin: 6px auto 0;
  max-width: 900px;
}

#vip .project-image-wrapper--small img {
  width: 100%;
  max-width: none; /* allow the featured width */
  height: auto;
  object-fit: contain; /* show full image without cropping */
  object-position: center;
}

.project-image-wrapper img {
  width: 100%;
  max-width: 850px;
  border-radius: 8px;
}

@media (max-width: 700px) {
  /* Home — Commercial (VIP) featured image on mobile */
  #vip .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  #vip .project-image-wrapper--small {
    width: 100%;
    margin: 12px auto 0;
    max-width: none;
  }

  #vip .project-image-wrapper--small img {
    height: auto;
  }
}

/* Buttons */
.project-buttons {
  text-align: center;
  margin-top: 20px;
}
/* ========================= Gallery grid ========================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery .g-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.gallery .g-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.preview-card .photo {
  width: 100%;
  height: 260px;      /* uniform height for all images */
  overflow: hidden;   /* hides extra crop */
}

.preview-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* default: crops excess for most cards */
  display: block;
}

/* Homepage Completed Projects strip — ensure full buildings visible for
   Moraya, Mangalmurty, and Siddhidata cards (2nd, 3rd, 4th) */
.preview-grid .preview-card:nth-of-type(2) .photo img,
.preview-grid .preview-card:nth-of-type(3) .photo img,
.preview-grid .preview-card:nth-of-type(4) .photo img {
  object-fit: contain;
  object-position: center;
}

@media (max-width: 768px) {
  .preview-card .photo {
    height: 220px;
  }
}

@media (max-width: 700px) {
  .gallery,
  .gallery--2 {
    grid-template-columns: 1fr;
  }
  .gallery .g-item img {
    height: 220px;
  }
}

/* Luxury Residential — living experience: centered text + wide image */
.living-experience {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.living-copy {
  max-width: 640px;
  margin: 0 auto;
}

.living-copy .h2 {
  margin-bottom: 18px;
}

.living-copy .lead.lead--left {
  text-align: center;
}

.living-images {
  width: 100%;
  display: flex;
  justify-content: center;
}

.living-image--wide {
  width: 100%;
  max-width: 960px;
  border-radius: 10px;
  overflow: hidden;
}

.living-image--wide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
  animation: livingWideZoom 30s ease-in-out infinite alternate;
}

@keyframes livingWideZoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 920px) {
  .living-experience {
    gap: 24px;
  }

  .living-image--wide {
    max-width: 100%;
  }
}

/* ========================= Video block + modal ========================= */
.video-block {
  border-radius: var(--radius);
  overflow: hidden;
  background: #0c0f14;
  box-shadow: var(--shadow);
}

.video-block video {
  filter: brightness(1.22) contrast(1.08) saturate(1.05);
}

.video-trigger {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: inherit;
}

.video-block .thumb {
  position: relative;
}

.video-block .thumb img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  opacity: 0.9;
}

.video-block .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.03),
    rgba(0,0,0,0.22)
  );
}

.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.3);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.play-btn .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn .icon::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  margin-left: 4px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  background: rgba(0, 0, 0, 0.78);
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-dialog {
  width: min(920px, 100%);
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
}

.modal-dialog .close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-dialog iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

/* ========================= Spec list ========================= */
.spec-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.spec-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.spec-list li:last-child {
  border-bottom: 0;
}

.spec-list .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
  flex-shrink: 0;
}

/* Luxury Residential — amenities storytelling layout */
.amenities-intro {
  max-width: 680px;
  margin: 0 auto 30px auto;
  text-align: center;
}

.amenities-intro-text {
  margin-top: 10px;
}

.amenity-row {
  padding: 14px 0;
  border-bottom: 1px solid rgba(42, 42, 42, 0.06);
  transition: transform 160ms ease-out, border-color 160ms ease-out;
}

.luxury-amenities {
  display: grid;
  gap: 20px;
}

.amenity-row:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 42, 42, 0.14);
}

.amenities-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.amenities-column {
  display: grid;
  gap: 18px;
}

.amenities-bottom {
  margin-top: 18px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.amenity-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  justify-content: center;
  text-align: center;
}

.amenity-label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  color: var(--text); /* ensure all amenity headings use the stronger text color */
}

.amenity-text {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
}

/* Luxury Residential — ensure lower amenity descriptions match the stronger tone
   of the upper features without changing global body text */
.amenities-columns > .amenities-column:nth-of-type(2) .amenity-text,
.amenities-bottom .amenity-text {
  color: var(--text);
}

.amenity-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  stroke: #b8943b; /* richer deep gold */
  stroke-width: 2.1;
  fill: none;
  transition: transform 180ms ease-out, filter 180ms ease-out;
}

.amenity-icon path,
.amenity-icon rect,
.amenity-icon circle,
.amenity-icon line {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.amenity-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 1px;
  background: rgba(198, 161, 74, 0.8);
  transform-origin: left center;
  transform: scaleX(0.5);
  transition: transform 200ms ease-out;
}

.amenity-row:hover .amenity-label::after {
  transform: scaleX(1);
}

.amenity-content {
  max-width: 32rem;
}

.amenity-row:hover .amenity-icon {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 4px rgba(184, 148, 59, 0.42));
}

.amenities-footnote {
  margin: 26px auto 0 auto;
  max-width: 640px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text); /* match stronger tone used elsewhere in the section */
  text-align: center;
}

@media (max-width: 920px) {
  .amenities-columns {
    grid-template-columns: 1fr;
  }

  .amenities-bottom {
    max-width: none;
  }

  .amenity-row {
    padding: 14px 0;
  }
}

@media (max-width: 700px) {
  /* Mobile: keep single-column but tighten rhythm */
  .amenities-intro {
    margin-bottom: 24px;
  }

  .luxury-amenities {
    gap: 16px;
  }

  .amenities-columns {
    gap: 16px;
  }

  .amenities-column {
    gap: 14px;
  }

  .amenities-bottom {
    margin-top: 14px;
  }

  .amenities-footnote {
    margin-top: 22px;
  }
}

/* ========================= Footer ========================= */
.site-footer {
  background: var(--deep-navy);
  color: rgba(255,255,255,0.85);
}

.footer-inner {
  display: flex;
  justify-content: space-between;   /* LEFT & RIGHT */
  align-items: center;
  gap: 28px;
}

.footer-brand {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.brand-location {
  font-size: 13px;
  margin-top: 2px;
  opacity: 0.75;
}

.site-footer .brand-name {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.22em;
  font-weight: 500;
  text-transform: uppercase;
  color: #ffffff;
}

.site-footer {
  padding: 40px 0 36px;   /* compact, premium */
}

.footer-branding {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-meta {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin: 2px 0 0;
}

.footer-contact .label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 4px;
}

.footer-contact .value {
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact {
  text-align: right;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  opacity: 0.72;
}

/* Footer logo */
.footer-logo {
  height: 60px;   /* same as header */
  width: auto;
  margin: 0 0 6px 0;
}

@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-bottom {
    margin-top: 18px;
  }

  .site-footer {
    padding: 32px 0 28px; /* compact, clean on mobile */
  }
}

@media (max-width: 700px) {
  .section {
    padding: 80px 0;
  }
}

@media (max-width: 768px) and (orientation: portrait) {
  html,
  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 56px 0;
  }
}

/* ========================= Page intro (about, etc.) ========================= */
.about-section {
  padding: 96px 20px; /* reduce overly loose vertical rhythm */
  background: #f8f8f8; /* keep your existing tone if different */
}

@media (max-width: 700px) {
  .about-section {
    padding: 72px 16px;
  }
}

.about-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.section-label {
  display: block;
  font-size: 16px;        /* increased */
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #b89b5e;         /* your gold */
  margin-bottom: 12px;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: #b89b5e;
  margin: 0 auto 30px auto;
}

.about-heading {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 25px;
}

.about-text {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

