:root {
  --ink: #080b10;
  --panel: rgba(10, 15, 23, 0.72);
  --panel-strong: rgba(15, 21, 33, 0.92);
  --gold: #8cc7ff;
  --gold-soft: rgba(140, 199, 255, 0.16);
  --line: rgba(255, 255, 255, 0.08);
  --text-soft: rgba(255, 255, 255, 0.68);
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: white;
}

img, svg {
  display: block;
  max-width: 100%;
}

i[data-lucide],
.material-symbols-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(140, 199, 255, 0.18), transparent 24%),
    radial-gradient(circle at 85% 25%, rgba(255, 255, 255, 0.08), transparent 20%);
  z-index: 0;
}

.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.13;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 120px 120px;
  mix-blend-mode: screen;
}

main, header, footer {
  position: relative;
  z-index: 1;
}

.nav-link {
  position: relative;
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: transform 240ms ease;
}

.nav-link:hover {
  color: white;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(255,255,255,0.03);
  padding: 1rem 1.1rem;
  color: rgba(255,255,255,0.86);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.mobile-link:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(201,164,106,0.25);
}

.footer-title {
  font-size: 0.76rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.glass-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  box-shadow: 0 24px 60px rgba(0,0,0,0.24);
  backdrop-filter: blur(22px);
}

.premium-card {
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    rgba(7, 10, 16, 0.78);
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}

.section-label {
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.56);
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4.2vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: rgba(255,255,255,0.66);
  line-height: 1.8;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.property-media {
  position: relative;
  overflow: hidden;
}

.property-media img,
.hero-image {
  transition: transform 900ms cubic-bezier(.2,.8,.2,1), filter 900ms cubic-bezier(.2,.8,.2,1);
}

.group:hover .property-media img,
.group:hover .hero-image {
  transform: scale(1.06);
  filter: saturate(1.05);
}

.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,164,106,0.9), transparent);
}

.stat-chip {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
}

.search-pill {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

.shadow-ethereal {
  box-shadow: 0 30px 80px rgba(0,0,0,0.32);
}

.ticker {
  animation: marquee 24s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.metric-line {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.metric-line > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d8bc8a, #8d6b3d);
}

.map-frame iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  filter: saturate(0.9) contrast(1.05);
}

@media (max-width: 768px) {
  .section-title {
    line-height: 1;
  }

  .map-frame iframe {
    min-height: 320px;
  }

  .section-label {
    letter-spacing: 0.24em;
  }
}
