/* ==========================================================================
   VASTUSHED — ARCHITECTURE, TURNKEY CONSTRUCTION & PRACTICAL VASTU
   Aesthetic: Refined Dark Luxury (Obsidian, Slate, Champagne Gold, Warm Copper)
   Positioning: Pan-India Luxury Architectural Practice
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,600;0,6..96,700;0,6..96,900;1,6..96,400&family=Pinyon+Script&display=swap');

:root {
  /* Core Color Palette - Refined Dark Luxury */
  --bg-primary: #070a0d;
  --bg-surface: #0d1319;
  --bg-card: #121a22;
  --bg-card-hover: #17222c;
  --bg-elevated: #1a2632;
  
  --accent-gold: #e5b95c;
  --accent-gold-light: #f6d892;
  --accent-gold-glow: rgba(229, 185, 92, 0.22);
  --accent-gold-subtle: rgba(229, 185, 92, 0.08);
  
  --accent-copper: #c8633a;
  --accent-copper-glow: rgba(200, 99, 58, 0.22);
  
  --accent-cyan: #38bdf8;
  --accent-emerald: #10b981;
  --accent-sandstone: #e2d9cc;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-gold: #e5b95c;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-gold: rgba(229, 185, 92, 0.35);
  --border-gold-strong: rgba(229, 185, 92, 0.6);

  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-tech: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-primary);
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(229, 185, 92, 0.25);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Typography Classes */
.font-cinzel { font-family: var(--font-serif); }
.font-tech { font-family: var(--font-tech); }
.font-mono { font-family: var(--font-mono); }
.font-sans { font-family: var(--font-sans); }

.gradient-gold {
  background: linear-gradient(135deg, #fff2cc 0%, #e5b95c 50%, #c8633a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-cyan {
  background: linear-gradient(135deg, #e0f2fe 0%, #38bdf8 60%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtle Architectural Grid Texture (Very faint, zero clutter) */
.architectural-grid {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Glassmorphic Luxury Surfaces */
.glass-panel {
  background: rgba(18, 26, 34, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.glass-panel:hover {
  background: rgba(23, 34, 44, 0.85);
  border-color: var(--border-gold);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 25px -5px var(--accent-gold-glow);
}

/* Chamfered Luxury Corners */
.cad-corner {
  position: relative;
}
.cad-corner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--accent-gold);
  border-right: 2px solid var(--accent-gold);
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.cad-corner:hover::after {
  opacity: 1;
}

/* Luxury Buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, #e5b95c 0%, #d4a342 100%);
  color: #070a0d;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(229, 185, 92, 0.25);
  transition: all var(--transition-smooth);
  cursor: pointer;
  text-decoration: none;
}

.btn-gold:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f0ca76 0%, #e5b95c 100%);
  box-shadow: 0 8px 30px rgba(229, 185, 92, 0.4);
  color: #000000;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(8px);
  transition: all var(--transition-smooth);
  cursor: pointer;
  text-decoration: none;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.btn-chamfer {
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

/* Badge & Pills */
.luxury-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(229, 185, 92, 0.08);
  border: 1px solid rgba(229, 185, 92, 0.25);
  border-radius: 9999px;
  color: var(--accent-gold);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tech-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Nav Link Styling */
.nav-link {
  position: relative;
  transition: color 0.25s ease;
  padding: 0.5rem 0;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Logo Frame */
.brand-logo-frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid rgba(229, 185, 92, 0.5);
  background: #0d1318;
  transition: all 0.35s ease;
  box-shadow: 0 0 16px rgba(229, 185, 92, 0.2);
}

.brand-logo-frame:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 0 25px rgba(229, 185, 92, 0.45);
  transform: scale(1.04);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Interactive Split-Slider (CAD Blueprint vs 3D Render) */
.comparison-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  user-select: none;
  touch-action: pan-y;
  border: 1px solid var(--border-medium);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9);
}

.comparison-after-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 380px;
  max-height: 580px;
  object-fit: cover;
}

.comparison-before-container {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
  border-right: 2px solid var(--accent-gold);
  box-shadow: 2px 0 20px rgba(229, 185, 92, 0.5);
}

.comparison-before-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 580px;
  object-fit: cover;
}

.comparison-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #070a0d;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 0 20px rgba(229, 185, 92, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  z-index: 30;
  color: var(--accent-gold);
  pointer-events: auto;
}

