/* =========================================================================
   JEEVAN AQUA & TERRA — "ANCIENT EARTH & LIVING WATER" DESIGN SYSTEM
   Deep navy abyss, burnished gold, glacier blue
   Cinematic dark theme extracted from the JT logo
   ========================================================================= */

/* ===== DESIGN TOKENS ===== */
:root {
  /* Core Palette */
  --abyss: #FAF8F5;
  --abyss-rgb: 250, 248, 245;
  --deep-navy: #F3EFE9;
  --deep-navy-rgb: 243, 239, 233;
  --midnight-ocean: #EAE4D9;

  /* Accent — Gold (from logo) */
  --gold: #A88938;
  --gold-rgb: 168, 137, 56;
  --champagne: #DCC487;
  --champagne-rgb: 220, 196, 135;

  /* Accent — Water (from logo) */
  --glacier: #2D5C8F;
  --glacier-rgb: 45, 92, 143;
  --glacier-light: #467FB8;
  --glacier-light-rgb: 70, 127, 184;

  /* Text */
  --ivory: #0B132A;
  --ivory-rgb: 11, 19, 42;
  --mist: #5A6B82;
  --mist-rgb: 90, 107, 130;

  /* Glass */
  --glass: rgba(255, 255, 255, 0.65);
  --glass-hover: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(11, 19, 42, 0.08);
  --glass-border-hover: rgba(168, 137, 56, 0.35);

  /* Shadows */
  --shadow-sm: 0 4px 20px rgba(11, 19, 42, 0.03);
  --shadow-md: 0 12px 40px rgba(11, 19, 42, 0.05);
  --shadow-lg: 0 24px 80px rgba(11, 19, 42, 0.08);
  --shadow-gold: 0 0 40px rgba(168, 137, 56, 0.12);
  --shadow-gold-strong: 0 0 60px rgba(168, 137, 56, 0.2);
  --shadow-glacier: 0 0 30px rgba(45, 92, 143, 0.12);

  /* Spacing & Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-padding-top: 90px;
}

body {
  font-family: 'Inter', 'Manrope', -apple-system, sans-serif;
  color: var(--ivory);
  background: var(--abyss);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', 'Bodoni Moda', Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ivory);
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: 'Manrope', 'Inter', sans-serif;
  color: var(--ivory);
}

button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--abyss); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), var(--champagne));
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--champagne); }

/* ===== UTILITIES ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.section-pad { padding: 140px 0; }

.gold-text {
  background: linear-gradient(135deg, var(--champagne) 0%, var(--gold) 50%, var(--champagne) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.glacier-text {
  background: linear-gradient(135deg, var(--glacier-light) 0%, var(--glacier) 50%, var(--glacier-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hide-mobile { display: inline; }

/* ===== PARTICLE CANVAS ===== */
#particleCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  width: 100%;
  height: 100%;
}

/* ===== AMBIENT GLOW SYSTEM ===== */
.ambient-glow {
  position: absolute;
  width: min(750px, 90vw);
  height: min(750px, 90vw);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(140px);
  opacity: 0.08;
  mix-blend-mode: screen;
  animation: floatGlow 25s infinite alternate ease-in-out;
  will-change: transform;
}

.ambient-glow.blue {
  background: radial-gradient(circle, rgba(74, 127, 184, 0.45) 0%, transparent 70%);
}

.ambient-glow.gold {
  background: radial-gradient(circle, rgba(201, 168, 76, 0.3) 0%, transparent 70%);
}

@keyframes floatGlow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, -50px) scale(1.12); }
  100% { transform: translate(-50px, 80px) scale(0.95); }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  padding: 24px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: var(--transition);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.nav-logo-img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(var(--gold-rgb), 0.3));
  transition: var(--transition);
}

.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 16px rgba(var(--gold-rgb), 0.5));
}

.logo-text {
  color: #FFFFFF;
  font-weight: 700;
}

.logo-separator {
  color: rgba(168, 137, 56, 0.4);
  font-weight: 300;
}

.logo-sub {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 4px;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition-fast);
}

.nav-links a:hover { color: #FFFFFF; }
.nav-links a:hover::after { width: 100%; }

.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; background: var(--gold); }

.nav-cta {
  padding: 10px 28px !important;
  border: 1px solid rgba(var(--gold-rgb), 0.4) !important;
  color: var(--gold) !important;
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  transition: var(--transition) !important;
  letter-spacing: 2px !important;
  position: relative;
  overflow: hidden;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--abyss) !important;
  box-shadow: var(--shadow-gold) !important;
}

/* Scrolled Navbar */
.navbar.scrolled {
  padding: 16px 60px;
  background: rgba(var(--abyss-rgb), 0.88);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid rgba(168, 137, 56, 0.15);
  box-shadow: 0 4px 30px rgba(11, 19, 42, 0.03);
}

.navbar.scrolled .logo-text {
  color: var(--ivory);
}

.navbar.scrolled .logo-sub {
  color: var(--mist);
}

.navbar.scrolled .nav-links a {
  color: rgba(11, 19, 42, 0.65);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--ivory);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 10001;
}

.hamburger span {
  width: 28px;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -5px); }

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0A0F1E;
}

