/* ============================================
   Site-wide polish & creative finish
   ============================================ */

/* Soft paper texture + selection */
body {
  background:
    radial-gradient(ellipse at top, rgba(199,166,97,.06), transparent 42%),
    var(--paper);
}
::selection {
  background: rgba(199,166,97,.35);
  color: #11110f;
}

/* Buttons */
.gold-button {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(199,166,97,.22);
}
.gold-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.35) 48%, transparent 62%);
  transform: translateX(-120%);
  transition: transform .55s ease;
}
.gold-button:hover::after { transform: translateX(120%); }
.outline-button {
  transition: background .25s, border-color .25s, transform .25s, color .25s;
}
.outline-button:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* Section intros */
.section-intro {
  position: relative;
}
.section-intro.centered::after {
  content: "";
  display: block;
  width: 54px;
  height: 1px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-intro h2 {
  letter-spacing: -.01em;
}
.text-link {
  position: relative;
  transition: color .25s, gap .25s;
}
.text-link:hover {
  color: var(--gold);
  gap: 14px;
}

/* Reveal polish */
.reveal {
  transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1);
}
.reveal.in-view { transition-delay: .05s; }

/* Header polish */
.site-header {
  transition: box-shadow .3s, background .3s;
}
.quick-rail a {
  transition: background .25s;
}
.quick-rail a:hover {
  background: rgba(199,166,97,.14);
}
.quick-rail a:hover i { color: var(--gold-light); }

/* Homepage soft lifts */
.philosophy-image img,
.craft-visual > img,
.amenity img,
.lifestyle > img {
  transition: transform 1.2s cubic-bezier(.22,1,.36,1);
}
.philosophy-image:hover img { transform: scale(1.04); }
.residence {
  position: relative;
}
.residence::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199,166,97,.55), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.residence:hover::before { opacity: 1; }
.stats div,
.credential-grid article,
.value-row div {
  transition: transform .3s ease, background .3s ease;
}
.stats div:hover,
.credential-grid article:hover {
  background: rgba(199,166,97,.06);
}
.testimonial {
  padding-bottom: 8px;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, transform .3s;
}
.testimonial:hover {
  border-color: rgba(199,166,97,.35);
  transform: translateY(-3px);
}
.testimonial-media img { transition: transform .7s ease; }
.testimonial:hover .testimonial-media img { transform: scale(1.06); }
.lead-form {
  backdrop-filter: blur(6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
}
.film-play span,
.image-play > i,
.film-button i {
  transition: transform .35s ease, background .35s ease, border-color .35s ease;
}
.film-play:hover span,
.image-play:hover > i,
.film-button:hover i {
  transform: scale(1.06);
  background: rgba(199,166,97,.18);
  border-color: var(--gold-light);
}

/* ============================================
   Inner page heroes — elevated
   ============================================ */
.page-hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: #10100f;
}
.page-hero > img,
.page-hero > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  animation: pageHeroDrift 18s ease-in-out infinite alternate;
}
.page-hero > video {
  animation: none;
  transform: none;
}
@keyframes pageHeroDrift {
  to { transform: scale(1.07) translateY(-1%); }
}
.page-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.78));
}
.page-hero-frame {
  position: absolute;
  inset: 10px;
  z-index: 1;
  border: 1px solid rgba(255,255,255,.1);
  pointer-events: none;
}
.page-hero-frame::before,
.page-hero-frame::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(199,166,97,.6);
}
.page-hero-frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.page-hero-frame::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.page-hero-ornament { display: none; }
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 52px 0 32px;
}
.page-hero .eyebrow {
  margin-bottom: 8px;
  color: var(--gold-light);
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
}
.page-hero-rule {
  width: 44px;
  height: 1px;
  margin: 0 0 10px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.page-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  font-weight: 500;
  line-height: .95;
  text-shadow: 0 8px 28px rgba(0,0,0,.3);
}
.page-hero h1 em { color: var(--gold-light); }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
  color: rgba(255,255,255,.55);
  font-size: .52rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,.35); }