/* Vastu Compass Sector Card & Grid */
.vastu-direction-card {
  position: relative;
  background: rgba(18, 26, 34, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.vastu-direction-card:hover {
  background: rgba(23, 34, 44, 0.85);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.vastu-direction-card.active {
  background: rgba(229, 185, 92, 0.12);
  border-color: var(--accent-gold);
  box-shadow: 0 0 25px var(--accent-gold-glow);
}

/* Package Cards */
.package-card {
  position: relative;
  background: rgba(18, 26, 34, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.package-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.8), 0 0 30px var(--accent-gold-glow);
}

.package-card.featured {
  background: linear-gradient(180deg, rgba(26, 38, 50, 0.8) 0%, rgba(18, 26, 34, 0.8) 100%);
  border-color: var(--accent-gold);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 185, 92, 0.15);
}

.package-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent-gold);
  color: #070a0d;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 4px 15px rgba(229, 185, 92, 0.4);
}

/* Filter Buttons */
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: var(--border-medium);
}

.filter-btn.active {
  background: var(--accent-gold);
  color: #070a0d;
  font-weight: 700;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 20px rgba(229, 185, 92, 0.35);
}

/* Carousel / Card Slider Controls */
.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(7, 10, 13, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  z-index: 10;
  opacity: 0;
}

.slider-arrow-btn:hover {
  background: var(--accent-gold);
  color: #070a0d;
  border-color: var(--accent-gold);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow-btn.prev { left: 12px; }
.slider-arrow-btn.next { right: 12px; }

.group:hover .slider-arrow-btn,
.hero-slider-container:hover .slider-arrow-btn {
  opacity: 1;
}

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  pointer-events: auto;
}

.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.slider-dot.active {
  width: 24px;
  background: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
}

/* Project Modal Animations */
.project-modal {
  animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* Hero Multi-Slide Transitions */
.hero-project-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s ease;
  transform: scale(1.02);
}

