/* ============================================================
   VERDANT LUXE — dark luxury interior landing
   ============================================================ */

:root {
  --bg-0: #150d17;          /* deepest plum-charcoal */
  --bg-1: #1a1119;          /* body base */
  --bg-2: #201525;          /* raised panels */
  --ink: #f4edf5;           /* warm white */
  --ink-soft: #d9cede;
  --muted: #a996ae;         /* lavender grey */
  --gold: #c9a45c;
  --gold-bright: #e3c584;
  --gold-dim: rgba(201, 164, 92, 0.55);
  --line: rgba(214, 185, 120, 0.22);
  --line-soft: rgba(244, 237, 245, 0.1);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 84px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--bg-1);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
section { scroll-margin-top: calc(var(--header-h) - 10px); }

::selection { background: rgba(201, 164, 92, 0.35); color: #fff; }

.container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- shared type ---------- */

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); }

h2 { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.12; }

.section { position: relative; }

.section-head {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-head h2 { margin: 18px 0 20px; }

.section-sub {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 560px;
  margin-inline: auto;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.4s var(--ease), gap 0.4s var(--ease);
}
.link-arrow .i-arrow { width: 20px; height: 12px; transition: transform 0.4s var(--ease); }
.link-arrow:hover { color: var(--gold-bright); gap: 16px; }
.link-arrow:hover .i-arrow { transform: translateX(3px); }

.head-link {
  position: absolute;
  right: calc((720px - min(1240px, 100vw - 48px)) / 2);
  bottom: 4px;
  white-space: nowrap;
}

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 17px 32px 15px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
              background-color 0.45s var(--ease), color 0.45s var(--ease),
              border-color 0.45s var(--ease);
}

.btn .i-arrow { width: 20px; height: 12px; flex: none; transition: transform 0.45s var(--ease); }
.btn:hover .i-arrow { transform: translateX(4px); }

.btn-gold {
  background: linear-gradient(115deg, #c19a4e, #dfc182 55%, #c9a45c);
  color: #221327;
  font-weight: 500;
}
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
  pointer-events: none;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(201, 164, 92, 0.22); }
.btn-gold:hover::after { transform: translateX(120%); }

.btn-outline {
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  color: var(--gold-bright);
  padding: 12px 24px 10px;
  font-size: 10px;
}
.btn-outline:hover { background: rgba(201, 164, 92, 0.12); border-color: var(--gold); }

.btn-block { width: 100%; }

/* ---------- preloader ---------- */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease 0.15s, visibility 0.8s ease 0.15s;
}
.preloader-inner { text-align: center; }
.preloader-logo {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.5em;
  padding-left: 0.5em;
  color: var(--gold);
  opacity: 0;
  animation: plFade 1s var(--ease) 0.1s forwards;
}
.preloader-line {
  display: block;
  height: 1px;
  width: 0;
  margin: 18px auto 0;
  background: var(--gold-dim);
  animation: plLine 1.1s var(--ease) 0.25s forwards;
}
@keyframes plFade { to { opacity: 1; } }
@keyframes plLine { to { width: 160px; } }

body.loaded .preloader { opacity: 0; visibility: hidden; pointer-events: none; }
/* Failsafe: clear the preloader even if JS never runs */
.preloader { animation: plHide 0.6s ease 3s forwards; }
@keyframes plHide { to { opacity: 0; visibility: hidden; } }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background-color 0.5s ease, backdrop-filter 0.5s ease,
              border-color 0.5s ease, transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(18, 10, 20, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}

.header-inner {
  width: min(1360px, calc(100% - 56px));
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 40px;
}
.site-header.scrolled .header-inner { height: 68px; }

.logo {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.38em;
  color: var(--gold);
  white-space: nowrap;
  transition: color 0.4s ease;
}
.logo:hover { color: var(--gold-bright); }

.main-nav {
  display: flex;
  gap: 34px;
  margin-inline: auto;
}
.main-nav a {
  position: relative;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: color 0.35s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-cta { flex: none; }

.burger {
  display: none;
  flex-direction: column;
  gap: 7px;
  padding: 10px 4px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.4s var(--ease), opacity 0.4s;
}
body.nav-open .burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
body.nav-open .burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* ---------- mobile menu ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(18, 10, 20, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.mobile-menu nav a {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--ink);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}
.mobile-menu nav a:hover { color: var(--gold-bright); }
body.nav-open .mobile-menu { opacity: 1; visibility: visible; }
body.nav-open .mobile-menu nav a { opacity: 1; transform: none; }
body.nav-open .mobile-menu nav a:nth-child(1) { transition-delay: 0.08s; }
body.nav-open .mobile-menu nav a:nth-child(2) { transition-delay: 0.14s; }
body.nav-open .mobile-menu nav a:nth-child(3) { transition-delay: 0.2s; }
body.nav-open .mobile-menu nav a:nth-child(4) { transition-delay: 0.26s; }
body.nav-open .mobile-menu nav a:nth-child(5) { transition-delay: 0.32s; }
body.nav-open { overflow: hidden; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-0);
}