/* Background Layers */
.hero-bg-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  inset: -10%;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) sepia(0.15) contrast(1.1) saturate(0.8);
}

/* Mountain Silhouette */
.hero-mountain-silhouette {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  pointer-events: none;
}

.hero-mountain-silhouette svg {
  display: block;
  width: 100%;
  height: auto;
}







/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 32px;
}

.hero-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  opacity: 0;
}

.label-line {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.label-line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.label-text {
  font-family: 'Manrope', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 5px;
  color: rgba(250, 248, 245, 0.65);
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 400;
  line-height: 1.05;
  color: #FFFFFF;
  margin-bottom: 32px;
  letter-spacing: -2px;
}

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

.line-1 { opacity: 0; }

.line-2 {
  opacity: 0;
  background: linear-gradient(135deg, var(--champagne) 0%, var(--gold) 50%, var(--champagne) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes titleReveal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: rgba(250, 248, 245, 0.65);
  line-height: 1.8;
  max-width: 650px;
  margin: 0 auto 28px;
  font-weight: 300;
  letter-spacing: 0.3px;
  opacity: 0;
}

.hero-sanskrit {
  font-size: 0.85rem;
  color: rgba(201, 168, 76, 0.85);
  letter-spacing: 2px;
  margin-bottom: 48px;
  opacity: 0;
  font-style: italic;
}

/* Hero Buttons */
.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
}

.btn-cinematic {
  position: relative;
  padding: 16px 40px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--abyss);
  background: linear-gradient(135deg, var(--champagne) 0%, var(--gold) 100%);
  border: none;
  border-radius: var(--radius-full);
  transition: var(--transition);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 1;
}

.btn-cinematic .btn-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--gold), var(--champagne), var(--gold));
  border-radius: var(--radius-full);
  z-index: -1;
  opacity: 0;
  filter: blur(15px);
  transition: var(--transition);
}

.btn-cinematic:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold-strong);
}

.btn-cinematic:hover .btn-glow { opacity: 0.6; }

.btn-cinematic-outline {
  position: relative;
  padding: 16px 40px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ivory);
  background: rgba(var(--gold-rgb), 0.06);
  border: 1px solid rgba(var(--gold-rgb), 0.25);
  border-radius: var(--radius-full);
  transition: var(--transition);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.btn-cinematic-outline .btn-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--gold), var(--champagne));
  border-radius: var(--radius-full);
  z-index: -1;
  opacity: 0;
  filter: blur(15px);
  transition: var(--transition);
}

.btn-play-icon {
  font-size: 0.6rem;
  color: var(--abyss);
  background: var(--gold);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-cinematic-outline:hover {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.1);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.btn-cinematic-outline:hover .btn-glow { opacity: 0.3; }



/* ===== MOUNTAIN SILHOUETTE DIVIDERS ===== */
.mountain-divider {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
  z-index: 5;
  margin-top: -1px;
}

.mountain-divider svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.mountain-divider-reverse svg {
  top: 0;
  bottom: auto;
  transform: scaleY(-1);
}

/* ===== STATS SECTION ===== */
.stats-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(180deg, var(--deep-navy) 0%, var(--midnight-ocean) 50%, var(--deep-navy) 100%);
  overflow: hidden;
}

.stats-bg-grain {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
}

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

.stat-card {
  background: var(--glass);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(40px);
}

.stat-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--delay, 0s);
}

.stat-card:hover {
  border-color: var(--glass-border-hover);
  background: var(--glass-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.stat-gold-line {
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}

.stat-card:hover .stat-gold-line { opacity: 1; }

.stat-number {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  font-weight: 600;
  color: var(--gold);
  display: inline;
  line-height: 1;
  text-shadow: 0 0 30px rgba(var(--gold-rgb), 0.2);
}

.stat-suffix {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--mist);
  display: inline;
  vertical-align: top;
}

.stat-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  color: rgba(var(--ivory-rgb), 0.75);
  letter-spacing: 1px;
  margin-top: 12px;
  line-height: 1.5;
  text-transform: uppercase;
}

/* ===== SECTION HEADERS ===== */
.section-header-cinematic {
  text-align: center;
  margin-bottom: 80px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--mist);
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* .section-title-cinematic font/size base — overridden by metallic gradient below */

.section-desc {
  font-size: 1rem;
  color: rgba(var(--ivory-rgb), 0.65);
  font-weight: 300;
  line-height: 1.8;
}

/* ===== STORY / SERVICES SECTION ===== */
.story-section {
  background: var(--abyss);
  position: relative;
}

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

.service-cinematic-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
}

.service-cinematic-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--delay, 0s);
}

/* Water flow top-line hover effect */
.service-cinematic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--glacier), transparent);
  transition: left 0.8s var(--ease-cinematic);
}