.hero-project-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .comparison-after-img,
  .comparison-before-img {
    min-height: 280px;
    max-height: 380px;
  }
  .package-card {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   ERA RESIDENCE ARCH ENTRANCE PRELOADER (DARK LUXURY THEME)
   ========================================================================== */
:root {
  --preloader-bg: #070a0d; /* Deep Obsidian Midnight matching brand */
  --preloader-line: rgba(229, 185, 92, 0.35); /* Champagne Gold Line */
  --preloader-text-primary: #ffffff;
  --preloader-text-secondary: #e5b95c;
  --preloader-font-display: 'Bodoni Moda', 'Cinzel', serif;
  --preloader-font-accent: 'Pinyon Script', cursive;
  --preloader-font-mono: 'JetBrains Mono', 'Space Grotesk', monospace;
}

[data-preloader] {
  --arch-w: 36vw;
  --arch-h: calc(var(--arch-w) / (560 / 2592));
  --arch-y: 104vh;

  position: fixed;
  inset: 0;
  z-index: 999999;
  background-color: var(--preloader-bg);
  overflow: hidden;
  pointer-events: auto;
  display: block;

  mask-image: 
    linear-gradient(white, white), 
    linear-gradient(white, white), 
    linear-gradient(white, white), 
    url('../assets/svg/preloader_arch.svg');
  -webkit-mask-image: 
    linear-gradient(white, white), 
    linear-gradient(white, white), 
    linear-gradient(white, white), 
    url('../assets/svg/preloader_arch.svg');

  mask-size:
    calc(50% - (var(--arch-w) / 2) + 2px) 100%,
    calc(var(--arch-w) + 4px) calc(var(--arch-y) + 2px),
    calc(50% - (var(--arch-w) / 2) + 2px) 100%,
    var(--arch-w) var(--arch-h);
  -webkit-mask-size:
    calc(50% - (var(--arch-w) / 2) + 2px) 100%,
    calc(var(--arch-w) + 4px) calc(var(--arch-y) + 2px),
    calc(50% - (var(--arch-w) / 2) + 2px) 100%,
    var(--arch-w) var(--arch-h);

  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;

  mask-position:
    left top,
    center top,
    right top,
    center var(--arch-y);
  -webkit-mask-position:
    left top,
    center top,
    right top,
    center var(--arch-y);

  mask-composite: add;
  -webkit-mask-composite: source-over;
}

[data-preloader] * {
  transform-style: flat;
}

@media (max-width: 991px) {
  [data-preloader] {
    --arch-w: 50vw;
  }
}

.preloader_ctn {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 3.5rem;
}

@media (max-width: 768px) {
  .preloader_ctn {
    padding: 1.5rem;
  }
}

.preloader_t {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.logo_symbol {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
}

.preloader_c {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 2;
}

.preloader_grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: 1400px;
}

@media (max-width: 991px) {
  .preloader_grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  .preloader_title-l, .preloader_title-r {
    display: none;
  }
}

.preloader_title-l {
  text-align: left;
}

.preloader_title-r {
  text-align: right;
}

.preloader_side_text {
  font-family: var(--preloader-font-display);
  font-size: clamp(14px, 1.4vw, 22px);
  text-transform: uppercase;
  letter-spacing: 0.6em;
  color: #ffffff;
  white-space: nowrap;
}

.preloader_title-l,
.preloader_title-r,
.preloader_logo {
  perspective: 1000px;
}

.preloader_logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.preloader_main_title {
  font-family: var(--preloader-font-display);
  font-size: clamp(40px, 6.5vw, 96px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.024em;
  color: #ffffff;
  text-transform: uppercase;
}

.preloader_logo_a {
  position: relative;
  margin-top: -1.5rem;
  margin-left: -1rem;
  transform: rotate(-10deg);
  pointer-events: none;
}

.preloader_accent_script {
  font-family: var(--preloader-font-accent);
  font-size: clamp(52px, 8.5vw, 120px);
  color: #e5b95c;
  line-height: 0.95;
  text-shadow: 0 4px 30px rgba(229, 185, 92, 0.45);
}

.preloader_b {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}

.preloader_b_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.preloader_progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.preloader_progress_fill {
  width: 1px;
  height: 96px;
  background-color: var(--preloader-line);
  position: relative;
  overflow: hidden;
}

.preloader_progress_track {
  width: 100%;
  height: 100%;
  background-color: #e5b95c;
  transform: translateY(-100%);
}

.preloader_sub_tagline {
  font-family: var(--preloader-font-mono);
  font-size: clamp(9px, 0.75vw, 11px);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--preloader-text-secondary);
  text-align: center;
  line-height: 1.7;
}

/* Background watermark */
.preloader_bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.preloader_bg_a {
  position: absolute;
  inset: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.05;
}

.preloader_watermark_img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(1);
}

/* 45-degree chamfered framing lines */
.preloader_bg_decor {
  position: absolute;
  inset: 24px;
  pointer-events: none;
}

.decor {
  position: absolute;
  inset: 0;
  color: rgba(255, 255, 255, 0.18);
}

.decor svg {
  display: block;
}

.frame_l-tb {
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background-color: currentColor;
}

.frame_r-tb {
  position: absolute;
  right: 0;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background-color: currentColor;
}

.frame_t-lr {
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background-color: currentColor;
}

.frame_b-lr {
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background-color: currentColor;
}

.frame_lt {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
}

.frame_rt {
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
}

.frame_lb {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 24px;
}

