@import url("/css/berkeley-tower.css");

body.palm-springs-by-nakheel {
  --berkeley-ink: #22382e;
  --berkeley-gold: #c9a36a;
  --berkeley-paper: #f4efe6;
  --ps-champagne: #c9a36a;
  --ps-champagne-deep: #22382e;
}

/* Portal chrome: sticky header + floating register (jbv-editorial hides these by default) */
body.palm-springs-by-nakheel.jbv-editorial .nav-wrap,
body.palm-springs-by-nakheel.jbv-editorial .float-register {
  display: block !important;
}

body.palm-springs-by-nakheel.jbv-editorial .nav-wrap--hero {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 100;
}

body.palm-springs-by-nakheel .float-register {
  z-index: 300;
}

body.palm-springs-by-nakheel .float-register .btn {
  background: var(--ps-champagne);
  color: var(--ps-champagne-deep);
  border: none;
  box-shadow: 0 8px 24px rgba(34, 56, 46, 0.28);
}

body.palm-springs-by-nakheel .float-register .btn:hover {
  background: #b8925a;
  color: #fff;
}

/* Video hero */
.palm-springs-by-nakheel .typ-hero--video {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--ps-champagne-deep);
  overflow: hidden;
  padding: 0;
  background-image: none;
}

.palm-springs-by-nakheel .typ-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.palm-springs-by-nakheel .typ-hero-media video,
.palm-springs-by-nakheel .typ-hero-media .typ-hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.palm-springs-by-nakheel .typ-hero-media .typ-hero-poster {
  z-index: 0;
}

.palm-springs-by-nakheel .typ-hero-media video {
  z-index: 1;
}

.palm-springs-by-nakheel .typ-hero--video .typ-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(34, 56, 46, 0.2) 0%, rgba(34, 56, 46, 0.88) 78%);
}

.palm-springs-by-nakheel .typ-hero--video .typ-hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(7rem, 14vw, 9rem) 1.25rem clamp(2.5rem, 5vw, 4rem);
}

.palm-springs-by-nakheel .typ-hero-overlay {
  background: linear-gradient(90deg, rgba(34, 56, 46, 0.92), rgba(34, 56, 46, 0.55) 55%, rgba(34, 56, 46, 0.12));
}

.palm-springs-by-nakheel .typ-building-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.palm-springs-by-nakheel .typ-building-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.palm-springs-by-nakheel .typ-section--panel .typ-section-head {
  max-width: 920px;
  text-align: center;
}

.palm-springs-by-nakheel .typ-photo-note {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(27, 28, 31, 0.65);
}

.palm-springs-by-nakheel .typ-disclaimer {
  font-size: 0.875rem;
  color: rgba(27, 28, 31, 0.72);
  max-width: 72ch;
}

.palm-springs-by-nakheel .typ-arch-stage {
  margin: 0;
  line-height: 0;
}

.palm-springs-by-nakheel .typ-arch-stage img {
  width: 100%;
  height: auto;
  max-height: min(70vh, 720px);
  object-fit: cover;
}

@media (max-width: 900px) {
  .palm-springs-by-nakheel .typ-building-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .palm-springs-by-nakheel .typ-building-grid--two {
    grid-template-columns: 1fr;
  }
}