.page-section { padding: clamp(38px, 5vw, 68px) 0; position: relative; }
.page-hero + .page-section,
.page-hero + .inquire-page { padding-top: clamp(32px, 4vw, 48px); }
.page-section.paper {
  background:
    radial-gradient(circle at 0% 0%, rgba(199,166,97,.07), transparent 40%),
    var(--paper);
}
.page-section.white { background: #fff; }
.page-section.dark {
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(199,166,97,.12), transparent 35%),
    #11110f;
}
.page-section.dark .eyebrow { color: var(--gold-light); }
.page-section.dark h2 { color: #fff; }
.page-lead {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.8;
}
.page-section.dark .page-lead { color: rgba(255,255,255,.62); }

.main-nav a.is-active { color: var(--red); }
.main-nav a.is-active::after { right: 0; }

/* About — Where Dreams Come Home */
.dream-home {
  --dream-cream: #f9f7f2;
  --dream-gold: #c5a070;
  --dream-ink: #1a1a1a;
  --dream-align: max(var(--gutter), calc((100vw - var(--shell)) / 2));
  display: grid !important;
  grid-template-columns: minmax(300px, 1fr) minmax(320px, 1.15fr) !important;
  align-items: stretch;
  min-height: 560px;
  background: var(--dream-cream);
  position: relative;
  overflow: hidden;
}
.dream-home-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding:
    clamp(48px, 6vw, 72px)
    clamp(28px, 3vw, 40px)
    clamp(36px, 4vw, 52px)
    var(--dream-align);
  background: var(--dream-cream);
}
.dream-home-top {
  display: grid;
  gap: 20px;
  justify-items: start;
  max-width: 640px;
}
.dream-home-copy h2 {
  position: relative;
  margin: 0;
  max-width: 10ch;
  padding-left: 16px;
  color: var(--dream-ink);
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  font-weight: 600;
  line-height: .94;
  letter-spacing: -.02em;
}
.dream-home-copy h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  width: 2px;
  height: 1.4em;
  background: var(--red, #a82d27);
}
.dream-home-copy h2 em {
  color: var(--dream-gold);
  font-style: italic;
  font-weight: 500;
}
.dream-home-rule {
  display: block;
  width: 44px;
  height: 1.5px;
  margin-left: 16px;
  background: var(--dream-gold);
}
.dream-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 620px;
  margin: 8px 0 0;
  margin-left: 16px;
}
.dream-pillars article {
  display: grid;
  gap: 10px;
  justify-items: start;
  align-content: start;
  padding-right: 16px;
  border-right: 1px solid rgba(26, 26, 26, .1);
}
.dream-pillars article:last-child {
  border-right: 0;
  padding-right: 0;
}
.dream-pillar-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1.25px solid var(--dream-gold);
  border-radius: 50%;
  color: var(--dream-gold);
}
.dream-pillar-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dream-pillars strong {
  color: var(--dream-ink);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.dream-pillars p {
  margin: 0;
  max-width: 16ch;
  color: #5c574f;
  font-size: .68rem;
  line-height: 1.45;
}
.dream-home-foot {
  display: grid;
  gap: 16px;
  justify-items: start;
  margin-left: 16px;
  padding-top: 12px;
}
.dream-skyline {
  width: min(280px, 85%);
  color: var(--dream-gold);
  opacity: .85;
}
.dream-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dream-monogram {
  color: var(--dream-gold);
  font: 600 1.4rem/1 "Cormorant Garamond", serif;
  letter-spacing: .04em;
}
.dream-brand strong {
  display: block;
  color: var(--dream-ink);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.dream-brand small {
  display: block;
  margin-top: 3px;
  color: #6f6a61;
  font-size: .46rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.dream-home-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #1c1915;
}
.dream-home-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}
.dream-seam {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: clamp(110px, 15vw, 160px);
  height: 100%;
  z-index: 2;
  pointer-events: none;
  transform: translateX(-45%);
  filter: drop-shadow(3px 0 8px rgba(0,0,0,.1));
}
.dream-seam-fill { fill: var(--dream-cream); }
.dream-seam-stroke {
  fill: none;
  stroke: url(#dreamGoldEdge);
  stroke-width: 3.5;
  stroke-linecap: round;
}
.dream-leaf {
  position: absolute;
  top: 12%;
  left: 2%;
  width: clamp(48px, 6.5vw, 72px);
  z-index: 3;
  color: var(--dream-gold);
  pointer-events: none;
  transform: translateX(-10%);
}

.purpose-duo {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  min-height: 420px;
  margin-bottom: clamp(42px, 6vw, 72px);
  box-shadow: 0 28px 70px rgba(0,0,0,.12);
}
.purpose-block {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
}
.purpose-block.is-vision {
  color: #fff;
  background:
    linear-gradient(160deg, rgba(12,12,10,.88) 0%, rgba(12,12,10,.55) 45%, rgba(12,12,10,.78) 100%),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1400&q=85') center / cover;
}
.purpose-block.is-mission {
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-left: 0;
}
.purpose-index {
  position: absolute;
  top: clamp(18px, 3vw, 32px);
  right: clamp(18px, 3vw, 32px);
  color: var(--gold);
  font: 500 clamp(3.2rem, 6vw, 5rem) / .85 "Cormorant Garamond", serif;
  opacity: .55;
  pointer-events: none;
}
.purpose-block.is-mission .purpose-index { opacity: .28; }
.purpose-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  max-width: 460px;
  min-height: 0;
}
.purpose-block .eyebrow {
  margin: 0 0 12px;
  position: relative;
  z-index: 2;
}
.purpose-block.is-vision .eyebrow { color: var(--gold-light); }
.purpose-block.is-mission .eyebrow { color: var(--red); }
.purpose-copy-body { margin-top: auto; padding-top: 48px; }
.purpose-block h3 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 500;
  line-height: .98;
}
.purpose-block h3 em { color: var(--gold); font-style: italic; }
.purpose-block.is-vision h3 em { color: var(--gold-light); }
.purpose-block p:last-child {
  margin: 0;
  font-size: .86rem;
  line-height: 1.8;
}
.purpose-block.is-vision p:last-child { color: rgba(255,255,255,.7); }
.purpose-block.is-mission p:last-child { color: var(--muted); }
.purpose-values {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.purpose-values-head h3 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.1rem);
  font-weight: 500;
  line-height: 1;
}
.value-manifesto {
  border-top: 1px solid rgba(0,0,0,.12);
}
.value-manifesto article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(0,0,0,.1);
  transition: padding-left .35s ease, background .35s ease;
}
.value-manifesto article:hover {
  padding-left: 10px;
  background: linear-gradient(90deg, rgba(199,166,97,.1), transparent 55%);
}
.value-manifesto article > span {
  color: var(--gold);
  font: 500 1.8rem/1 "Cormorant Garamond", serif;
}
.value-manifesto i {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 1.15rem;
}
.value-manifesto strong {
  display: block;
  margin-bottom: 8px;
  font: 600 1.45rem "Cormorant Garamond", serif;
  letter-spacing: .02em;
}
.value-manifesto p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.7;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.14);
}
.why-grid article {
  padding: 28px 22px;
  border-right: 1px solid rgba(255,255,255,.14);
  transition: background .3s, transform .3s;
}
.why-grid article:last-child { border-right: 0; }
.why-grid article:hover {
  background: rgba(199,166,97,.08);
  transform: translateY(-4px);
}
.why-grid i { color: var(--gold); font-size: 1.45rem; }
.why-grid strong {
  display: block;
  margin: 14px 0 8px;
  font: 600 1.3rem "Cormorant Garamond", serif;
}
.why-grid p {
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: .76rem;
  line-height: 1.65;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.team-grid article {
  text-align: center;
  padding: 28px 16px;
  background: linear-gradient(180deg, #fff, var(--paper));
  border: 1px solid rgba(0,0,0,.06);
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.team-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(199,166,97,.4);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}
.team-avatar {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border: 1px solid rgba(199,166,97,.45);
  border-radius: 50%;
  color: var(--gold);
  font-size: 2rem;
  background: #fff;
  transition: background .3s, color .3s, transform .3s;
}
.team-grid article:hover .team-avatar {
  background: var(--gold);
  color: #191713;
  transform: scale(1.05);
}
.team-grid strong {
  display: block;
  font: 600 1.15rem "Cormorant Garamond", serif;
  line-height: 1.25;
}
.team-grid span {
  display: block;
  margin-top: 8px;
  color: #8b7b60;
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.brand-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.brand-grid article,
.brand-grid .brand-card {
  flex: 1 1 260px;
  max-width: 340px;
  min-height: 150px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  transition: transform .35s, border-color .35s, box-shadow .35s;
  color: inherit;
  text-decoration: none;
  padding: 24px 16px;
}
.brand-grid article:hover,
.brand-grid .brand-card:hover {
  transform: translateY(-5px);
  border-color: rgba(199,166,97,.45);
  box-shadow: 0 18px 36px rgba(0,0,0,.07);
}
.brand-grid i { color: var(--gold); font-size: 1.8rem; transition: transform .35s; }
.brand-grid article:hover i,
.brand-grid .brand-card:hover i { transform: scale(1.12); }
.brand-grid strong {
  font: 600 1.35rem "Cormorant Garamond", serif;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.brand-grid .brand-card span {
  color: #8b7b60;
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.brand-grid .brand-card span i { font-size: .7rem; }

.social-float {
  position: fixed;
  z-index: 95;
  right: 18px;
  bottom: 92px;
  display: grid;
  gap: 10px;
}
.social-float a {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  transition: transform .25s, box-shadow .25s;
}
.social-float a:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0,0,0,.28); }
.social-float i { font-size: 1.35rem; }
.social-float-wa { background: #25d366; }
.social-float-ig {
  background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
}

/* Project list */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.project-filters button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(0,0,0,.14);
  background: transparent;
  color: var(--ink);
  font: 700 .58rem Montserrat, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s, color .25s;
}
.project-filters button.is-active,
.project-filters button:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #191713;
  transform: translateY(-1px);
}
.project-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project-card {
  display: grid;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s, border-color .4s;
}
.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(199,166,97,.35);
  box-shadow: 0 28px 55px rgba(0,0,0,.12);
}
.project-card-media {
  position: relative;
  height: 250px;
  overflow: hidden;
}
.project-card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(0,0,0,.35));
  pointer-events: none;
}
.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.22,1,.36,1);
}
.project-card:hover .project-card-media img { transform: scale(1.08); }
.project-card-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 7px 11px;
  background: rgba(17,17,15,.88);
  color: var(--gold-light);
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.project-card-body { padding: 24px 22px 26px; }
.project-card-body h3 {
  margin: 0 0 8px;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.1;
}
.project-card-body p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.65;
}
.project-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: #8b7b60;
  font-size: .55rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.project-card .text-link { margin-top: 0; }