.service-cinematic-card:hover {
  border-color: var(--glass-border-hover);
  background: var(--glass-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-cinematic-card:hover::before { left: 100%; }

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-cinematic-card:hover .service-icon-wrap {
  background: rgba(var(--gold-rgb), 0.08);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.15);
}

.service-tag {
  font-family: 'Manrope', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

/* Category-specific Service Card Colors */
.service-cinematic-card.aqua-card .service-icon-wrap {
  border-color: rgba(45, 92, 143, 0.25);
  color: var(--glacier-light);
}
.service-cinematic-card.aqua-card:hover .service-icon-wrap {
  background: rgba(45, 92, 143, 0.08);
  border-color: var(--glacier-light);
  box-shadow: 0 0 20px rgba(45, 92, 143, 0.2);
}
.service-cinematic-card.aqua-card .service-tag {
  color: var(--glacier-light);
}

.service-cinematic-card.terra-card .service-icon-wrap {
  border-color: rgba(201, 168, 76, 0.25);
  color: var(--gold);
}
.service-cinematic-card.terra-card:hover .service-icon-wrap {
  background: rgba(201, 168, 76, 0.08);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.2);
}
.service-cinematic-card.terra-card .service-tag {
  color: var(--gold);
}

.service-cinematic-card.strategy-card .service-icon-wrap {
  border-color: rgba(70, 127, 184, 0.25);
  color: var(--glacier-light);
}
.service-cinematic-card.strategy-card:hover .service-icon-wrap {
  background: rgba(70, 127, 184, 0.08);
  border-color: var(--glacier-light);
  box-shadow: 0 0 20px rgba(70, 127, 184, 0.2);
}
.service-cinematic-card.strategy-card .service-tag {
  color: var(--glacier-light);
}

.service-cinematic-card.excellence-card .service-icon-wrap {
  border-color: rgba(201, 168, 76, 0.25);
  color: var(--gold);
}
.service-cinematic-card.excellence-card:hover .service-icon-wrap {
  background: rgba(201, 168, 76, 0.08);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.2);
}
.service-cinematic-card.excellence-card .service-tag {
  color: var(--gold);
}

.service-cinematic-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.3;
}

.service-cinematic-card p {
  font-size: 0.88rem;
  color: rgba(var(--ivory-rgb), 0.65);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-link {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-link span { transition: transform 0.3s ease; }
.service-link:hover { color: var(--champagne); }
.service-link:hover span { transform: translateX(4px); }

/* ===== LEGACY / WHY US ===== */
.legacy-section {
  background: linear-gradient(180deg, var(--deep-navy) 0%, var(--midnight-ocean) 50%, var(--deep-navy) 100%);
  position: relative;
}

.legacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.legacy-content {
  opacity: 0;
  transform: translateY(40px);
}

.legacy-content.revealed {
  opacity: 1;
  transform: translateY(0);
}

.legacy-desc {
  font-size: 1rem;
  color: rgba(var(--ivory-rgb), 0.65);
  line-height: 1.8;
  margin-bottom: 32px;
}

.legacy-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.legacy-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: rgba(var(--ivory-rgb), 0.6);
}

.check-diamond {
  color: var(--gold);
  font-size: 0.6rem;
  text-shadow: 0 0 8px rgba(var(--gold-rgb), 0.4);
}

.legacy-visual {
  opacity: 0;
  transform: translateY(40px);
}

.legacy-visual.revealed {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--delay, 0s);
}

.legacy-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

/* Gold corner accents */
.legacy-image-frame::before,
.legacy-image-frame::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border-color: rgba(var(--gold-rgb), 0.4);
  border-style: solid;
  z-index: 2;
  transition: var(--transition);
}

.legacy-image-frame::before {
  top: 12px;
  left: 12px;
  border-width: 2px 0 0 2px;
  border-radius: 4px 0 0 0;
}

.legacy-image-frame::after {
  bottom: 12px;
  right: 12px;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 4px 0;
}

.legacy-image-frame:hover::before,
.legacy-image-frame:hover::after {
  border-color: var(--gold);
  width: 80px;
  height: 80px;
}

.legacy-image-frame img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.8s var(--ease-cinematic);
  filter: brightness(0.8) contrast(1.05);
}

.legacy-image-frame:hover img { transform: scale(1.05); }

.legacy-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(var(--abyss-rgb), 0.5) 100%);
}

.legacy-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.mini-stat {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}

.mini-stat:hover { border-color: var(--glass-border-hover); }

.mini-stat h4 {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.mini-stat p {
  font-size: 0.72rem;
  color: rgba(var(--ivory-rgb), 0.65);
  letter-spacing: 0.5px;
}

/* ===== PROJECTS / MEDIA ===== */
.projects-section {
  background: var(--abyss);
  position: relative;
}

/* Instagram CTA */
.media-cta-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  margin-bottom: 60px;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.media-cta-card.revealed { opacity: 1; transform: translateY(0); }
.media-cta-card:hover { border-color: var(--glass-border-hover); }

.media-cta-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.media-cta-text { flex: 1; }

.media-cta-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.media-cta-text p {
  font-size: 0.85rem;
  color: rgba(var(--ivory-rgb), 0.65);
}

.media-cta-btn {
  padding: 12px 28px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ivory);
  border: 1px solid rgba(var(--gold-rgb), 0.25);
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.media-cta-btn:hover {
  background: var(--gold);
  color: var(--abyss);
  border-color: var(--gold);
}

/* Video Grid */
.video-section {
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
}

.video-section.revealed { opacity: 1; transform: translateY(0); }

.video-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  margin-bottom: 28px;
  color: var(--ivory);
}

