/* Elie Saab Waterfront — dark editorial theme (Bulgari-style rhythm, PropertyAE portal chrome) */

html:has(body.esw) {
  background: #0a0f14;
  scroll-padding-top: var(--nav-h);
}

body.esw {
  --esw-gold: #c9a962;
  --esw-gold-soft: #dfc07a;
  --esw-ink: #0a0f14;
  --esw-panel: #0e151d;
  --background: var(--esw-ink);
  --foreground: #f5f4f0;
  --muted: rgba(245, 244, 240, 0.68);
  --cream: var(--esw-ink);
  --forest: var(--esw-gold);
  --forest-light: var(--esw-gold-soft);
  --line: rgba(201, 169, 98, 0.16);
  --gold: var(--esw-gold);
  --gold-light: var(--esw-gold-soft);
  --font-heading: "Cormorant Garamond", Georgia, serif;
  background: var(--esw-ink);
  color: var(--foreground);
  font-family: "Jost", "DM Sans", system-ui, sans-serif;
}

body.esw h1,
body.esw h2,
body.esw h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: #faf9f6;
}

body.esw h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  letter-spacing: 0.01em;
}

body.esw main {
  background: var(--esw-ink);
}

body.esw a:not(.btn):not(.nav-logo-link) {
  color: var(--esw-gold-soft);
}

body.esw a:not(.btn):hover {
  color: var(--esw-gold);
}

body.esw .section,
body.esw .section-cream,
body.esw .esw-section--panel {
  background: var(--esw-ink);
}

body.esw .esw-section--panel {
  padding-block: clamp(3.25rem, 7vw, 5.25rem);
  border-block: 1px solid rgba(201, 169, 98, 0.1);
}

body.esw .esw-section--panel h2 {
  color: var(--esw-gold);
}

body.esw .section p,
body.esw .section li,
body.esw .esw-split-copy p {
  color: rgba(245, 244, 240, 0.82);
  max-width: 42rem;
  line-height: 1.75;
}

body.esw .faq-list dt {
  color: var(--esw-gold-soft);
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

body.esw .faq-list dd {
  color: rgba(245, 244, 240, 0.78);
}

body.esw .nav-wrap--hero {
  border-bottom-color: rgba(201, 169, 98, 0.12);
}

body.esw .nav-wrap--hero.is-scrolled {
  background: rgba(10, 15, 20, 0.94);
  border-bottom-color: rgba(201, 169, 98, 0.18);
}

body.esw .nav-wrap--hero .nav-links a:not(.btn) {
  color: rgba(245, 244, 240, 0.82);
}

body.esw .nav-wrap--hero .nav-links a:not(.btn):hover,
body.esw .nav-wrap--hero .nav-links a[aria-current="page"] {
  color: var(--esw-gold);
}

body.esw .nav-wrap--hero.is-scrolled .nav-links a:not(.btn) {
  color: rgba(245, 244, 240, 0.88);
}

body.esw .site-footer {
  background: #050810;
  border-top: 1px solid rgba(201, 169, 98, 0.12);
  margin-top: 0;
}

body.esw .site-footer a {
  color: rgba(245, 244, 240, 0.72);
}

body.esw .site-footer a:hover {
  color: var(--esw-gold);
}

body.esw .hero-banner-page-overlay {
  background:
    linear-gradient(90deg, rgba(10, 15, 20, 0.72) 0%, rgba(10, 15, 20, 0.35) 50%, rgba(10, 15, 20, 0.55) 100%),
    linear-gradient(180deg, rgba(10, 15, 20, 0.15) 0%, rgba(5, 8, 12, 0.92) 100%);
}

body.esw .breadcrumb,
body.esw .breadcrumb a {
  color: rgba(245, 244, 240, 0.72);
}

body.esw .breadcrumb a:hover {
  color: var(--esw-gold);
}

body.esw .btn-primary {
  background: var(--esw-gold);
  border-color: var(--esw-gold);
  color: #0a0f14;
}

body.esw .btn-primary:hover {
  background: var(--esw-gold-soft);
  border-color: var(--esw-gold-soft);
  color: #0a0f14;
}

body.esw .btn-outline-light {
  border-color: rgba(201, 169, 98, 0.55);
  color: #faf9f6;
}

body.esw .btn-outline-light:hover {
  border-color: var(--esw-gold);
  background: rgba(201, 169, 98, 0.12);
  color: #fff;
}

body.esw .register-modal-dialog {
  background: #10161c;
  border: 1px solid rgba(201, 169, 98, 0.2);
}

body.esw .register-modal-title {
  font-family: var(--font-heading);
  color: #faf9f6;
}

body.esw .esw-nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

body.esw .esw-nav-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 9.5rem;
  object-fit: contain;
}