.frame_rb {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 24px;
}

/* Concentric arch outline rings */
.preloader_bg_arch {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  display: flex;
  justify-content: center;
}

.preloader_bg_arch_is-1 {
  position: absolute;
  z-index: 1;
  width: calc(var(--arch-w) * 1.02);
  height: calc(var(--arch-h) * 1.01);
  top: calc(var(--arch-y) - (var(--arch-h) * 0.005));
  border-top-left-radius: var(--arch-w);
  border-top-right-radius: var(--arch-w);
  outline: 1px solid rgba(229, 185, 92, 0.4);
  outline-offset: -1px;
  background: transparent;
}

.preloader_bg_arch_is-2 {
  position: absolute;
  z-index: 0;
  width: calc(var(--arch-w) * 1.1);
  height: calc(var(--arch-h) * 1.03);
  top: calc(var(--arch-y) - (var(--arch-h) * 0.015));
  border-top-left-radius: var(--arch-w);
  border-top-right-radius: var(--arch-w);
  outline: 1px solid rgba(229, 185, 92, 0.2);
  outline-offset: -1px;
  background: transparent;
}

/* 3D Split Character container styling */
.split-char {
  display: inline-block;
  backface-visibility: hidden;
}

.split-word {
  display: inline-block;
  white-space: nowrap;
}

.split-line-mask {
  display: block;
  overflow: hidden;
}

.split-line {
  display: block;
}

/* Hero Scale Target Container */
#hero-scale-target {
  transform-origin: center top;
  will-change: transform;
}

/* Floating Replay Intro Trigger */
.btn-replay-entrance {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(13, 19, 25, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 185, 92, 0.35);
  color: #e5b95c;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.btn-replay-entrance:hover {
  background: rgba(229, 185, 92, 0.15);
  border-color: #e5b95c;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(229, 185, 92, 0.25);
}

/* ==========================================================================
   LUXURY FULL-BLEED HERO SECTION (INSPIRATION: BAYT TRAVEL & ERA RESIDENCE)
   ========================================================================== */
.hero-fullbleed {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 7rem;
}

.hero-bg-media-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.68) contrast(1.15) saturate(1.1);
  transform: scale(1.05);
  animation: heroKenBurns 28s infinite alternate ease-in-out;
}