.video-grid-cinematic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.video-card-cinematic {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  background: var(--glass);
}

.video-card-cinematic:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.video-thumb-wrap {
  position: relative;
  overflow: hidden;
}

.video-thumb-wrap img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-cinematic);
  filter: brightness(0.7);
}

.video-card-cinematic:hover .video-thumb-wrap img {
  transform: scale(1.08);
  filter: brightness(0.85);
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: var(--transition);
}

.video-play-overlay span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--gold);
  background: rgba(var(--ivory-rgb), 0.85);
  transition: var(--transition);
}

.video-card-cinematic:hover .video-play-overlay span {
  background: var(--gold);
  color: var(--abyss);
  transform: scale(1.1);
}

.video-card-cinematic p {
  padding: 14px 16px;
  font-size: 0.82rem;
  color: rgba(var(--ivory-rgb), 0.7);
  line-height: 1.4;
}

/* Research Card */
.research-cta-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  margin-bottom: 60px;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.research-cta-card.revealed { opacity: 1; transform: translateY(0); }
.research-cta-card:hover { border-color: var(--glass-border-hover); }

.research-icon { font-size: 2rem; flex-shrink: 0; }
.research-info { flex: 1; }

.research-info h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.research-info p {
  font-size: 0.85rem;
  color: rgba(var(--ivory-rgb), 0.65);
}

/* Dholera Links */
.dholera-links-cinematic {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  opacity: 0;
  transform: translateY(30px);
}

.dholera-links-cinematic.revealed { opacity: 1; transform: translateY(0); }

.dholera-link-cinematic {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.dholera-link-cinematic:hover {
  border-color: var(--glass-border-hover);
  background: var(--glass-hover);
}

.link-diamond {
  color: var(--gold);
  font-size: 0.6rem;
  flex-shrink: 0;
  text-shadow: 0 0 8px rgba(var(--gold-rgb), 0.4);
}

.dholera-link-cinematic div { flex: 1; }

.dholera-link-cinematic h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.dholera-link-cinematic p {
  font-size: 0.78rem;
  color: rgba(var(--ivory-rgb), 0.6);
}

.link-arrow {
  color: var(--mist);
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.dholera-link-cinematic:hover .link-arrow {
  color: var(--gold);
  transform: translateX(4px);
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: linear-gradient(180deg, var(--deep-navy) 0%, var(--abyss) 100%);
  position: relative;
}

.testimonial-slider-cinematic {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  opacity: 1;
  transform: none;
}

.testimonial-track-cinematic {
  display: flex;
  transition: transform 0.8s var(--ease-cinematic);
}

.testimonial-card-cinematic {
  min-width: 100%;
  padding: 60px 80px;
  background: var(--glass);
  backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

.quote-mark {
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(var(--gold-rgb), 0.2);
}

.testimonial-card-cinematic blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
  color: rgba(var(--ivory-rgb), 0.7);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 32px;
}

.testimonial-author-cinematic {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(var(--gold-rgb), 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(var(--gold-rgb), 0.08);
  letter-spacing: 1px;
}

.testimonial-author-cinematic h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.testimonial-author-cinematic p {
  font-size: 0.75rem;
  color: rgba(var(--ivory-rgb), 0.6);
}

/* Testimonial Nav */
.testimonial-dots-cinematic {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}

.testimonial-dots-cinematic .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.15);
  cursor: pointer;
  transition: var(--transition-fast);
}

.testimonial-dots-cinematic .dot.active {
  background: var(--gold);
  box-shadow: 0 0 10px rgba(var(--gold-rgb), 0.4);
  transform: scale(1.2);
}

.testimonial-nav-cinematic {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.testimonial-nav-cinematic button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(var(--gold-rgb), 0.15);
  color: var(--gold);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--glass);
}

.testimonial-nav-cinematic button:hover {
  background: var(--gold);
  color: var(--abyss);
  border-color: var(--gold);
}

/* ===== GALLERY ===== */
.gallery-section {
  background: var(--deep-navy);
  position: relative;
}