/* Project details */
.detail-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  color: rgba(255,255,255,.7);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.detail-copy p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.8;
}
.detail-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid rgba(0,0,0,.1);
}
.detail-facts div {
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.detail-facts strong {
  display: block;
  margin-bottom: 4px;
  color: #8b7b60;
  font-size: .52rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.detail-facts span {
  font: 600 1.2rem "Cormorant Garamond", serif;
}
.detail-aside {
  position: sticky;
  top: 110px;
  padding: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(199,166,97,.16), transparent 40%),
    #121210;
  border: 1px solid rgba(199,166,97,.35);
  box-shadow: 0 24px 50px rgba(0,0,0,.18);
}
.detail-aside h3 {
  margin: 0 0 8px;
  font-size: 1.8rem;
}
.detail-aside p {
  margin: 0 0 20px;
  color: rgba(255,255,255,.58);
  font-size: .76rem;
  line-height: 1.65;
}
.detail-aside .gold-button,
.detail-aside .outline-button {
  width: 100%;
  margin-top: 8px;
}
.detail-aside .outline-button {
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
}
.detail-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform .7s ease, filter .7s ease;
}
.detail-gallery img:hover {
  transform: scale(1.03);
  filter: brightness(1.05);
}
.detail-video {
  margin-top: 42px;
}
.detail-video h3 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 600;
}
.detail-video-frame {
  position: relative;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 9;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
.detail-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Inquire page */
.inquire-page {
  padding: clamp(48px, 7vw, 90px) 0;
  background:
    radial-gradient(circle at 100% 0, rgba(199,166,97,.12), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(168,45,39,.08), transparent 35%),
    #11110f;
  color: #fff;
}
.inquire-wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.inquire-copy .page-lead { color: rgba(255,255,255,.62); }
.inquire-panel {
  padding: 30px;
  background: radial-gradient(circle at 100% 0, rgba(199,166,97,.13), transparent 35%), #121210;
  border: 1px solid rgba(199,166,97,.35);
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.inquire-panel .lead-types { margin-bottom: 20px; }
.inquire-panel .modal-lead-form { display: grid; gap: 12px; }
.inquire-success {
  padding: 40px 12px;
  text-align: center;
}
.inquire-success > i {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border: 1px solid rgba(199,166,97,.55);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.6rem;
}
.inquire-success h3 { margin: 0 0 8px; font-size: 2rem; }
.inquire-success p { margin: 0; color: rgba(255,255,255,.58); font-size: .78rem; }

/* Gallery */
.gallery-folders {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}
.gallery-folder {
  display: grid;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  font: inherit;
  transition: transform .35s ease;
}
.gallery-folder:hover { transform: translateY(-4px); color: inherit; }
.gallery-folder-cover {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 0 14px 14px 14px;
  overflow: hidden;
  background:
    linear-gradient(145deg, #e8dfcf, #d4c4a8);
  box-shadow: 0 18px 40px rgba(0,0,0,.1);
}
.gallery-folder-tab {
  position: absolute;
  top: -12px;
  left: 0;
  width: 42%;
  height: 14px;
  border-radius: 10px 12px 0 0;
  background: linear-gradient(180deg, #c7a661, #a8894a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.gallery-folder-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.gallery-folder:hover .gallery-folder-cover img { transform: scale(1.05); }
.gallery-folder-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17,17,15,.72);
  color: #fff;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .06em;
  backdrop-filter: blur(8px);
}
.gallery-folder-meta {
  display: grid;
  gap: 4px;
  padding: 0 2px;
}
.gallery-folder-meta small {
  color: var(--red);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.gallery-folder-meta strong {
  color: var(--ink);
  font: 600 1.2rem/1.15 "Cormorant Garamond", serif;
}
.gallery-folder-meta em {
  color: var(--muted);
  font-style: normal;
  font-size: .72rem;
}
.gallery-album[hidden] { display: none !important; }
.gallery-album-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.gallery-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  color: var(--ink);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.gallery-back:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.gallery-album-title .eyebrow { margin-bottom: 6px; }
.gallery-album-title h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 600;
  line-height: 1;
}
.gallery-album-location {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.gallery-filters {
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.gallery-by-project {
  display: grid;
  gap: clamp(42px, 6vw, 72px);
}
.gallery-project-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.gallery-project-head .eyebrow {
  margin-bottom: 6px;
}
.gallery-project-head h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 600;
  line-height: 1;
}
.gallery-project-head span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.gallery-project-head .text-link {
  flex: 0 0 auto;
  white-space: nowrap;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-grid a,
.gallery-grid figure {
  position: relative;
  margin: 0;
  min-height: 220px;
  overflow: hidden;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.22,1,.36,1), filter .5s;
}
.gallery-grid a:hover img,
.gallery-grid figure:hover img {
  transform: scale(1.07);
  filter: brightness(1.05);
}
.gallery-grid figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  font-size: .55rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-shadow: 0 4px 16px rgba(0,0,0,.45);
}
.gallery-grid a::after,
.gallery-grid figure::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
}
.gallery-grid .span-2 { grid-column: span 2; min-height: 320px; }
.gallery-grid .span-2 img { min-height: 320px; }

/* Media / Blog cards */
.media-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.media-card,
.blog-card {
  display: grid;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  overflow: hidden;
  transition: transform .4s, box-shadow .4s, border-color .4s;
}
.media-card:hover,
.blog-card:hover {
  transform: translateY(-7px);
  border-color: rgba(199,166,97,.35);
  box-shadow: 0 24px 48px rgba(0,0,0,.1);
}
.media-card-media {
  position: relative;
  height: 210px;
  overflow: hidden;
}
.media-card-media img,
.blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.blog-card img { height: 220px; }
.media-card:hover .media-card-media img,
.blog-card:hover img { transform: scale(1.07); }
.media-card-media i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(6px);
  transition: background .3s, transform .3s;
}
.media-card:hover .media-card-media i {
  background: rgba(199,166,97,.28);
  transform: translate(-50%, -50%) scale(1.06);
}
.media-card-body,
.blog-card-body { padding: 22px 20px 24px; }
.media-card-body small,
.blog-card-body time {
  color: #8b7b60;
  font-size: .52rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.media-card-body h3,
.blog-card-body h3 {
  margin: 8px 0 10px;
  font-size: 1.5rem;
  line-height: 1.15;
}
.media-card-body p,
.blog-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.65;
}
.blog-card-body p { margin-bottom: 16px; }

/* NRI / Investors */
.split-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  box-shadow: 0 28px 60px rgba(0,0,0,.12);
}
.split-panel {
  padding: clamp(32px, 4vw, 56px);
}
.split-panel.dark {
  color: #fff;
  background:
    linear-gradient(115deg, rgba(10,10,9,.95), rgba(10,10,9,.78)),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1400&q=85') center / cover;
}
.split-panel.light { background: #f1ede4; }
.split-panel .eyebrow { color: var(--gold); }
.split-panel.light .eyebrow { color: var(--red); }
.split-panel h2 { font-size: clamp(2rem, 3vw, 3rem); }
.split-panel p {
  max-width: 460px;
  margin: 16px 0 24px;
  font-size: .88rem;
  line-height: 1.75;
}
.split-panel.dark p { color: rgba(255,255,255,.66); }
.split-panel.light p { color: var(--muted); }
.benefit-list {
  display: grid;
  gap: 14px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.benefit-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  font-size: .78rem;
  line-height: 1.55;
}
.benefit-list i { color: var(--gold); margin-top: 2px; }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(28px, 5vw, 60px);
}
.contact-info article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
  transition: padding-left .3s;
}
.contact-info article:hover { padding-left: 6px; }
.contact-info i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(199,166,97,.45);
  border-radius: 50%;
  color: var(--gold);
  transition: background .3s, color .3s;
}
.contact-info article:hover i {
  background: var(--gold);
  color: #191713;
}
.contact-info strong {
  display: block;
  margin-bottom: 4px;
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.contact-info p,
.contact-info a {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.55;
}
.contact-form-panel {
  padding: 30px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 24px 50px rgba(0,0,0,.06);
}
.contact-form-panel .form-grid { margin-bottom: 12px; }
.contact-form-panel input,
.contact-form-panel select,
.contact-form-panel textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(0,0,0,.12);
  background: #faf8f3;
  color: var(--ink);
  font: .72rem Montserrat, sans-serif;
  outline: 0;
  transition: border-color .25s, box-shadow .25s;
}
.contact-form-panel input:focus,
.contact-form-panel select:focus,
.contact-form-panel textarea:focus {
  border-color: rgba(199,166,97,.7);
  box-shadow: 0 0 0 3px rgba(199,166,97,.15);
}
.contact-form-panel textarea {
  min-height: 120px;
  padding: 12px 13px;
  resize: vertical;
}
.contact-form-panel label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}
.contact-form-panel label > span {
  font-size: .54rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #716f69;
}
.contact-info .socials a {
  border-color: rgba(0,0,0,.18);
  color: var(--ink);
  transition: background .25s, color .25s, border-color .25s;
}
.contact-info .socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #191713;
}
.contact-map {
  margin-top: 36px;
  min-height: 340px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
  background:
    linear-gradient(rgba(17,17,15,.35), rgba(17,17,15,.35)),
    url('https://images.unsplash.com/photo-1524661135-423995f22d0b?w=1600&q=80') center / cover;
}