@keyframes heroKenBurns {
  0% { transform: scale(1.04) translate(0, 0); }
  50% { transform: scale(1.1) translate(-1%, -1%); }
  100% { transform: scale(1.04) translate(0, 0); }
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at center, rgba(7, 10, 13, 0.35) 0%, rgba(7, 10, 13, 0.72) 65%, #070a0d 100%),
              linear-gradient(to bottom, rgba(7, 10, 13, 0.6) 0%, transparent 35%, transparent 65%, #070a0d 100%);
  pointer-events: none;
}

.hero-content-center {
  position: relative;
  z-index: 10;
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title-grand {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5.8vw, 78px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

.hero-script-accent {
  font-family: var(--preloader-font-accent);
  font-size: clamp(46px, 7vw, 98px);
  color: var(--accent-gold);
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.35rem;
  text-shadow: 0 2px 25px rgba(229, 185, 92, 0.5);
}

/* Floating Project Preview Thumbnails (Bayt Travel Qatar Style) */
.floating-preview-pill {
  position: absolute;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 8px;
  background: rgba(13, 19, 25, 0.82);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(229, 185, 92, 0.3);
  border-radius: 9999px;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.floating-preview-pill:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: var(--accent-gold);
  background: rgba(23, 34, 44, 0.95);
  box-shadow: 0 14px 40px rgba(229, 185, 92, 0.25);
}

.floating-preview-thumb {
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  object-fit: cover;
  border: 1.5px solid var(--accent-gold);
}

/* Floating Inquiry Pill Bar (Bayt Travel Qatar Style) */
.floating-inquiry-bar {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 980px;
  z-index: 25;
  background: rgba(13, 19, 25, 0.88);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(229, 185, 92, 0.32);
  border-radius: 9999px;
  padding: 8px 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(229, 185, 92, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 768px) {
  .floating-inquiry-bar {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    border-radius: 20px;
    flex-direction: column;
    margin-top: 2.5rem;
    padding: 16px;
  }
}

.inquiry-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex: 1;
}

.inquiry-select {
  background: transparent;
  border: none;
  outline: none;
  color: #f8fafc;
  font-family: var(--font-tech);
  font-size: 13px;
  font-weight: 500;
  width: 100%;
  cursor: pointer;
}

.inquiry-select option {
  background: #0d1319;
  color: #ffffff;
}

/* ==========================================================================
   RUSSIAN VILLA CATALOG MULTI-CRITERIA FILTER (INSPIRATION 2)
   ========================================================================== */
.catalog-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  background: rgba(13, 19, 25, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 6px;
  margin: 0 auto 3rem auto;
  max-width: fit-content;
}

.catalog-filter-btn {
  padding: 8px 22px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.catalog-filter-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.catalog-filter-btn.active {
  color: #070a0d;
  background: var(--accent-gold);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(229, 185, 92, 0.4);
}

/* ==========================================================================
   ERA RESIDENCE ARCHITECTURAL FLOORPLAN SWITCHER CARD
   ========================================================================== */
.project-card-luxury {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.project-card-luxury:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(229, 185, 92, 0.12);
}

.project-media-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #020406;
}

.project-layer-render,
.project-layer-plan {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-layer-plan {
  opacity: 0;
  pointer-events: none;
  filter: contrast(1.1) invert(0.9) hue-rotate(180deg);
}

.project-card-luxury.show-plan .project-layer-render {
  opacity: 0;
  pointer-events: none;
}

.project-card-luxury.show-plan .project-layer-plan {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1.02);
}

.btn-plan-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(7, 10, 13, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 185, 92, 0.4);
  color: var(--accent-gold);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-plan-toggle:hover {
  background: var(--accent-gold);
  color: #070a0d;
  font-weight: 700;
}

.spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
}

/* ==========================================================================
   AUGURY SACRED GEOMETRY VASTU MANDALA (DARK CELESTIAL AESTHETIC)
   ========================================================================== */
.augury-mandala-wrapper {
  position: relative;
  width: 100%;
  max-width: 680px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mandala-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(229, 185, 92, 0.25);
  pointer-events: none;
}

.mandala-orbit-1 { width: 95%; height: 95%; animation: rotateClockwise 90s linear infinite; }
.mandala-orbit-2 { width: 75%; height: 75%; border-style: solid; border-color: rgba(229, 185, 92, 0.15); animation: rotateCounter 60s linear infinite; }
.mandala-orbit-3 { width: 55%; height: 55%; animation: rotateClockwise 45s linear infinite; }
.mandala-core { width: 32%; height: 32%; border-color: rgba(229, 185, 92, 0.5); }

@keyframes rotateClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateCounter {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.vastu-zone-slice {
  cursor: pointer;
  transition: all 0.3s ease;
}

.vastu-zone-slice:hover {
  filter: drop-shadow(0 0 15px rgba(229, 185, 92, 0.8));
  stroke: #ffffff !important;
  stroke-width: 2px !important;
}

/* ==========================================================================
   3 PILLARS INTEGRATED FLOW TIMELINE
   ========================================================================== */
.pillar-step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  transition: all var(--transition-smooth);
}

.pillar-step-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(229, 185, 92, 0.1);
}

.pillar-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(229, 185, 92, 0.18);
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
}

/* ==========================================================================
   VIP WHATSAPP CONCIERGE FLOATING BUTTON
   ========================================================================== */