.gallery-tabs-cinematic {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

.gallery-tabs-cinematic.revealed { opacity: 1; transform: translateY(0); }

.gallery-tab-cinematic {
  padding: 10px 24px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(var(--ivory-rgb), 0.35);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.gallery-tab-cinematic:hover { color: var(--ivory); }

.gallery-tab-cinematic.active {
  color: var(--gold);
  border-color: rgba(var(--gold-rgb), 0.25);
  background: rgba(var(--gold-rgb), 0.06);
}

.gallery-grid-cinematic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
}

.gallery-grid-cinematic.revealed { opacity: 1; transform: translateY(0); }

.gallery-item-cinematic {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item-cinematic.hidden { display: none; }
.gallery-item-cinematic.limit-hidden { display: none; }

.gallery-item-cinematic img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.8s var(--ease-cinematic);
  filter: brightness(0.75);
}

.gallery-large img { height: 340px; }

.gallery-item-cinematic:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.gallery-item-cinematic:hover img {
  transform: scale(1.08);
  filter: brightness(0.9);
}

.gallery-overlay-cinematic {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 24px;
  background: rgba(var(--abyss-rgb), 0.95);
  border-top: 1px solid var(--glass-border);
  transform: none;
  opacity: 1;
  transition: var(--transition);
}

.gallery-item-cinematic:hover .gallery-overlay-cinematic {
  transform: none;
  opacity: 1;
  background: rgba(var(--abyss-rgb), 0.98);
}

.gallery-tag-cinematic {
  font-family: 'Manrope', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.gallery-overlay-cinematic p {
  font-size: 0.85rem;
  color: rgba(var(--ivory-rgb), 0.8);
}

.gallery-expand-wrap {
  text-align: center;
  margin-top: 40px;
}

.btn-gallery-cinematic {
  padding: 14px 36px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mist);
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.btn-gallery-cinematic:hover {
  background: var(--gold);
  color: var(--abyss);
  border-color: var(--gold);
}

/* ===== CINEMATIC CTA ===== */
.cinematic-cta {
  background: var(--deep-navy);
}

.cinematic-cta-box {
  display: flex;
  align-items: center;
  gap: 32px;
  background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.04) 0%, rgba(var(--glacier-rgb), 0.03) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition);
}

.cinematic-cta-box.revealed { opacity: 1; transform: translateY(0); }

.cta-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.cta-text-wrap { flex: 1; }

.cta-text-wrap h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.cta-text-wrap p {
  font-size: 0.9rem;
  color: rgba(var(--ivory-rgb), 0.6);
}

/* ===== CONTACT ===== */
.contact-section {
  background: linear-gradient(180deg, var(--abyss) 0%, var(--deep-navy) 50%, var(--abyss) 100%);
}

.contact-grid-cinematic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-cinematic {
  opacity: 0;
  transform: translateY(30px);
}

.contact-info-cinematic.revealed { opacity: 1; transform: translateY(0); }

.contact-info-cinematic > h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.contact-info-cinematic > p {
  font-size: 0.9rem;
  color: rgba(var(--ivory-rgb), 0.6);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-item-cinematic {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: var(--transition);
}

.contact-item-cinematic:hover {
  border-color: var(--glass-border-hover);
  background: var(--glass-hover);
}

.whatsapp-item:hover { border-color: rgba(37, 211, 102, 0.25); }

.contact-icon { font-size: 1.3rem; flex-shrink: 0; }
.contact-text { flex: 1; }

.contact-text span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--mist);
  text-transform: uppercase;
}

.contact-text p {
  font-size: 0.9rem;
  color: var(--ivory);
  margin-top: 2px;
}

.contact-action {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Contact Form */
.contact-form-cinematic {
  opacity: 0;
  transform: translateY(30px);
}

.contact-form-cinematic.revealed {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--delay, 0s);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group-cinematic { margin-bottom: 20px; }

.form-group-cinematic label {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--mist);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-group-cinematic input,
.form-group-cinematic select,
.form-group-cinematic textarea {
  width: 100%;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--ivory);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-group-cinematic input::placeholder,
.form-group-cinematic textarea::placeholder {
  color: rgba(var(--ivory-rgb), 0.2);
}

.form-group-cinematic input:focus,
.form-group-cinematic select:focus,
.form-group-cinematic textarea:focus {
  border-color: rgba(var(--gold-rgb), 0.4);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.08);
}

.form-group-cinematic select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.form-group-cinematic select option {
  background: var(--deep-navy);
  color: var(--ivory);
}

.form-group-cinematic textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-form-submit {
  width: 100%;
  justify-content: center;
}

.form-success {
  font-size: 0.85rem;
  color: #4ade80;
  margin-top: 12px;
  text-align: center;
  opacity: 0;
  transition: var(--transition-fast);
}

.form-success.show { opacity: 1; }

.form-error {
  font-size: 0.85rem;
  color: #ef4444;
  margin-top: 12px;
  text-align: center;
  opacity: 0;
  transition: var(--transition-fast);
}

.form-error.show { opacity: 1; }

/* ===== FOOTER ===== */
.footer-cinematic {
  background: #0B132A;
  color: rgba(255, 255, 255, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 80px 0 40px;
  position: relative;
}

.footer-grid-cinematic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand-cinematic h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
}

.footer-brand-cinematic .logo-icon { font-size: 0.8rem; color: var(--gold); }

.footer-brand-cinematic p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 360px;
}

.footer-sanskrit {
  font-size: 0.8rem;
  color: rgba(201, 168, 76, 0.85);
  margin-top: 12px;
  font-style: italic;
  letter-spacing: 1px;
}

.footer-col-cinematic h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col-cinematic a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.60);
  margin-bottom: 12px;
  transition: var(--transition-fast);
}

.footer-col-cinematic a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-bottom-cinematic {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-cinematic p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.40);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top-cinematic {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  background: rgba(var(--abyss-rgb), 0.85);
  backdrop-filter: blur(20px);
  color: var(--gold);
  font-size: 1.1rem;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  cursor: pointer;
}