.hero-slides { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.03);
  transform: scale(1.12);
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.02); } }

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(100deg, rgba(15, 8, 17, 0.86) 8%, rgba(15, 8, 17, 0.5) 42%, rgba(15, 8, 17, 0.12) 72%),
    linear-gradient(to top, rgba(21, 13, 23, 0.95) 0%, rgba(21, 13, 23, 0) 26%),
    linear-gradient(to bottom, rgba(15, 8, 17, 0.55) 0%, rgba(15, 8, 17, 0) 18%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
  padding: calc(var(--header-h) + 40px) 0 120px;
  max-width: none;
}
.hero-content > * { max-width: 620px; }

.hero-title {
  margin: 26px 0 10px;
  font-size: clamp(54px, 7.6vw, 100px);
  line-height: 0.98;
  letter-spacing: 0.01em;
  font-weight: 500;
  max-width: none;
  white-space: nowrap;
}
.hero-title .mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .word {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease);
}
.hero-title .word.w2 { transition-delay: 0.12s; }
body.loaded .hero-title .word { transform: translateY(0); }

.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 32px);
  color: #efe6f0;
  margin-bottom: 26px;
}

.hero-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 430px;
  margin-bottom: 38px;
}

.hero-side {
  position: absolute;
  right: 44px;
  bottom: 110px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(244, 237, 245, 0.55);
}
.hero-side::before {
  content: "";
  width: 1px;
  height: 64px;
  background: var(--gold-dim);
  margin-bottom: 16px;
}

.hero-pager {
  position: absolute;
  left: max(24px, calc((100vw - 1240px) / 2));
  bottom: 46px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 18px;
}
.pager-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(244, 237, 245, 0.45);
  transition: color 0.4s ease;
}
.pager-item i {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.18em;
}
.pager-item .bar {
  position: relative;
  width: 34px;
  height: 1px;
  background: rgba(244, 237, 245, 0.25);
  overflow: hidden;
}
.pager-item .bar b {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}
.pager-item.is-active { color: var(--gold-bright); }
.pager-item.is-active .bar { width: 56px; }
.pager-item.is-active .bar b { animation: pagerFill var(--slide-ms, 6500ms) linear forwards; }
@keyframes pagerFill { to { transform: scaleX(1); } }
.pager-item:hover { color: var(--gold-bright); }

/* ---------- collection ---------- */

.collection { padding: 110px 0 120px; background: var(--bg-1); }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0) 60%);
  padding: 10px 10px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.55s var(--ease), border-color 0.55s ease, box-shadow 0.55s ease;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(214, 185, 120, 0.5);
  box-shadow: 0 26px 50px rgba(8, 4, 10, 0.55);
}

.card-media {
  aspect-ratio: 4 / 3.1;
  overflow: hidden;
  background: radial-gradient(120% 120% at 30% 20%, #2d1c31, #170e19);
  margin-bottom: 22px;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1.1s var(--ease), filter 1.1s ease;
  filter: saturate(0.95);
}
.card:hover .card-media img { transform: scale(1.07); filter: saturate(1.05); }

.card h3 {
  font-size: 24px;
  padding: 0 14px;
  margin-bottom: 8px;
}
.card p {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  padding: 0 14px;
  margin-bottom: 22px;
  flex: 1;
}

.explore {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.4s ease;
}
.explore .circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  transition: background-color 0.45s ease, border-color 0.45s ease, color 0.45s ease, transform 0.45s var(--ease);
}
.explore .circle svg { width: 14px; height: 9px; }
.explore:hover { color: var(--gold-bright); }
.card:hover .explore .circle,
.explore:hover .circle {
  background: var(--gold);
  border-color: var(--gold);
  color: #221327;
  transform: translateX(4px);
}

/* ---------- philosophy ---------- */

.philosophy { background: var(--bg-2); overflow: hidden; }

.philosophy-grid {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 580px;
}