.btn-whatsapp-concierge {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 9999px;
  background: rgba(13, 19, 25, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(229, 185, 92, 0.4);
  color: var(--accent-gold);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(229, 185, 92, 0.15);
}

.btn-whatsapp-concierge:hover {
  background: var(--accent-gold);
  color: #070a0d;
  font-weight: 700;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 36px rgba(229, 185, 92, 0.35);
}

.btn-whatsapp-concierge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* ==========================================================================
   ERA RESIDENCE CINEMATIC LUXURY SUITE
   Minimal Text, High Visual Impact, Parallax, Arch Masks, Hotspots & Didone
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Pinyon+Script&display=swap');

:root {
  --font-didone: 'Bodoni Moda', 'Cinzel', serif;
  --font-cursive: 'Pinyon Script', cursive;
  --color-ivory-sand: #e6dfd5;
  --color-charcoal-deep: #080c10;
}

.font-didone {
  font-family: var(--font-didone);
  letter-spacing: -0.01em;
  font-weight: 500;
}

.font-cursive {
  font-family: var(--font-cursive);
  text-transform: none;
  font-weight: 400;
}

/* Rotating Corner Stamp */
.rotating-stamp-container {
  position: relative;
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.rotating-stamp-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: stampSpin 22s linear infinite;
  transform-origin: center center;
}

.rotating-stamp-center {
  position: relative;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes stampSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Interactive 3D Architectural Hotspots */
.hotspot-pin {
  position: absolute;
  z-index: 25;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.hotspot-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  animation: hotspotPulse 2.8s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.hotspot-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9), 0 0 20px rgba(229, 185, 92, 0.6);
  transition: transform 0.3s ease;
}

.hotspot-pin:hover .hotspot-core {
  transform: translate(-50%, -50%) scale(1.4);
  background: var(--accent-gold);
}

.hotspot-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  padding: 12px 16px;
  background: rgba(7, 10, 13, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(229, 185, 92, 0.4);
  border-radius: 12px;
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(229, 185, 92, 0.15);
  z-index: 30;
}

.hotspot-pin:hover .hotspot-tooltip,
.hotspot-pin.active .hotspot-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

@keyframes hotspotPulse {
  0% { transform: scale(0.85); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 0.3; }
  100% { transform: scale(0.85); opacity: 0.8; }
}

/* Left Rail Navigation & Scroll Track */
.left-rail-indicator {
  position: fixed;
  left: 36px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  pointer-events: none;
}

.left-rail-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

.left-rail-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(229, 185, 92, 0.8), rgba(255, 255, 255, 0.1));
  position: relative;
  overflow: hidden;
}

.left-rail-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: #ffffff;
  animation: scrollRailMove 2.2s infinite;
}

@keyframes scrollRailMove {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}

.left-rail-counter {
  font-family: var(--font-didone);
  font-size: 13px;
  color: var(--accent-gold);
}

/* Rising Geometric Arch Mask Section */
.arch-mask-container {
  position: relative;
  width: 100%;
  background-color: transparent;
  overflow: hidden;
  margin-top: -6vw;
  z-index: 20;
}

.arch-mask-surface {
  background: #e2d9cc; /* Elegant Mediterranean Ivory Sandstone */
  color: #070a0d;
  border-radius: 50vw 50vw 0 0;
  padding: 8vw 4vw 6vw 4vw;
  position: relative;
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.4);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.arch-mask-surface.dark-variant {
  background: #0d1319;
  color: #f3ede2;
  border-top: 1px solid rgba(229, 185, 92, 0.3);
}