.scroll-top-cinematic.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-cinematic:hover {
  background: var(--gold);
  color: var(--abyss);
  border-color: var(--gold);
}

/* ===== STORY VIDEO MODAL ===== */
.story-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px;
}

.story-modal.open {
  opacity: 1;
  visibility: visible;
}

.story-modal-inner {
  position: relative;
  width: 100%;
  max-width: 960px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(168, 137, 56, 0.2);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-modal.open .story-modal-inner {
  transform: scale(1) translateY(0);
}

.story-modal-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  background: #000;
}

.story-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(168, 137, 56, 0.4);
  color: #FFFFFF;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.story-modal-close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

@media (max-width: 768px) {
  .story-modal-inner { border-radius: 10px; }
  .story-modal-video { max-height: 60vh; }
}



/* ===== CINEMATIC SECTION TRANSITIONS ===== */
.story-section, .legacy-section, .projects-section,
.testimonials-section, .gallery-section, .contact-section {
  opacity: 0;
  will-change: opacity;
  transition: opacity 1.2s var(--ease-cinematic);
  overflow: hidden;
}

.story-section.revealed-section,
.legacy-section.revealed-section,
.projects-section.revealed-section,
.testimonials-section.revealed-section,
.gallery-section.revealed-section,
.contact-section.revealed-section {
  opacity: 1;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  will-change: transform, opacity;
  transition: opacity 0.9s var(--ease-cinematic), transform 0.9s var(--ease-cinematic);
  transition-delay: var(--delay, 0s);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== GENERAL ANIMATIONS ===== */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* ===== PRELOADER-TRIGGERED HERO ANIMATIONS ===== */
.preloader-done .hero-label {
  animation: fadeIn 1.2s var(--ease-cinematic) 0.3s forwards;
}
.preloader-done .line-1 {
  animation: titleReveal 1.4s var(--ease-cinematic) 0.5s forwards;
}
.preloader-done .line-2 {
  animation: titleReveal 1.4s var(--ease-cinematic) 0.8s forwards;
}
.preloader-done .hero-subtitle {
  animation: fadeIn 1.2s var(--ease-cinematic) 1.1s forwards;
}
.preloader-done .hero-sanskrit {
  animation: fadeIn 1.2s var(--ease-cinematic) 1.3s forwards;
}
.preloader-done .hero-actions {
  animation: fadeIn 1.2s var(--ease-cinematic) 1.5s forwards;
}


/* ===== LUXURY PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--abyss);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.5s var(--ease-cinematic), visibility 1.5s var(--ease-cinematic);
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preloader-logo-img {
  height: 80px;
  width: auto;
  margin-bottom: 24px;
  opacity: 0;
  transform: scale(0.8);
  animation: preloaderLogoReveal 1.5s var(--ease-cinematic) 0.3s forwards;
  filter: drop-shadow(0 0 20px rgba(var(--gold-rgb), 0.3));
}

@keyframes preloaderLogoReveal {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

.preloader-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 6px;
  color: var(--ivory);
  margin-bottom: 6px;
  background: linear-gradient(90deg, var(--ivory), var(--gold), var(--ivory));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineText 3s linear infinite;
}

.preloader-tagline {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 5px;
  color: var(--mist);
  margin-bottom: 16px;
}

.preloader-sanskrit {
  font-size: 0.8rem;
  color: rgba(201, 168, 76, 0.85);
  letter-spacing: 2px;
  margin-bottom: 30px;
  font-style: italic;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-cinematic) 1.2s forwards;
}

.preloader-line-wrap {
  width: 150px;
  height: 1px;
  background: rgba(var(--gold-rgb), 0.15);
  position: relative;
  overflow: hidden;
}

.preloader-line {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: loadProgress 2.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes shineText { to { background-position: 200% center; } }
@keyframes loadProgress { 0% { left: -100%; } 100% { left: 100%; } }

/* ===== HERO VIDEO ===== */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s var(--ease-cinematic);
  filter: brightness(0.35) sepia(0.15) contrast(1.1) saturate(0.8);
  will-change: opacity;
}

.hero-video.loaded { opacity: 1; }





/* ===== RERA & TRUST BADGES ===== */
.trust-badges-strip {
  background: linear-gradient(180deg, rgba(var(--abyss-rgb), 0.95), rgba(var(--deep-navy-rgb), 0.98));
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  padding: 24px 0;
  margin-top: -1px;
  position: relative;
  z-index: 10;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}
.trust-badges-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 30px;
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: var(--transition-fast);
}
.trust-badge-item:hover {
  border-color: rgba(201, 168, 76, 0.35);
  background: rgba(201, 168, 76, 0.03);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(201, 168, 76, 0.08);
}
.trust-badge-icon {
  font-size: 1.4rem;
  filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.4));
}
.trust-badge-text h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 2px;
}
.trust-badge-text p {
  font-size: 0.65rem;
  color: var(--mist);
  letter-spacing: 0.5px;
  margin: 0;
}