.philosophy-media {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 120% at 30% 20%, #2d1c31, #170e19);
}
.philosophy-media img {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  filter: saturate(0.92);
  will-change: transform;
}
.philosophy-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(21, 13, 23, 0.1), rgba(32, 21, 37, 0.55) 92%),
              linear-gradient(to top, rgba(15, 8, 17, 0.72), transparent 45%);
}

.philosophy-quote {
  position: absolute;
  z-index: 2;
  left: clamp(28px, 5vw, 72px);
  bottom: 54px;
  max-width: 300px;
}
.philosophy-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(21px, 1.9vw, 27px);
  line-height: 1.45;
  color: #f2eaf3;
}
.quote-line {
  display: block;
  width: 74px;
  height: 1px;
  background: var(--gold);
  margin-top: 20px;
}

.philosophy-body {
  padding: clamp(64px, 8vw, 110px) clamp(28px, 6vw, 96px) clamp(56px, 7vw, 96px) clamp(32px, 5vw, 76px);
}
.philosophy-body h2 { margin: 18px 0 26px; max-width: 600px; font-size: clamp(30px, 3.2vw, 45px); white-space: nowrap; }
@media (max-width: 560px) { .philosophy-body h2 { white-space: normal; } }

.philosophy-row {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}
.philosophy-text {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 470px;
}
.philosophy-row .link-arrow { flex: none; margin-bottom: 4px; }

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  border-top: 1px solid var(--line-soft);
  padding-top: 44px;
}
.values li {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.value-icon {
  width: 38px;
  height: 38px;
  color: var(--gold);
  transition: transform 0.5s var(--ease), color 0.5s ease;
}
.values li:hover .value-icon { transform: translateY(-4px); color: var(--gold-bright); }
.values li span {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.8;
}

.philosophy-rule {
  position: absolute;
  right: clamp(20px, 4vw, 60px);
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 120px;
  background: var(--gold-dim);
  opacity: 0.6;
}

/* ---------- portfolio ---------- */

.portfolio { padding: 120px 0 130px; background: var(--bg-1); }

.folio-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr 1.08fr 1.26fr;
  grid-template-rows: 350px 300px;
  gap: 18px;
}

.tile {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 120% at 30% 20%, #2d1c31, #170e19);
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1.2s var(--ease), filter 1.2s ease;
  filter: saturate(0.94);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 6, 13, 0.88) 0%, rgba(11, 6, 13, 0.25) 38%, rgba(11, 6, 13, 0) 60%);
  transition: background 0.6s ease;
}
.tile:hover img { transform: scale(1.06); filter: saturate(1.06); }

.t-residences { grid-column: 1; grid-row: 1 / 3; }
.t-urban { grid-column: 2 / 4; grid-row: 1; }
.t-private { grid-column: 4; grid-row: 1; }
.t-hospitality { grid-column: 2; grid-row: 2; }
.t-details { grid-column: 3; grid-row: 2; }
.t-global { grid-column: 4; grid-row: 2; }

.tile-cap {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.tile-cap h3 { font-size: clamp(22px, 1.8vw, 27px); line-height: 1.15; }
.tile-cap span:not(.circle) {
  display: block;
  margin-top: 7px;
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(227, 197, 132, 0.85);
}
.tile-cap .circle {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(244, 237, 245, 0.4);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.45s ease, border-color 0.45s ease, color 0.45s ease, transform 0.45s var(--ease);
}
.tile-cap .circle svg { width: 15px; height: 9px; }
.tile:hover .tile-cap .circle {
  background: var(--gold);
  border-color: var(--gold);
  color: #221327;
  transform: translate(3px, -3px);
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  padding: 140px 0 150px;
  overflow: hidden;
  text-align: center;
  background: var(--bg-0);
}
.cta-bg { position: absolute; inset: -14% 0; z-index: 0; }
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  will-change: transform;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(90% 120% at 50% 40%, rgba(21, 12, 23, 0.25), rgba(15, 8, 17, 0.78));
}
.cta-inner { position: relative; z-index: 2; }
.cta h2 { margin: 18px 0 22px; font-size: clamp(36px, 4.6vw, 56px); }
.cta-text {
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.85;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--bg-0);
  border-top: 1px solid var(--line-soft);
  padding: 68px 0 40px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand .logo { font-size: 15px; }
.footer-brand p {
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-nav { display: flex; gap: 30px; flex-wrap: wrap; padding-top: 6px; }
.footer-nav a {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.35s ease;
}
.footer-nav a:hover { color: var(--gold-bright); }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: border-color 0.4s ease, color 0.4s ease, transform 0.4s var(--ease), background-color 0.4s ease;
}
.footer-social svg { width: 15px; height: 15px; }
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-motto { letter-spacing: 0.26em; color: rgba(201, 164, 92, 0.75); }