@media (min-width: 1024px) {
  body.esw .esw-nav-logo {
    height: 64px;
    max-width: 11rem;
  }
}

body.esw .esw-footer-logo {
  display: inline-block;
  margin-bottom: 0.85rem;
}

body.esw .esw-footer-logo img {
  display: block;
  height: 88px;
  width: auto;
  max-width: 14rem;
  object-fit: contain;
}

body.esw .esw-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(201, 169, 98, 0.45);
  border-radius: 999px;
  color: var(--esw-gold);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.esw .esw-confirm {
  font-size: 0.88rem;
  color: rgba(250, 249, 246, 0.7);
}

body.esw .esw-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 1rem;
}

body.esw .esw-pay-bars {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0;
}

body.esw .esw-pay-row {
  display: grid;
  gap: 0.4rem;
}

body.esw .esw-pay-row strong {
  font-weight: 600;
}

body.esw .esw-pay-track {
  height: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

body.esw .esw-pay-fill {
  height: 100%;
  background: linear-gradient(90deg, #c9a962, #e6d3a0);
}

body.esw .esw-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

body.esw .esw-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

body.esw .esw-table th,
body.esw .esw-table td {
  padding: 0.75rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

body.esw .esw-table th {
  color: var(--esw-gold);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.esw .esw-bleed {
  position: relative;
  margin: 0;
  width: 100%;
  min-height: 70vh;
  background: #0a0f14;
}

body.esw .esw-bleed-img {
  display: block;
  width: 100%;
  height: 72vh;
  min-height: 28rem;
  object-fit: cover;
  object-position: center;
}

body.esw .esw-bleed-cap {
  position: absolute;
  left: 1.25rem;
  bottom: 1.1rem;
  margin: 0;
  color: rgba(250, 249, 246, 0.86);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

body.esw .esw-split {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
  background: #0a0f14;
}

body.esw .esw-split-media {
  margin: 0;
  min-height: 62vh;
  background: #10161c;
}

body.esw .esw-split-img {
  display: block;
  width: 100%;
  height: 68vh;
  min-height: 26rem;
  object-fit: cover;
  object-position: center;
}

body.esw .esw-split-copy {
  padding: clamp(1.75rem, 5vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
  max-width: 40rem;
}

@media (min-width: 960px) {
  body.esw .esw-split {
    grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
    align-items: stretch;
  }

  body.esw .esw-split--flip {
    grid-template-columns: minmax(20rem, 0.85fr) minmax(0, 1.15fr);
  }

  body.esw .esw-split--flip .esw-split-media {
    order: 2;
  }

  body.esw .esw-split--flip .esw-split-copy {
    order: 1;
  }

  body.esw .esw-split-media {
    min-height: 100%;
  }

  body.esw .esw-split-img {
    height: 100%;
    min-height: 36rem;
  }

  body.esw .esw-split-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

body.esw .esw-gallery-section {
  overflow: visible;
}

body.esw .esw-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  body.esw .esw-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  body.esw .esw-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
  }

  body.esw .esw-gallery-grid figure:nth-child(3n) {
    grid-column: 1 / -1;
  }
}

body.esw .esw-gallery-grid figure {
  margin: 0;
  background: #10161c;
}

body.esw .esw-gallery-grid img,
body.esw .esw-gallery-img {
  width: 100%;
  height: auto;
  min-height: 16rem;
  max-height: 78vh;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

body.esw .esw-gallery-grid figcaption {
  padding: 0.85rem 1rem 1.1rem;
  color: rgba(250, 249, 246, 0.78);
  font-size: 0.92rem;
}

body.esw .esw-map-frame {
  margin: 1.25rem 0 0;
  border: 1px solid var(--line);
  background: #0a1620;
}

body.esw .esw-map-frame img,
body.esw .esw-map-frame svg {
  width: 100%;
  height: auto;
  display: block;
}

body.esw .esw-hero-video .hero-banner-overlay {
  background:
    linear-gradient(90deg, rgba(10, 15, 20, 0.78) 0%, rgba(10, 15, 20, 0.42) 48%, rgba(10, 15, 20, 0.2) 100%),
    linear-gradient(180deg, rgba(10, 15, 20, 0.28) 0%, rgba(10, 15, 20, 0.55) 55%, rgba(5, 8, 12, 0.92) 100%);
  z-index: 2;
}

body.esw .esw-hero-video .hero-banner-inner {
  z-index: 3;
}

body.esw .esw-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin: 1rem 0 0;
}

body.esw .esw-subnav a[aria-current="page"] {
  color: var(--esw-gold);
}

body.esw .form-card {
  max-width: 36rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: rgba(16, 22, 28, 0.72);
}

body.esw .form-card h3 {
  margin-bottom: 0.5rem;
}