/* ===== 3D TILT & GLARE SUPPORT ===== */
.service-cinematic-card,
.video-card-cinematic {
  transform-style: preserve-3d;
  will-change: transform;
}
.card-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  border-radius: inherit;
  mix-blend-mode: overlay;
  transition: opacity 0.3s;
  opacity: 0;
}
.service-cinematic-card:hover .card-glare,
.video-card-cinematic:hover .card-glare {
  opacity: 1;
}

/* ===== INTERACTIVE DUE DILIGENCE ACCORDION ===== */
.due-diligence-section {
  position: relative;
  z-index: 10;
  background: var(--abyss);
}
.due-diligence-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.due-diligence-visual {
  position: relative;
}
.due-diligence-visual::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.due-diligence-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 168, 76, 0.2);
  box-shadow: 0 25px 50px rgba(0,0,0,0.6);
  filter: brightness(0.65) contrast(1.1);
  transition: var(--transition);
}
.due-diligence-visual:hover .due-diligence-image {
  filter: brightness(0.85) contrast(1.15);
  box-shadow: 0 25px 50px rgba(201, 168, 76, 0.15);
}
.accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.accordion-item {
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: var(--glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}
.accordion-item:hover {
  border-color: rgba(201, 168, 76, 0.2);
  background: var(--glass-hover);
}
.accordion-item.active {
  border-color: rgba(201, 168, 76, 0.35);
  background: var(--glass-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.accordion-header {
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.accordion-header h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ivory);
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  transition: var(--transition-fast);
}
.accordion-header h3 span.num {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.15rem;
  color: var(--gold);
  opacity: 0.5;
  transition: var(--transition-fast);
}
.accordion-item.active .accordion-header h3 {
  color: var(--gold);
}
.accordion-item.active .accordion-header h3 span.num {
  opacity: 1;
  text-shadow: 0 0 10px rgba(201, 168, 76, 0.3);
}
.accordion-icon {
  font-size: 0.75rem;
  color: var(--mist);
  transition: transform 0.4s var(--ease-cinematic);
}
.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--gold);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-cinematic);
}
.accordion-content-inner {
  padding: 0 26px 24px;
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(var(--ivory-rgb), 0.75);
}
.accordion-content-inner strong {
  color: var(--gold);
}

/* ===== TESTIMONIAL VERIFIED BADGES ===== */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 8px;
}
.verified-badge.filtration-badge {
  background: rgba(45, 92, 143, 0.08);
  border: 1px solid rgba(45, 92, 143, 0.18);
  color: var(--glacier);
}
.verified-badge.property-badge {
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.18);
  color: var(--gold);
}
.verified-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  color: var(--abyss);
  font-size: 0.45rem;
  font-weight: 900;
}
.verified-badge.filtration-badge .verified-badge-icon {
  background: var(--glacier);
}
.verified-badge.property-badge .verified-badge-icon {
  background: var(--gold);
}



/* ===== METALLIC GLOW HEADINGS ===== */
.section-title-cinematic {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--ivory) 20%, var(--champagne) 50%, var(--gold) 80%, var(--ivory) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: metallicShine 8s infinite linear;
  display: inline-block;
}
@keyframes metallicShine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ===== RESPONSIVE ===== */