/* ---------- mobile sticky CTA ---------- */

.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(18, 10, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-soft);
  transform: translateY(110%);
  transition: transform 0.55s var(--ease);
  display: none;
}
.mobile-cta .btn { width: 100%; }
body.show-mcta .mobile-cta { transform: translateY(0); }

/* ---------- modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.modal.is-open { opacity: 1; visibility: visible; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 5, 12, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  background: linear-gradient(170deg, #241729, #1a1020);
  border: 1px solid var(--line);
  padding: clamp(32px, 5vw, 52px);
  transform: translateY(26px) scale(0.985);
  transition: transform 0.55s var(--ease);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
}
.modal.is-open .modal-panel { transform: none; }

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 26px;
  font-weight: 300;
  color: var(--muted);
  padding: 6px 10px;
  transition: color 0.3s ease, transform 0.3s ease;
}
.modal-close:hover { color: var(--gold-bright); transform: rotate(90deg); }

.modal-panel h3 { font-size: clamp(28px, 4vw, 34px); margin: 14px 0 10px; }
.modal-sub { font-size: 13px; color: var(--muted); line-height: 1.75; margin-bottom: 30px; }

.field { display: block; margin-bottom: 22px; }
.field span {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.field span em { color: var(--muted); font-style: normal; letter-spacing: 0.15em; }
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(244, 237, 245, 0.22);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  padding: 6px 2px 12px;
  outline: none;
  transition: border-color 0.4s ease;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(169, 150, 174, 0.55); }
.field input:focus,
.field textarea:focus { border-bottom-color: var(--gold); }
.field input.invalid { border-bottom-color: #b0576a; }

.modal-form .btn-block { margin-top: 10px; }
.modal-note { margin-top: 20px; font-size: 11.5px; color: var(--muted); text-align: center; }
.modal-note a { color: var(--gold); border-bottom: 1px solid var(--gold-dim); transition: color 0.3s; }
.modal-note a:hover { color: var(--gold-bright); }

.modal-success { text-align: center; padding: 30px 0 16px; }
.modal-success svg { width: 58px; height: 58px; color: var(--gold); margin-bottom: 22px; }
.modal-success h3 { margin-bottom: 12px; }
.modal-success p { font-size: 13.5px; color: var(--muted); line-height: 1.8; max-width: 320px; margin-inline: auto; }

/* ---------- reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .head-link { position: static; display: inline-flex; margin-top: 24px; }
  .philosophy-rule { display: none; }
}

@media (max-width: 1024px) {
  .main-nav, .header-cta { display: none; }
  .burger { display: flex; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .philosophy-media { min-height: 440px; }
  .philosophy-media img { position: absolute; inset: 0; height: 100%; }
  .folio-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: 280px;
  }
  .t-residences { grid-column: 1; grid-row: span 2; }
  .t-urban { grid-column: 2; grid-row: auto; }
  .t-private { grid-column: 2; grid-row: auto; }
  .t-hospitality { grid-column: 1; }
  .t-details { grid-column: 2; }
  .t-global { grid-column: 1 / 3; }
  .hero-side { display: none; }
}

@media (max-width: 720px) {
  .collection, .portfolio { padding: 84px 0 90px; }
  .section-head { margin-bottom: 44px; }
  .cards { grid-template-columns: 1fr; }
  .philosophy-row { flex-direction: column; align-items: flex-start; gap: 22px; }
  .values { grid-template-columns: repeat(2, 1fr); gap: 34px 18px; }
  .folio-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .t-residences { grid-column: 1; grid-row: auto; }
  .t-urban, .t-private, .t-details, .t-global { grid-column: 1; }
  .t-hospitality { grid-column: 1; }
  .hero-content { padding-bottom: 140px; }
  .hero-text { margin-bottom: 30px; }
  .hero-cta { width: 100%; }
  .hero-pager { left: 24px; bottom: 34px; }
  .cta { padding: 100px 0 110px; }
  .footer-top { flex-direction: column; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .mobile-cta { display: block; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-title .word { transform: none; transition: none; }
  .hero-slide.is-active img { animation: none; transform: scale(1.02); }
  .hero-slide { transition-duration: 0.3s; }
  .btn-gold::after { display: none; }
  .preloader { display: none; }
  * { animation-duration: 0.01ms !important; }
}