/* Modal polish */
.lead-modal {
  box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 0 1px rgba(199,166,97,.2);
}
.lead-types button { transition: background .25s, color .25s, transform .2s; }
.lead-types button:hover:not(.is-active) {
  color: #fff;
  background: rgba(255,255,255,.06);
}

/* Base responsive safety */
img, video, iframe { max-width: 100%; height: auto; }
.page-hero > img { height: 100%; }
.page-hero > video { height: 100%; }
.project-card,
.media-card,
.blog-card,
.dream-home,
.purpose-duo,
.detail-layout,
.inquire-wrap,
.contact-layout { min-width: 0; }

@media (max-width: 1280px) {
  .project-card-grid,
  .media-grid,
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .purpose-values { gap: 32px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid .span-2 { grid-column: span 2; }
}

@media (max-width: 1024px) {
  .dream-home,
  .purpose-duo,
  .purpose-values,
  .detail-layout,
  .inquire-wrap,
  .split-panels,
  .contact-layout { grid-template-columns: 1fr; }
  .dream-home { min-height: 0; }
  .dream-home-visual { min-height: 380px; order: -1; }
  .dream-seam,
  .dream-leaf { display: none; }
  .dream-pillars { max-width: none; }
  .purpose-block.is-mission { border-left: 1px solid rgba(0,0,0,.06); }
  .purpose-block { min-height: 280px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid article:nth-child(2n) { border-right: 0; }
  .why-grid article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .brand-grid { justify-content: center; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-aside { position: static; }
  .page-hero-content { padding: 48px 0 30px; }
  .page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
  .detail-gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-map { min-height: 280px; }
  .project-card-media { height: 220px; }
}

@media (max-width: 900px) {
  .page-section { padding: clamp(34px, 5vw, 56px) 0; }
  .page-hero + .page-section,
  .page-hero + .inquire-page { padding-top: 28px; }
  .project-filters { gap: 8px; }
  .project-filters button { min-height: 40px; padding: 0 14px; font-size: .54rem; }
  .gallery-folders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-album-bar {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .gallery-project-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-grid .span-2 { grid-column: span 2; min-height: 260px; }
  .gallery-grid .span-2 img { min-height: 260px; }
  .value-manifesto article { grid-template-columns: 52px 1fr; }
  .inquire-panel { padding: 22px 18px; }
  .contact-form-panel { padding: 22px 18px; }
  .split-panel { padding: 28px 22px; }
  .purpose-values-head h3 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
}

@media (max-width: 600px) {
  .page-hero-content { padding: 40px 0 26px; }
  .page-hero h1 { font-size: clamp(1.75rem, 7.5vw, 2.25rem); }
  .page-hero-frame { display: none; }
  .page-hero-rule { width: 36px; margin-bottom: 8px; }
  .breadcrumb { font-size: .48rem; margin-bottom: 6px; }
  .page-lead { font-size: .86rem; }
  .project-card-grid,
  .media-grid,
  .blog-grid,
  .why-grid,
  .team-grid,
  .detail-facts,
  .detail-gallery,
  .gallery-folders { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .why-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }
  .why-grid article:last-child { border-bottom: 0; }
  .brand-grid article,
  .brand-grid .brand-card { max-width: none; flex: 1 1 100%; min-height: 120px; }
  .team-grid article { padding: 22px 14px; }
  .value-manifesto article { grid-template-columns: 40px 1fr; gap: 10px; padding: 20px 0; }
  .value-manifesto article > span { font-size: 1.4rem; }
  .gallery-grid .span-2 { grid-column: auto; min-height: 200px; }
  .gallery-grid .span-2 img,
  .gallery-grid img { min-height: 200px; }
  .project-card-media,
  .media-card-media { height: 200px; }
  .blog-card img { height: 190px; }
  .project-card-body,
  .media-card-body,
  .blog-card-body { padding: 18px 16px 20px; }
  .project-card-body h3,
  .media-card-body h3,
  .blog-card-body h3 { font-size: 1.35rem; }
  .project-card-meta { flex-direction: column; gap: 6px; }
  .detail-hero-meta { gap: 10px; font-size: .55rem; }
  .detail-aside { padding: 22px 18px; }
  .detail-aside .gold-button,
  .detail-aside .outline-button { min-height: 46px; }
  .inquire-wrap { gap: 28px; }
  .inquire-page { padding: 36px 0 48px; }
  .contact-info article { grid-template-columns: 38px 1fr; }
  .contact-form-panel .form-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 220px; margin-top: 24px; }
  .purpose-block { padding: 28px 22px; min-height: 0; }
  .purpose-index { font-size: 2.6rem; }
  .purpose-block h3 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .dream-home-copy {
    padding: 40px var(--gutter) 36px;
    gap: 28px;
    justify-content: flex-start;
  }
  .dream-home-copy h2 { padding-left: 14px; }
  .dream-home-rule,
  .dream-pillars,
  .dream-home-foot { margin-left: 14px; }
  .dream-pillars { grid-template-columns: 1fr; }
  .dream-pillars article {
    grid-template-columns: 56px 1fr;
    column-gap: 14px;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid rgba(26, 26, 26, .1);
    padding: 14px 0;
  }
  .dream-pillars article:last-child { border-bottom: 0; }
  .dream-pillar-icon { width: 56px; height: 56px; grid-row: 1 / 3; }
  .dream-pillars strong,
  .dream-pillars p { grid-column: 2; max-width: none; }
  .dream-home-visual { min-height: 300px; }
  .connection-list { padding: 20px !important; }
  .split-panels { box-shadow: none; }
}

@media (max-width: 400px) {
  .project-filters { display: grid; grid-template-columns: 1fr 1fr; }
  .project-filters button { width: 100%; }
  .lead-types { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero > img,
  .page-hero > video { animation: none; transform: none; }
}