.arch-curved-title-wrap {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

/* Biophilic Parallax Corner Foliage */
.biophilic-corner {
  position: absolute;
  pointer-events: none;
  z-index: 10;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.biophilic-corner-tl {
  top: -40px;
  left: -40px;
  width: clamp(240px, 28vw, 420px);
  transform-origin: top left;
}

.biophilic-corner-br {
  bottom: -40px;
  right: -40px;
  width: clamp(240px, 28vw, 420px);
  transform: rotate(180deg);
  transform-origin: bottom right;
}

/* Magnetic Hover Circle Button */
.btn-magnetic-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1px solid rgba(7, 10, 13, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #070a0d;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

.dark-variant .btn-magnetic-circle {
  border-color: rgba(229, 185, 92, 0.4);
  color: #ffffff;
  background: rgba(7, 10, 13, 0.6);
}

.btn-magnetic-circle:hover {
  transform: scale(1.12);
  background: var(--accent-gold);
  color: #070a0d;
  border-color: var(--accent-gold);
  box-shadow: 0 12px 30px rgba(229, 185, 92, 0.3);
}

/* Interactive Wavy Route Map */
.wavy-route-container {
  position: relative;
  width: 100%;
  padding: 2rem 0;
}

.wavy-route-svg {
  width: 100%;
  height: 80px;
  overflow: visible;
}

.route-station {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.route-station-name {
  font-family: var(--font-didone);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.route-station-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(7, 10, 13, 0.6);
}

.dark-variant .route-station-time {
  color: rgba(255, 255, 255, 0.5);
}

/* Giant Phone CTA Number */
.giant-phone-cta {
  font-family: var(--font-didone);
  font-size: clamp(2.4rem, 7.5vw, 6.2rem);
  font-weight: 400;
  line-height: 1.05;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-block;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.giant-phone-cta::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  transform: scaleX(0.4);
  transition: transform 0.4s ease;
}

.giant-phone-cta:hover {
  color: var(--accent-gold);
  transform: scale(1.02);
}

.giant-phone-cta:hover::after {
  transform: scaleX(1);
}

/* Horizontal Estates Slider */
.estates-slider-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 4px 40px 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.estates-slider-container::-webkit-scrollbar {
  display: none;
}

.estate-slide-card {
  flex: 0 0 clamp(300px, 31vw, 420px);
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark-variant .estate-slide-card {
  background: #11171f;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.estate-slide-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .left-rail-indicator {
    display: none;
  }
  .arch-mask-surface {
    border-radius: 40px 40px 0 0;
    padding: 16vw 5vw 12vw 5vw;
  }
  .estate-slide-card {
    flex: 0 0 85vw;
  }
}

/* ==========================================================================
   LENIS SMOOTH MOMENTUM SCROLL & 3D SPLIT TEXT SUITE (ERA RESIDENCE 1:1)
   ========================================================================== */
html.lenis, html.lenis-smooth {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* 3D Character & Word Perspective */
.split-word-3d, .split-word {
  display: inline-block;
  perspective: 1000px;
  vertical-align: top;
}

.split-char-3d, .split-char {
  display: inline-block;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.split-line {
  display: block;
  overflow: hidden;
}

/* Era Hotspot Rings Continuous Glow */
.hotspot-radar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 9999px;
  border: 1.5px solid rgba(229, 185, 92, 0.6);
  animation: hotspotPulse 2.4s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  pointer-events: none;
}

@keyframes hotspotPulse {
  0% {
    transform: scale(0.85);
    opacity: 1;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Magnetic Button Elastic Transition */
.btn-magnetic-circle {
  will-change: transform;
  transform-style: preserve-3d;
}

/* Wavy Route SVG Animation */
.wavy-route-svg path {
  transition: stroke-dashoffset 0.1s linear;
}

/* ==========================================================================
   Manifesto Scroll-Scrubbed Glowing Text Reveal (Scene 3)
   ========================================================================== */
.manifesto-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #070a0d;
}

.manifesto-inner {
  width: 100%;
}

.manifesto-word {
  display: inline-block;
  color: rgba(255, 255, 255, 0.14);
  opacity: 0.35;
  margin: 0 0.12em;
  transform-origin: center;
  transition: color 0.1s linear, text-shadow 0.1s linear;
  will-change: color, text-shadow, opacity, transform;
}

.manifesto-sub {
  opacity: 0.2;
  will-change: opacity, transform;
}

.manifesto-emblem {
  opacity: 0.25;
  transform-origin: center;
  will-change: opacity, transform, box-shadow;
}