/* --- Tablet (1024px) --- */
@media (max-width: 1024px) {
  .services-cinematic-grid { grid-template-columns: repeat(2, 1fr); }
  .legacy-grid { grid-template-columns: 1fr; gap: 48px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid-cinematic { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid-cinematic { grid-template-columns: 1fr 1fr; gap: 40px; }

  .cinematic-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
  }

  .media-cta-card { flex-direction: column; text-align: center; }
  .research-cta-card { flex-direction: column; text-align: center; }
  .testimonial-card-cinematic { padding: 40px 36px; }

  .hero-content { max-width: 700px; }

  .dholera-link-cinematic h4 { font-size: 0.85rem; }
  .dholera-link-cinematic p { font-size: 0.72rem; }

  .due-diligence-grid { gap: 40px; }
}

/* --- Mobile (768px) --- */
@media (max-width: 768px) {
  .navbar { padding: 16px 20px; }
  .navbar.scrolled { padding: 14px 20px; }

  .hamburger { display: flex; }

  /* Hide logo text on small screens, show only logo image */
  .logo-text,
  .logo-separator,
  .logo-sub {
    display: none;
  }

  .nav-logo-img { height: 36px; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    background: rgba(var(--abyss-rgb), 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    transition: right 0.6s var(--ease-cinematic);
    z-index: 10000;
  }

  .nav-links.active { right: 0; }

  /* Trust badges mobile */
  .trust-badges-strip { padding: 18px 0; }
  .trust-badges-container { gap: 14px 20px; justify-content: center; }
  .trust-badge-item { padding: 8px 14px; }

  /* Due Diligence accordion mobile */
  .due-diligence-grid { grid-template-columns: 1fr; gap: 32px; }
  .due-diligence-visual::before { display: none; }
  .due-diligence-image { aspect-ratio: 16/9; max-height: 280px; }

  .nav-links a {
    font-size: 1rem;
    letter-spacing: 3px;
    color: rgba(var(--ivory-rgb), 0.6);
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--gold);
  }

  .nav-cta {
    margin-top: 8px;
  }

  /* Sections */
  .section-pad { padding: 80px 0; }
  .container { padding: 0 20px; }

  /* Hero */
  .hero { min-height: 600px; }
  .hero-title { font-size: clamp(2.5rem, 11vw, 4rem); letter-spacing: -1px; }
  .hero-subtitle { font-size: 0.9rem; margin-bottom: 16px; }
  .hero-sanskrit { font-size: 0.75rem; margin-bottom: 32px; }
  .hero-label { gap: 12px; margin-bottom: 28px; }
  .label-line { width: 30px; }
  .label-text { font-size: 0.6rem; letter-spacing: 3px; }
  .hero-content { padding: 0 20px; }
  .hide-mobile { display: none; }



  /* Mountain divider */
  .mountain-divider { height: 60px; }

  /* Stats */
  .stats-section { padding: 60px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 28px 16px; }
  .stat-number { font-size: clamp(2rem, 6vw, 2.8rem); }

  /* Services */
  .services-cinematic-grid { grid-template-columns: 1fr; }
  .section-header-cinematic { margin-bottom: 48px; }
  .section-title-cinematic { font-size: clamp(2rem, 8vw, 3rem); }

  /* Legacy */
  .legacy-image-frame img { height: 280px; }
  .legacy-mini-stats { grid-template-columns: 1fr 1fr; }
  .legacy-image-frame::before,
  .legacy-image-frame::after { width: 40px; height: 40px; }

  /* Projects */
  .video-grid-cinematic { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
  .video-thumb-wrap img { height: 140px; }

  .dholera-link-cinematic {
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 20px;
  }

  .dholera-link-cinematic div { min-width: 0; }
  .dholera-link-cinematic h4 { font-size: 0.82rem; }

  .media-cta-card { padding: 24px 20px; gap: 16px; }
  .media-cta-btn { width: 100%; justify-content: center; }
  .research-cta-card { padding: 24px 20px; gap: 16px; }

  /* Testimonials */
  .testimonial-card-cinematic { padding: 36px 24px; }
  .testimonial-card-cinematic blockquote { font-size: clamp(1rem, 3vw, 1.3rem); }

  /* Gallery */
  .gallery-grid-cinematic { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
  .gallery-item-cinematic img { height: 180px; }
  .gallery-large img { height: 220px; }
  .gallery-tabs-cinematic { gap: 4px; }
  .gallery-tab-cinematic { padding: 8px 16px; font-size: 0.65rem; }

  /* Contact */
  .form-row { grid-template-columns: 1fr; }
  .contact-item-cinematic { padding: 16px 18px; }
  .contact-action { display: none; } /* Hide action text, keep tap target */

  /* CTA */
  .cinematic-cta-box { padding: 32px 20px; gap: 20px; }

  /* Footer */
  .footer-grid-cinematic { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-cinematic {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Audio control */
  .audio-control-btn {
    bottom: 20px;
    left: 20px;
    padding: 10px 16px;
    font-size: 0.6rem;
  }

  /* Scroll to top */
  .scroll-top-cinematic {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }

  /* Preloader */
  .preloader-logo-img { height: 60px; }
  .preloader-brand { font-size: 1.6rem; letter-spacing: 4px; }
  .preloader-tagline { font-size: 0.65rem; letter-spacing: 3px; }
  .preloader-sanskrit { font-size: 0.7rem; }

  /* Cursor glow hidden on mobile */
  .cursor-glow { display: none !important; }

  /* Volumetric lights reduced on mobile */
  .volumetric-lights { opacity: 0.3; }
}

/* --- Small Mobile (480px) --- */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
  .hero-actions .btn-cinematic,
  .hero-actions .btn-cinematic-outline {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 14px 24px;
  }

  .testimonial-card-cinematic { padding: 28px 18px; }
  .quote-mark { font-size: 2rem; margin-bottom: 12px; }

  .stat-card { padding: 24px 14px; }
  .stat-number { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .stat-label { font-size: 0.7rem; }

  .service-cinematic-card { padding: 28px 20px; }

  .section-header-cinematic { margin-bottom: 36px; }
  .section-eyebrow { font-size: 0.6rem; letter-spacing: 3px; }

  .gallery-grid-cinematic { grid-template-columns: 1fr 1fr; }
  .gallery-item-cinematic img { height: 150px; }
  .gallery-large img { height: 180px; }

  .legacy-mini-stats { grid-template-columns: 1fr; gap: 10px; }

  .footer-cinematic { padding: 48px 0 28px; }

  /* Buttons full width */
  .btn-cinematic,
  .btn-cinematic-outline {
    font-size: 0.72rem;
    padding: 14px 28px;
    letter-spacing: 1.5px;
  }

  .btn-gallery-cinematic {
    font-size: 0.68rem;
    padding: 12px 24px;
  }

  .media-cta-icon { width: 44px; height: 44px; }
  .cta-icon-wrap { width: 48px; height: 48px; }

  /* Audio control minimal on very small screens */
  .audio-control-btn .audio-text { display: none; }
  .audio-control-btn { padding: 10px 14px; }

  /* Trust badges small mobile */
  .trust-badge-item { width: 100%; max-width: 290px; justify-content: flex-start; }
}
