/* ==========================================================================
   MARMORA / MANGLA STONE GROUP - ULTRA-PREMIUM ATELIER STYLESHEET
   Pure Vanilla CSS Design System with Dark & Light Themes
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,300;0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@300;400;500;600&display=swap');

/* --- ROOT VARIABLES (DARK ATELIER THEME) --- */
:root {
  --bg-primary: #050408;
  --bg-secondary: #08070d;
  --bg-tertiary: #0d0c14;
  --bg-overlay: rgba(5, 4, 8, 0.95);
  --bg-glass: rgba(14, 13, 20, 0.72);
  --bg-glass-gold: rgba(18, 15, 24, 0.82);
  --bg-card: rgba(20, 18, 28, 0.65);

  --text-primary: #ffffff;
  --text-secondary: #e2e2e8;
  --text-muted: #9e9ba8;
  --text-subtle: #6e6b78;

  --accent-gold: #fbbf24;
  --accent-gold-light: #fef08a;
  --accent-gold-dark: #b45309;
  --gold-glow: rgba(251, 191, 36, 0.35);

  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-glass: rgba(255, 255, 255, 0.15);
  --border-gold: rgba(251, 191, 36, 0.35);
  --border-gold-strong: rgba(251, 191, 36, 0.6);

  --font-serif: 'Amarante', Georgia, serif;
  --font-sans: 'Amarante', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Amarante', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.8);
  --shadow-gold: 0 0 30px rgba(251, 191, 36, 0.25);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- LIGHT CARRARA ATELIER THEME --- */
[data-theme="light"],
.light {
  --bg-primary: #fcfbfa;
  --bg-secondary: #f4f0eb;
  --bg-tertiary: #ede7df;
  --bg-overlay: rgba(252, 251, 250, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-gold: rgba(255, 253, 250, 0.94);
  --bg-card: rgba(255, 255, 255, 0.9);

  --text-primary: #121016;
  --text-secondary: #2b2735;
  --text-muted: #5e596d;
  --text-subtle: #898398;

  --accent-gold: #b48328;
  --accent-gold-light: #d4a74a;
  --accent-gold-dark: #785310;
  --gold-glow: rgba(180, 131, 40, 0.25);

  --border-subtle: rgba(160, 130, 85, 0.18);
  --border-glass: rgba(180, 140, 90, 0.25);
  --border-gold: rgba(180, 131, 40, 0.45);
  --border-gold-strong: rgba(180, 131, 40, 0.7);

  --shadow-sm: 0 4px 12px rgba(100, 70, 40, 0.08);
  --shadow-md: 0 10px 30px rgba(100, 70, 40, 0.12);
  --shadow-lg: 0 25px 50px rgba(100, 70, 40, 0.16);
  --shadow-gold: 0 0 25px rgba(180, 131, 40, 0.2);
}

/* Base Light Body Marble Texture */
[data-theme="light"] body,
.light body {
  background-color: #ffffff !important;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.38)),
    url('../light-marble-bg.png'),
    url('./light-marble-bg.png') !important;
  background-repeat: repeat-y !important;
  background-size: 100% auto !important;
  background-attachment: fixed !important;
  background-position: center top !important;
  color: var(--text-primary) !important;
}

/* Sections in Light Mode reveal the continuous marble background texture */
[data-theme="light"] .section-wrapper,
[data-theme="light"] .craft-icons-section,
[data-theme="light"] #luxury-collections,
[data-theme="light"] #architectural-lab,
[data-theme="light"] #stones-grid,
[data-theme="light"] #globalReachSection,
[data-theme="light"] #faqSection,
[data-theme="light"] .why-marmora-section {
  background-color: transparent !important;
}

[data-theme="light"] .site-footer {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-gold);
}

/* ==========================================================================
   LIGHT MODE DISTINCT LUXURY TYPOGRAPHY PALETTE
   ========================================================================== */
[data-theme="light"],
.light {
  --text-primary: #0e0c14;
  --text-secondary: #262232;
  --text-muted: #555065;
  --text-subtle: #7a748c;

  --accent-gold: #9e6f1a;
  --accent-gold-light: #ba8826;
  --accent-gold-dark: #6e4c0d;
}

[data-theme="light"] .section-wrapper h1,
[data-theme="light"] .section-wrapper h2,
[data-theme="light"] .section-wrapper h3:not(.panel-title),
[data-theme="light"] .section-wrapper h4,
[data-theme="light"] .section-wrapper h5,
[data-theme="light"] .section-wrapper h6,
[data-theme="light"] .craft-icons-section h1,
[data-theme="light"] .craft-icons-section h2,
[data-theme="light"] .craft-icons-section h3,
[data-theme="light"] .craft-icons-section h4,
[data-theme="light"] .craft-icons-section h5,
[data-theme="light"] .craft-icons-section h6,
[data-theme="light"] .section-title,
[data-theme="light"] .legacy-globe-title,
[data-theme="light"] .craft-icons-title,
[data-theme="light"] .earth-card-title,
[data-theme="light"] .earth-theater-title,
[data-theme="light"] .stone-card-title,
[data-theme="light"] .modal-title {
  color: #0e0c14 !important;
}

[data-theme="light"] .section-wrapper p:not(.panel-desc),
[data-theme="light"] .craft-icons-section p,
[data-theme="light"] .section-desc,
[data-theme="light"] .legacy-globe-desc,
[data-theme="light"] .craft-icons-desc,
[data-theme="light"] .faq-content,
[data-theme="light"] .earth-card-desc,
[data-theme="light"] .earth-theater-desc {
  color: #262232 !important;
}

/* Ensure active accordion panels (Marble, Granite, Onyx, Quartzite, Travertine) have pure white and gold text */
.accordion-expanded-content .panel-title,
.accordion-panel .panel-title,
.accordion-panel h3,
[data-theme="light"] .accordion-expanded-content .panel-title,
[data-theme="light"] .accordion-panel .panel-title,
[data-theme="light"] .accordion-panel h3,
[data-theme="light"] .accordion-mobile-expanded h3 {
  color: #ffffff !important;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.95), 0 0 8px rgba(0, 0, 0, 0.8) !important;
  font-weight: 600 !important;
}

.accordion-expanded-content .panel-desc,
.accordion-panel .panel-desc,
.accordion-panel p,
[data-theme="light"] .accordion-expanded-content .panel-desc,
[data-theme="light"] .accordion-panel .panel-desc,
[data-theme="light"] .accordion-panel p,
[data-theme="light"] .accordion-mobile-expanded p {
  color: #f8fafc !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95) !important;
  font-weight: 400 !important;
}

.accordion-expanded-content .panel-subtitle,
.accordion-panel .panel-subtitle,
[data-theme="light"] .accordion-expanded-content .panel-subtitle,
[data-theme="light"] .accordion-panel .panel-subtitle {
  color: #fbbf24 !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9) !important;
}

/* Strictly enforce dark mode and pure white font color for the 3D scroll canvas section in Light Mode */
#canvasHeroSection,
.canvas-hero-section,
[data-theme="light"] #canvasHeroSection,
[data-theme="light"] .canvas-hero-section,
.light #canvasHeroSection,
.light .canvas-hero-section {
  --bg-primary: #050407 !important;
  --bg-secondary: #0c0b10 !important;
  --bg-tertiary: #14121a !important;
  --text-primary: #ffffff !important;
  --text-secondary: #ffffff !important;
  --text-muted: #f8fafc !important;
  --text-subtle: #cbd5e1 !important;
  --accent-gold: #fbbf24 !important;
  --accent-gold-light: #fef08a !important;
  --accent-gold-dark: #d97706 !important;
  --border-subtle: rgba(255, 255, 255, 0.1) !important;
  --border-gold: rgba(251, 191, 36, 0.3) !important;
  background-color: #050407 !important;
  background-image: none !important;
  color: #ffffff !important;
}

#canvasHeroSection .canvas-sticky-viewport,
.canvas-hero-section .canvas-sticky-viewport,
[data-theme="light"] #canvasHeroSection .canvas-sticky-viewport {
  background-color: #050407 !important;
  background-image: none !important;
}

#canvasHeroSection .canvas-viewport-canvas,
.canvas-hero-section .canvas-viewport-canvas,
[data-theme="light"] #canvasHeroSection .canvas-viewport-canvas {
  background-color: #050407 !important;
}

#canvasHeroSection .canvas-scrim-overlay,
.canvas-hero-section .canvas-scrim-overlay,
[data-theme="light"] #canvasHeroSection .canvas-scrim-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.1) 25%, rgba(0, 0, 0, 0.1) 75%, rgba(0, 0, 0, 0.85) 100%) !important;
}

#canvasHeroSection .overlay-stage-title,
.canvas-hero-section .overlay-stage-title,
[data-theme="light"] #canvasHeroSection .overlay-stage-title {
  color: #ffffff !important;
  text-shadow: 0 4px 35px rgba(0, 0, 0, 0.95), 0 0 12px rgba(0, 0, 0, 0.9) !important;
  font-weight: 300 !important;
}

#canvasHeroSection .overlay-brand-title,
.canvas-hero-section .overlay-brand-title,
[data-theme="light"] #canvasHeroSection .overlay-brand-title {
  color: #ffffff !important;
}

#canvasHeroSection .overlay-brand-sub,
.canvas-hero-section .overlay-brand-sub,
[data-theme="light"] #canvasHeroSection .overlay-brand-sub {
  color: #f8fafc !important;
  border-left-color: rgba(255, 255, 255, 0.3) !important;
}


#canvasHeroSection .hairline-progress-track,
.canvas-hero-section .hairline-progress-track,
[data-theme="light"] #canvasHeroSection .hairline-progress-track {
  background: rgba(255, 255, 255, 0.15) !important;
}

#canvasHeroSection .hairline-progress-bar,
.canvas-hero-section .hairline-progress-bar,
[data-theme="light"] #canvasHeroSection .hairline-progress-bar {
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #ffffff) !important;
}

[data-theme="light"] .faq-trigger span {
  color: #0e0c14 !important;
}

[data-theme="light"] .faq-trigger span[style*="accent-gold"],
[data-theme="light"] .text-editorial-gold,
[data-theme="light"] .legacy-stat-num,
[data-theme="light"] .badge-accent,
[data-theme="light"] .craft-stone-tag,
[data-theme="light"] .radar-telemetry-projects {
  color: #9e6f1a !important;
}

[data-theme="light"] .glass-pill {
  background: rgba(255, 255, 255, 0.75) !important;
  border-color: rgba(158, 111, 26, 0.4) !important;
  color: #8c5f12 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .faq-accordion-item {
  background: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(160, 130, 85, 0.25) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .faq-accordion-item.open {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: #9e6f1a !important;
  box-shadow: 0 8px 30px rgba(158, 111, 26, 0.12);
}

[data-theme="light"] .faq-icon {
  background: rgba(0, 0, 0, 0.05);
  color: #0e0c14;
  border-color: rgba(160, 130, 85, 0.3);
}

[data-theme="light"] .faq-accordion-item.open .faq-icon {
  background: #9e6f1a !important;
  color: #ffffff !important;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--accent-gold);
  color: #000000;
}

/* Scrollbar (Hidden globally per user request) */
::-webkit-scrollbar {
  display: none;
}

html,
body {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Font Families */
.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

.font-mono {
  font-family: var(--font-mono);
}

/* Typography Helpers */
.text-gold {
  color: var(--accent-gold);
}

.text-white {
  color: #ffffff;
}

.text-zinc-300 {
  color: #d4d4d8;
}

.text-zinc-400 {
  color: #a1a1aa;
}

.text-zinc-500 {
  color: #71717a;
}

.tracking-widest {
  letter-spacing: 0.25em;
}

.tracking-wider {
  letter-spacing: 0.15em;
}

.tracking-tight {
  letter-spacing: -0.02em;
}

.uppercase {
  text-transform: uppercase;
}

/* Text Gradient Accents */
.text-editorial-gold {
  color: #e5c9a5;
  background: linear-gradient(135deg, #fdf6ec 0%, #d8c2a7 50%, #b39775 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

[data-theme="light"] .text-editorial-gold {
  background: linear-gradient(135deg, #a4711f 0%, #7d5412 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.animate-text-shimmer {
  background: linear-gradient(90deg,
      #ffc77e 0%,
      #ffcf54 40%,
      #cfa665 80%,
      #ffc77e 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 8s linear infinite;
  display: inline-block;
}

[data-theme="light"] .animate-text-shimmer {
  background: linear-gradient(90deg,
      #cda774 0%,
      #ffcf54 40%,
      #e8ba71 80%,
      #cda774 100%);
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 700 !important;
}

@keyframes textShimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   GLASSMORPHISM & LUXURY PANELS
   ========================================================================== */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

.glass-panel-gold {
  background: var(--bg-glass-gold);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(251, 191, 36, 0.2);
  transition: all var(--transition-normal);
}

.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.15);
}

/* ==========================================================================
   KEYFRAME ANIMATIONS & DISTINCTIVE VISUAL EFFECTS
/* ==========================================================================
   SOFT FADED GOLDEN LIGHT RAY EFFECT (INTERACTIVE MATERIAL GALLERY)
   ========================================================================== */
/* Unified, Prestigious Faded Golden Color Palette */
:root {
  --blade-core-color: rgba(255, 245, 220, 0.65);
  --blade-glow-color: rgba(251, 191, 36, 0.45);
  --blade-trail-color: rgba(245, 158, 11, 0.18);
  --blade-shadow-color: transparent;
  --blade-shadow-glow: transparent;
}

/* Graceful, Soft Faded Golden Light Sweep Keyframes */
@keyframes swordSlash {
  0% {
    left: -70%;
    opacity: 0;
  }

  18% {
    opacity: 0.75;
  }

  80% {
    opacity: 0.75;
  }

  100% {
    left: 265%;
    opacity: 0;
  }
}

/* Backwards compatibility aliases */
@keyframes laserScanOnce {
  0% {
    left: -70%;
    opacity: 0;
  }

  18% {
    opacity: 0.75;
  }

  80% {
    opacity: 0.75;
  }

  100% {
    left: 165%;
    opacity: 0;
  }
}

@keyframes laserScan {
  0% {
    left: -70%;
    opacity: 0;
  }

  18% {
    opacity: 0.75;
  }

  80% {
    opacity: 0.75;
  }

  100% {
    left: 165%;
    opacity: 0;
  }
}

/* Soft, Faded Golden Light Ray (45° angle, Wide & Diffused, No Sharp Lines) */
.accordion-panel .animate-laser-scan {
  position: absolute;
  top: -200%;
  left: -200%;
  height: 420%;
  width: 70px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.05) 15%,
      rgba(255, 255, 255, 0.25) 35%,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(255, 255, 255, 0.25) 65%,
      rgba(255, 255, 255, 0.05) 85%,
      transparent 100%);
  box-shadow:
    0 0 25px rgba(255, 255, 255, 0.4),
    0 0 50px rgba(255, 255, 255, 0.2);
  filter: blur(5px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.9) 15%, rgba(0, 0, 0, 0.9) 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.9) 15%, rgba(0, 0, 0, 0.9) 85%, transparent 100%);
  transform: rotate(45deg);
  transform-origin: center center;
  pointer-events: none;
  z-index: 25;
  will-change: left, opacity;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Completely Disable sharp sub-elements for a single pure soft faded ray */
.accordion-panel .animate-laser-scan::before,
.accordion-panel .animate-laser-scan::after {
  display: none !important;
}

.accordion-panel:hover .animate-laser-scan,
.accordion-panel.active .animate-laser-scan {
  opacity: 1;
  animation: swordSlash 1.0s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.accordion-panel:not(:hover):not(.active) .animate-laser-scan {
  opacity: 0 !important;
  animation: none !important;
}

/* Hide on standard cards so other cards stay clean */
.tilt-card .animate-laser-scan,
.gateway-card .animate-laser-scan {
  display: none !important;
}

/* Subtle float */
@keyframes subtleFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }
}

.animate-subtle-float {
  animation: subtleFloat 5s ease-in-out infinite;
}

/* Ambient rotating glowing orb */
@keyframes orbRotate {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.15);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

.animate-orb-rotate {
  animation: orbRotate 22s linear infinite;
}

/* Ping pulse */
@keyframes ping {

  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.ping-dot {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.ping-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: var(--accent-gold);
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ping-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: var(--accent-gold);
}

/* Directional Converging Entrance Animations */
@keyframes enterFromTop {
  0% {
    opacity: 0;
    transform: translateY(-80px);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

@keyframes enterFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-180px);
    filter: blur(10px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0px);
  }
}

@keyframes enterFromBottom {
  0% {
    opacity: 0;
    transform: translateY(80px);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

@keyframes enterFromRight {
  0% {
    opacity: 0;
    transform: translateX(180px);
    filter: blur(10px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0px);
  }
}

.animate-from-top {
  animation: enterFromTop 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-from-left {
  animation: enterFromLeft 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-from-bottom {
  animation: enterFromBottom 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-from-right {
  animation: enterFromRight 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Infinite Marquee */
@keyframes marquee {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee-container,
.marquee-separator-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
  background: transparent;
  border: none !important;
  outline: none;
  box-shadow: none;
  padding: 1.5rem 0;
  margin: 0;
  display: flex;
  align-items: center;
  z-index: 10;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  animation: marquee 38s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-gold-light);
  font-weight: 500;
}

.marquee-sep {
  color: var(--accent-gold);
  opacity: 0.55;
  font-size: 0.95rem;
}

.marquee-container:hover .marquee-track,
.marquee-separator-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

/* ==========================================================================
   NAVIGATION BAR (GLOBAL HEADER)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 80px;
  background: rgba(6, 5, 9, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.site-header .header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-avatar {
  width: 42px;
  height: 42px;
  padding: 1px;
}

.brand-link:hover .brand-avatar {
  transform: scale(1.05);
}

.brand-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-gold);
  overflow: hidden;
  padding: 4px;
}

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

.overlay-brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.75));
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: #ffffff;
  text-transform: uppercase;
}

.brand-tagline {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Desktop Nav Links */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  background: rgba(251, 191, 36, 0.15);
  color: var(--accent-gold);
  font-weight: 600;
  border-color: var(--border-gold);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.2);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-cta-sample {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  color: #000000;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 2px 14px rgba(245, 158, 11, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

@media (min-width: 640px) {
  .btn-cta-sample {
    display: inline-flex;
  }
}

.btn-cta-sample:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5);
}

.hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

@media (min-width: 1024px) {
  .hamburger-btn {
    display: none;
  }
}

/* Mobile Drawer Menu */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(10, 9, 16, 0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-gold);
  padding: 1.5rem;
  z-index: 99;
}

.mobile-drawer.open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: background var(--transition-fast);
}

.mobile-nav-link.active {
  background: rgba(251, 191, 36, 0.15);
  color: var(--accent-gold);
  border: 1px solid var(--border-gold);
}

/* Theme Toggle Button Styles */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  color: var(--accent-gold);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--border-gold);
  box-shadow: 0 0 15px var(--gold-glow);
  transform: rotate(15deg);
}

/* Floating Theme Toggle (Bottom Right) */
.floating-theme-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
}

.floating-theme-toggle button {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(13, 12, 20, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.25);
  transition: all var(--transition-fast);
}

.floating-theme-toggle button:hover {
  transform: scale(1.06);
  box-shadow: 0 0 35px rgba(251, 191, 36, 0.45);
}

/* ==========================================================================
   3D SCROLL-LINKED CANVAS SEQUENCE (PINNED 750VH VIEWPORT)
   ========================================================================== */
.canvas-hero-section {
  position: relative;
  width: 100%;
  height: 425vh;
  background-color: #050407;
  color: #ffffff;
  user-select: none;
}

.canvas-sticky-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.canvas-viewport-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.canvas-scrim-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.1) 25%, rgba(0, 0, 0, 0.1) 75%, rgba(0, 0, 0, 0.85) 100%);
  pointer-events: none;
  z-index: 5;
}

/* Minimal Luxury Marble Overlay */
.canvas-overlay-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .canvas-overlay-content {
    padding: 2.5rem 3.5rem;
  }
}

/* Top bar in overlay */
.overlay-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: auto;
  width: 100%;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .overlay-topbar {
    justify-content: center;
    gap: 0.5rem;
  }
}

.overlay-brand-title {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 4vw, 1.25rem);
  letter-spacing: 0.3em;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 600;
}

.overlay-brand-sub {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(251, 191, 36, 0.8);
  text-transform: uppercase;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 0.75rem;
}

@media (min-width: 640px) {
  .overlay-brand-sub {
    display: inline-block;
  }
}

/* Stage Jump Tabs in Overlay */
.stage-tabs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.stage-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.stage-tab-btn:hover {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.6);
}

.stage-tab-btn.active {
  color: var(--accent-gold);
  font-weight: 700;
  background: rgba(0, 0, 0, 0.8);
  border-color: var(--border-gold);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.3);
  transform: scale(1.05);
}

/* Overlay Quick Chapter Links */
.overlay-chapter-links {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .overlay-chapter-links {
    display: flex;
  }
}

.overlay-chapter-links a {
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.overlay-chapter-links a:hover {
  color: var(--accent-gold);
  background: rgba(0, 0, 0, 0.5);
}

.overlay-chapter-links a.highlight {
  color: var(--accent-gold);
  font-weight: 600;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid var(--border-gold);
}

/* Dedicated Top Navigation FAQ Button */
.nav-faq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.05rem;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.nav-faq-btn:hover {
  color: #ffffff;
  border-color: var(--border-gold);
  background: rgba(0, 0, 0, 0.75);
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.3);
  transform: translateY(-1px);
}

/* Overlay Main Bottom Information Bar */
.overlay-bottom-info {
  margin-top: auto;
  pointer-events: auto;
  padding-bottom: 1rem;
}

.overlay-bottom-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .overlay-bottom-grid {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.overlay-stage-tag {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .overlay-stage-tag {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }
}

.stage-tag-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.2em;
}

.stage-tag-divider {
  width: 24px;
  height: 1px;
  background: linear-gradient(to right, var(--accent-gold), transparent);
}

.stage-tag-quarry {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.overlay-stage-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.75rem, 8vw, 4.5rem);
  line-height: 1.05;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 35px rgba(0, 0, 0, 0.9);
}

.overlay-stage-sub {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 1.8vw, 0.95rem);
  letter-spacing: 0.2em;
  color: var(--accent-gold-light);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.overlay-stage-note {
  max-width: 380px;
  border-top: none;
  border-left: 4px solid var(--border-gold);
  padding-left: 1rem;
  padding-top: 0.25rem;
}

@media (min-width: 1024px) {
  .overlay-stage-note {
    padding-top: 0;
    padding-left: 1.5rem;
  }
}

.note-heading {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.4rem;
}

.note-text {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Hairline Scroll Progress Bar */
.hairline-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
  z-index: 20;
}

.hairline-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #ffffff);
  transition: width 0.05s linear;
}

/* ==========================================================================
   3D SCROLL CANVAS ANIMATION: PRESERVED VIVID CONTRAST IN ALL THEMES
   ========================================================================== */
.canvas-scrim-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.4) 100%) !important;
  pointer-events: none;
  z-index: 5;
}

.overlay-stage-title {
  color: #ffffff !important;
  text-shadow: 0 4px 35px rgba(0, 0, 0, 0.95), 0 0 10px rgba(0, 0, 0, 0.8) !important;
}

.overlay-brand-title {
  color: #ffffff !important;
}

.overlay-brand-sub {
  color: rgba(255, 255, 255, 0.7) !important;
}

.stage-tag-num {
  color: #fbbf24 !important;
}

.stage-tag-quarry {
  color: #e2e8f0 !important;
}

.overlay-stage-sub {
  color: #fbbf24 !important;
}

.note-heading {
  color: #fbbf24 !important;
}

.note-text {
  color: #cbd5e1 !important;
}

.hairline-progress-track {
  background: rgba(255, 255, 255, 0.15) !important;
}

.hairline-progress-bar {
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #ffffff) !important;
}

/* ==========================================================================
   SECTION COMMON WRAPPERS & HEADERS
   ========================================================================== */
.section-wrapper {
  position: relative;
  width: 100%;
  padding: 3rem 0;
  border-top: none;
  overflow: hidden;
}

@media (min-width: 768px) {
  .section-wrapper {
    padding: 4rem 0 0 0;
  }
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.25rem auto;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.1;
  margin-top: 0.75rem;
}

.section-desc {
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 1rem;
}

/* ==========================================================================
   LUXURY COLLECTIONS & INTERACTIVE ACCORDION
   ========================================================================== */
/* Unified Luxury Golden Color Theme for All Panels */
.accordion-panel {
  --tile-color: #fbbf24;
  --tile-border: rgba(251, 191, 36, 0.4);
  --tile-glow: rgba(245, 158, 11, 0.22);
  --tile-glow-subtle: rgba(251, 191, 36, 0.06);
  --tile-badge-bg: #f59e0b;
  --tile-badge-text: #000000;
  --tile-sheen: rgba(251, 191, 36, 0.24);
  --tile-btn-bg: #facc15;
}

/* Horizontal Desktop Accordion */
.accordion-desktop {
  display: none;
  height: 640px;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .accordion-desktop {
    display: flex;
  }
}

.accordion-panel {
  position: relative;
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0px 10px rgba(30, 30, 30, 0.9);
  /* Graceful, synchronized expansion */
  transition: flex 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.6s ease,
    border-color 0.6s ease,
    box-shadow 0.6s ease;
}

/* Hover or Active: expands with thin 1px border and reduced opacity golden glow */
.accordion-panel:hover,
.accordion-panel.active {
  flex: 3.8;
  opacity: 1;
  box-shadow: 0 0 15px rgba(10, 10, 10, 0.95);
}

.accordion-panel-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s ease;
}

.accordion-panel:hover .accordion-panel-bg,
.accordion-panel.active .accordion-panel-bg {
  transform: scale(1.05);
  filter: brightness(1);
}

.accordion-panel-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 1.0) 0%,
      rgba(0, 0, 0, 0.5) 45%,
      rgba(0, 0, 0, 0.0) 100%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.6s ease;
}

/* Second Ray Removed: Single Golden Laser Beam Only */
.panel-sheen {
  display: none !important;
}

@keyframes laserLightPass {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  88% {
    opacity: 1;
  }

  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

/* Collapsed Panel Typography: Upright Vertical Architectural Lettering */
.accordion-collapsed-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 6;
  background: rgba(0, 0, 0, 0.792);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0.35s ease, background 0.35s ease;
}

.accordion-panel:hover .accordion-collapsed-label,
.accordion-panel.active .accordion-collapsed-label {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.accordion-collapsed-label span {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  transition: color 0.5s ease, letter-spacing 0.5s ease;
}

/* Expanded Content: STRICTLY HIDDEN UNTIL LASER LIGHT PASSES */
.accordion-expanded-content {
  position: absolute;
  inset: 0;
  padding: 2.25rem 2.25rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 10;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(6px) !important;
  pointer-events: none !important;
  /* Instant, clean dissolve on mouse leave with zero delay */
  transition: opacity 0.14s ease 0s, transform 0.14s ease 0s, visibility 0.14s ease 0s;
}

/* ONLY AFTER LASER LIGHT PASSES (.laser-passed added): COMPLETE CONTENT SHOWS PROMPTLY */
.accordion-panel.laser-passed .accordion-expanded-content {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
  transition: opacity 0.14s ease-out 0s,
    transform 0.14s ease-out 0s,
    visibility 0.14s ease-out 0s !important;
}

/* Unified Luxury Golden Badges & CTA */
.badge-accent {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: #f59e0b;
  color: #000000;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 2px 14px rgba(245, 158, 11, 0.35);
  transition: background 0.7s ease, box-shadow 0.7s ease;
}

.badge-location {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.6);
  color: #d1d5db;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.panel-subtitle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  margin-bottom: 0.35rem;
  transition: color 0.7s ease;
}

.panel-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0.15rem 0 0.45rem 0;
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.panel-desc {
  font-size: 0.88rem;
  color: #e2e8f0;
  line-height: 1.6;
  max-width: 480px;
  font-weight: 300;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.panel-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  padding: 0.62rem 1.45rem;
  border-radius: var(--radius-full);
  background: #facc15;
  color: #000000;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(250, 204, 21, 0.32);
  transition: transform var(--transition-fast), box-shadow 0.7s ease, background 0.7s ease;
}

.panel-cta-btn:hover {
  background: #fde047;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(250, 204, 21, 0.5);
}

/* Mobile Accordion Stack (< 768px) */
.accordion-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 768px) {
  .accordion-mobile {
    display: none;
  }
}

.accordion-mobile-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 60px;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.08);
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.accordion-mobile-card.active {
  height: 280px;
  border-color: var(--border-gold);
  box-shadow: 0 0 20px var(--gold-glow);
}

.accordion-mobile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.accordion-mobile-collapsed {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
}

.accordion-mobile-card.active .accordion-mobile-collapsed {
  display: none;
}

.accordion-mobile-expanded {
  display: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.65));
  padding: 1.25rem;
  flex-direction: column;
  justify-content: space-between;
}

.accordion-mobile-card.active .accordion-mobile-expanded {
  display: flex;
}

/* ==========================================================================
   LUXURY COLLECTIONS: HIGH-CONTRAST LUXURY STYLES IN LIGHT MODE
   ========================================================================== */
/* ==========================================================================
   LUXURY COLLECTIONS: HARMONIOUS LUXURY STYLES IN LIGHT MODE
   ========================================================================== */
[data-theme="light"] .accordion-desktop {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

[data-theme="light"] .accordion-panel {
  border: 1px solid rgba(180, 131, 40, 0.3) !important;
  background: #08080c !important;
  opacity: 1 !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35) !important;
}

[data-theme="light"] .accordion-panel:hover,
[data-theme="light"] .accordion-panel.active {
  border: 2px solid #b48328 !important;
  box-shadow:
    0 15px 40px rgba(180, 131, 40, 0.25),
    0 0 20px rgba(218, 165, 32, 0.3) !important;
}

[data-theme="light"] .accordion-panel-bg {
  filter: brightness(0.92) contrast(1.08) saturate(1.15) !important;
  opacity: 1 !important;
}

[data-theme="light"] .accordion-panel:hover .accordion-panel-bg,
[data-theme="light"] .accordion-panel.active .accordion-panel-bg {
  filter: brightness(1) contrast(1.12) saturate(1.2) !important;
}

/* Collapsed Labels: Semi-transparent overlay so marble textures are 100% visible */
[data-theme="light"] .accordion-collapsed-label {
  background: rgba(0, 0, 0, 0.38) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

[data-theme="light"] .accordion-collapsed-label span {
  color: #ffffff !important;
  background: rgba(10, 8, 16, 0.65) !important;
  padding: 1.25rem 0.45rem !important;
  border-radius: 14px !important;
  border: 1px solid rgba(251, 191, 36, 0.45) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55), 0 0 12px rgba(251, 191, 36, 0.25) !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.35em !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95) !important;
}

[data-theme="light"] .accordion-panel-scrim {
  background: linear-gradient(to top,
      rgba(10, 8, 16, 1.0) 0%,
      rgba(10, 8, 16, 0.85) 50%,
      rgba(0, 0, 0, 0.5) 100%) !important;
}

[data-theme="light"] .accordion-panel h3.panel-title,
[data-theme="light"] .accordion-expanded-content .panel-title,
[data-theme="light"] .accordion-expanded-content h3 {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 0 5px rgba(0, 0, 0, 0.8) !important;
  font-weight: 600 !important;
}

[data-theme="light"] .accordion-panel .panel-subtitle,
[data-theme="light"] .accordion-expanded-content .panel-subtitle {
  color: #fbbf24 !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9) !important;
}

[data-theme="light"] .accordion-panel .panel-desc,
[data-theme="light"] .accordion-expanded-content .panel-desc,
[data-theme="light"] .accordion-expanded-content p {
  color: #f8fafc !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95) !important;
  font-weight: 400 !important;
}

[data-theme="light"] .accordion-expanded-content .badge-location,
[data-theme="light"] .accordion-panel .badge-location {
  background: rgba(0, 0, 0, 0.72) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="light"] .accordion-expanded-content .badge-accent,
[data-theme="light"] .accordion-panel .badge-accent {
  background: #f59e0b !important;
  color: #000000 !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.45) !important;
}

[data-theme="light"] .accordion-expanded-content .panel-cta-btn,
[data-theme="light"] .accordion-panel .panel-cta-btn {
  background: #facc15 !important;
  color: #000000 !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 18px rgba(250, 204, 21, 0.45) !important;
}

[data-theme="light"] .accordion-expanded-content .panel-cta-btn:hover,
[data-theme="light"] .accordion-panel .panel-cta-btn:hover {
  background: #fde047 !important;
  box-shadow: 0 6px 24px rgba(250, 204, 21, 0.6) !important;
}

[data-theme="light"] .accordion-mobile-card {
  background: #08080c !important;
  border: 1px solid rgba(180, 131, 40, 0.35) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35) !important;
}

[data-theme="light"] .accordion-mobile-card.active {
  border-color: #b48328 !important;
  box-shadow: 0 0 20px rgba(180, 131, 40, 0.25) !important;
}

[data-theme="light"] .accordion-mobile-collapsed {
  background: rgba(0, 0, 0, 0.45) !important;
}

[data-theme="light"] .accordion-mobile-collapsed span {
  color: #ffffff !important;
  font-weight: 800 !important;
}

[data-theme="light"] .accordion-mobile-expanded {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.55)) !important;
}

[data-theme="light"] .accordion-mobile-expanded h3 {
  color: #ffffff !important;
}

[data-theme="light"] .accordion-mobile-expanded p {
  color: #f1f5f9 !important;
}

/* ==========================================================================
   ARCHITECTURAL SIMULATION LAB (VEIN INTENSITY, BOOKMATCH, LOUPE)
   ========================================================================== */
.lab-card {
  background: #0a0a0a;
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  border-left: none;
  border-right: none;
  border-radius: 0;
  padding: 1.5rem 5vw;
  margin-top: 4rem;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  max-width: 100vw;
}

@media (min-width: 768px) {
  .lab-card {
    padding: 2.5rem 5vw;
  }
}

.lab-header-controls {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .lab-header-controls {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.lab-btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.lab-tool-btn {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.lab-tool-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.lab-tool-btn.active {
  background: var(--accent-gold);
  color: #000000;
  font-weight: 700;
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
}

.lab-preview-canvas {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000000;
  display: flex;
  cursor: crosshair;
  user-select: none;
}

@media (min-width: 1024px) {
  .lab-preview-canvas {
    aspect-ratio: 21 / 10;
  }
}

.slab-half {
  position: relative;
  flex: 1;
  height: 100%;
  overflow: hidden;
}

.slab-half img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.slab-mirrored {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.slab-mirrored img {
  transform: scaleX(-1);
}

/* Macro Loupe Circle */
.macro-loupe {
  position: absolute;
  z-index: 30;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 0 35px var(--gold-glow);
  pointer-events: none;
  overflow: hidden;
  transform: translate(-50%, -50%);
  background-color: #000000;
}

.macro-loupe-inner {
  width: 100%;
  height: 100%;
  background-size: 350%;
}

.macro-loupe-badge {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.85);
  color: var(--accent-gold);
  white-space: nowrap;
  border: 1px solid var(--border-subtle);
}

/* Space Switcher Bar Overlay (Replaces Intensity Slider) */
.lab-room-switcher-bar {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(8, 8, 12, 0.94);
  backdrop-filter: blur(20px);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.75), 0 0 25px rgba(251, 191, 36, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  z-index: 20;
  transition: all var(--transition-fast);
}

@media (min-width: 768px) {
  .lab-room-switcher-bar {
    flex-direction: row;
    justify-content: space-between;
  }
}

.room-switcher-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  white-space: nowrap;
}

.room-switches-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.room-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.room-switch-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(251, 191, 36, 0.5);
  transform: translateY(-1px);
}

.room-switch-btn.active {
  background: var(--accent-gold);
  color: #000000;
  font-weight: 700;
  border-color: var(--accent-gold);
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.45);
}

.room-current-indicator {
  display: none;
}

@media (min-width: 960px) {
  .room-current-indicator {
    display: flex;
    align-items: center;
    white-space: nowrap;
  }
}

/* ==========================================================================
   GOLDEN TICKER
   ========================================================================== */
.golden-ticker {
  background: var(--accent-gold);
}

.ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: tickerScroll 50s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   LEGACY STATS / ACHIEVEMENTS (ULTRA MODERN)
   ========================================================================== */
.modern-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.modern-stat .stat-val {
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 8vw, 7.5rem);
  font-weight: 300;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  position: relative;
  letter-spacing: -2px;
}

.modern-stat .stat-plus {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-family: var(--font-mono);
  color: var(--accent-gold);
  -webkit-text-fill-color: var(--accent-gold);
  vertical-align: super;
  margin-left: 5px;
}

.modern-stat .stat-desc {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.25em;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(251, 191, 36, 0.3), transparent);
}

@media (max-width: 960px) {
  .legacy-stats-banner {
    flex-direction: column !important;
    text-align: center !important;
  }
  .legacy-stats-left {
    text-align: center !important;
  }
  .legacy-stats-left p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .legacy-stats-banner {
    padding: 2.5rem 5vw !important;
    gap: 2rem !important;
  }
  .legacy-stats-left h2 {
    font-size: 2.2rem !important;
  }
  .stats-row {
    flex-direction: column !important;
    gap: 1.5rem !important;
  }
  .stat-divider {
    width: 80px !important;
    height: 1px !important;
    background: linear-gradient(to right, transparent, rgba(251, 191, 36, 0.3), transparent) !important;
  }
  .modern-stat .stat-val {
    font-size: 3rem !important;
  }
}

/* ==========================================================================
   3D TILT SLAB CARDS GRID
   ========================================================================== */
.stone-grid-header {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .stone-grid-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

/* Search Bar */
.search-input-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
}

.search-input {
  width: 100%;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  transition: border-color var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-gold);
}

/* Category Filter Tabs */
.category-pills-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  scrollbar-width: none;
}

.category-pills-bar::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

#luxury-collections .cat-pill,
.stones-light-section .cat-pill {
  background: rgba(20, 18, 28, 0.06);
  border-color: rgba(180, 131, 40, 0.3);
  color: #2b2735;
}

.cat-pill:hover,
#luxury-collections .cat-pill:hover,
.stones-light-section .cat-pill:hover {
  color: var(--accent-gold);
}

.cat-pill.active,
#luxury-collections .cat-pill.active,
.stones-light-section .cat-pill.active {
  background: var(--accent-gold);
  color: #000000;
  font-weight: 700;
  border-color: var(--accent-gold);
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.35);
}

/* Card Grid Layout */
.stone-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .stone-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .stone-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .stone-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tilt Stone Card */
.tilt-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #1a1a1a, #050505) !important;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.8) !important;
  cursor: default;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.tilt-card:hover {
  border-color: rgba(251, 191, 36, 0.5) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9), 0 0 30px rgba(251, 191, 36, 0.15) !important;
  transform: translateY(-8px) scale(1.02);
}

.tilt-card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  background: #000000;
}

.tilt-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.tilt-card:hover .tilt-card-img-wrap img {
  transform: scale(1.08);
}

.tilt-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--border-subtle);
  color: var(--accent-gold-light);
}

.tilt-card-masterwork {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--accent-gold);
  color: #000000;
}

.tilt-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.tilt-card-origin {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.tilt-card-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  transition: color var(--transition-fast);
}

.tilt-card:hover .tilt-card-title {
  color: var(--accent-gold);
}

.tilt-card-desc {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tilt-card-footer {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

/* ==========================================================================
   TECHNICAL SPECIFICATION MODAL
   ========================================================================== */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: linear-gradient(160deg, #181818, #050505) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 40px rgba(251, 191, 36, 0.1) !important;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 20;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.modal-close-btn:hover {
  background: var(--accent-gold);
  color: #000000;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
}

.modal-hero-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000000;
  overflow: hidden;
}

.modal-hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.modal-gauge-box {
  padding: 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.modal-gauge-bar-track {
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.5);
  overflow: hidden;
  margin-top: 0.4rem;
}

.modal-gauge-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--accent-gold);
}

/* ==========================================================================
   EXCELLENCE GATEWAY SECTION (4 CHAPTER CARDS)
   ========================================================================== */
.gateway-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .gateway-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gateway-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.gateway-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(251, 191, 36, 0.15);
}

.gateway-card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
}

.gateway-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.gateway-card:hover .gateway-card-img-wrap img {
  transform: scale(1.06);
}

.gateway-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

/* Concierge Sample Box Banner */
.concierge-banner {
  margin-top: 4rem;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  background: var(--bg-glass-gold);
  border: 1px solid var(--border-gold);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 1024px) {
  .concierge-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 3rem;
  }
}

/* ==========================================================================
   PROCESS PAGE (BEFORE & AFTER SLIDER, PIPELINE, CALIBRATION)
   ========================================================================== */
.transformation-slider-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl, 1.25rem);
  overflow: hidden;
  border: 1.5px solid var(--border-gold);
  box-shadow: var(--shadow-lg), 0 20px 40px rgba(0, 0, 0, 0.3);
  user-select: none;
  container-type: inline-size;
}

@media (min-width: 768px) {
  .transformation-slider-frame {
    aspect-ratio: 21 / 9;
  }
}

.ts-bg,
.ts-fg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

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

.ts-fg {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100%;
  border-right: 2px solid var(--accent-gold);
  overflow: hidden;
  z-index: 10;
}

.ts-fg-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100cqw;
  min-width: 100%;
  height: 100%;
}

.ts-fg-inner img,
.ts-fg img {
  width: 100cqw;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ts-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent-gold);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 20;
}

.ts-handle-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  border: 2.5px solid #000000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  cursor: ew-resize;
}

.ts-range-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 30;
}

/* ==========================================================================
   GLOBAL REACH: CARVING INDIA'S LEGACY & INTERACTIVE RADAR MAP
   ========================================================================== */
.legacy-globe-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .legacy-globe-split {
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
  }
}

.legacy-globe-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.legacy-globe-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.01em;
}

[data-theme="light"] .legacy-globe-title {
  color: #111115;
}

.legacy-globe-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 300;
}

.legacy-globe-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 0.5rem 0 1rem 0;
}

@media (min-width: 540px) {
  .legacy-globe-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.legacy-stat-card {
  padding: 1rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.legacy-stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
}

[data-theme="light"] .legacy-stat-card {
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.legacy-stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent-gold);
  line-height: 1;
}

.legacy-stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
  font-weight: 600;
}

/* ==========================================================================
   1. INTERACTIVE RADAR EXPORT MAP (CARVING INDIA'S LEGACY)
   ========================================================================== */
.radar-interactive-container {
  position: relative;
}

[data-theme="light"] .radar-interactive-container {
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, #fbfaf7 80%);
  border-color: rgba(184, 134, 11, 0.25);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.radar-map-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #08080c;
  border: 1px solid var(--border-subtle);
}

[data-theme="light"] .radar-map-stage {
  background: #f4f2ec;
}

.radar-map-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity var(--transition-normal);
}

[data-theme="light"] .radar-map-bg {
  opacity: 0.95;
  filter: contrast(1.08);
}

.radar-map-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.radar-coords-grid {
  position: absolute;
  inset: 0;
  background: radial-gradient(var(--accent-gold) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.12;
  pointer-events: none;
}

.radar-beacon {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 20;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  transition: transform var(--transition-fast);
}

.radar-beacon:hover,
.radar-beacon.active {
  transform: translate(-50%, -50%) scale(1.2);
  z-index: 30;
}

.radar-beacon-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #000000;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
  position: relative;
  transition: all var(--transition-fast);
}

.radar-beacon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--accent-gold);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  pointer-events: none;
}

.radar-beacon.active::before,
.radar-beacon:hover::before {
  animation: beaconPulseRing 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes beaconPulseRing {
  0% {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0.9;
  }

  100% {
    transform: translate(-50%, -50%) scale(2.4);
    opacity: 0;
  }
}

.radar-beacon.active .radar-beacon-dot {
  background: var(--accent-gold);
  box-shadow: 0 0 18px var(--accent-gold), 0 0 30px var(--accent-gold);
  border-color: #ffffff;
}

.radar-beacon-label {
  display: none;
  position: absolute;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  background: rgba(10, 10, 15, 0.92);
  color: #ffffff;
  border: 1px solid var(--border-gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .radar-beacon-label {
  background: rgba(255, 255, 255, 0.95);
  color: #111115;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (min-width: 600px) {
  .radar-beacon-label {
    display: block;
  }
}

/* Docked Telemetry Hub Dashboard (Clean, non-obscuring) */
.radar-docked-telemetry {
  margin-top: 1rem;
  background: rgba(20, 20, 28, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

[data-theme="light"] .radar-docked-telemetry {
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.radar-telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.radar-telemetry-city {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0;
}

[data-theme="light"] .radar-telemetry-city {
  color: #111115;
}

.radar-telemetry-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.45;
  margin: 0;
}

.radar-telemetry-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

/* ==========================================================================
   2. WHERE INDIAN CRAFT MEETS GLOBAL ICONS (STONE MOSAIC WORLD SHOWCASE)
   ========================================================================== */
.craft-icons-section {
  position: relative;
  background: var(--bg-primary);
  border-top: none;
  padding: 3.5rem 0;
  overflow: hidden;
}

.craft-icons-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .craft-icons-split {
    grid-template-columns: 1.35fr 1fr;
    gap: 3.5rem;
  }
}

.craft-stone-map-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}



[data-theme="light"] .craft-stone-map-card {
  background: radial-gradient(ellipse at center, #ffffff 0%, #f4f2eb 85%);
  border-color: rgba(184, 134, 11, 0.28);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.craft-stone-map-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.craft-stone-map-img {
  width: 100%;
  height: auto;
  max-height: 560px;
  display: block;
  object-fit: contain;
  filter: contrast(1.15) brightness(1.08);
  transition: transform var(--transition-slow);
}

[data-theme="light"] .craft-stone-map-img {
  filter: contrast(1.05) brightness(1.02);
}

/* Distinct Vibrant Gold Country Typography Overlay */
.map-country-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #f5c842;
  /* Vibrant warm luxury gold */
  background: rgba(8, 8, 14, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  font-family: var(--font-sans);
  font-size: clamp(0.68rem, 0.95vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.85), 0 0 8px rgba(212, 175, 55, 0.15);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  transition: all var(--transition-fast);
}



[data-theme="light"] .map-country-label {
  color: #926900;
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--accent-gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}



.craft-icons-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.craft-icons-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.01em;
}

[data-theme="light"] .craft-icons-title {
  color: #111115;
}

.craft-icons-desc {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 300;
}

/* Clear 2-Column Sourcing Countries Grid */
.craft-countries-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 0.75rem;
  margin-top: 0.25rem;
}

@media (max-width: 540px) {
  .craft-countries-list {
    grid-template-columns: 1fr;
  }
}

.craft-country-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.craft-country-item:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--accent-gold);
  transform: translateX(3px);
}

[data-theme="light"] .craft-country-item {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(184, 134, 11, 0.2);
}

.craft-country-flag {
  font-size: 0.95rem;
  flex-shrink: 0;
}

.craft-country-name {
  font-weight: 700;
  color: #ffffff;
}

[data-theme="light"] .craft-country-name {
  color: #111115;
}

.craft-country-stone {
  font-size: 0.72rem;
  color: var(--accent-gold);
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}

.craft-stone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.craft-stone-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.craft-stone-tag:hover {
  background: var(--bg-glass-gold);
  border-color: var(--accent-gold);
  color: #ffffff;
}

[data-theme="light"] .craft-stone-tag {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  color: #444444;
}

/* Infinity Architectural Project Showcase Sliders — Aligned with Container & Map */
.craft-slider-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
}

.craft-slider-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: craftSliderScroll 35s linear infinite;
}

.craft-slider-track.reverse {
  animation: craftSliderScrollReverse 35s linear infinite;
  margin-top: 0;
}

.craft-slider-track:hover {
  animation-play-state: paused;
}

@keyframes craftSliderScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes craftSliderScrollReverse {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.craft-slide-card {
  position: relative;
  width: 320px;
  height: 210px;
  overflow: hidden;
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

@media (min-width: 768px) {
  .craft-slide-card {
    width: 390px;
    height: 250px;
  }
}

@media (min-width: 1200px) {
  .craft-slide-card {
    width: 440px;
    height: 275px;
  }
}

[data-theme="light"] .craft-slide-card {
  border-color: rgba(184, 134, 11, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.craft-slide-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.craft-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 8, 0.92) 0%, rgba(5, 5, 8, 0.3) 45%, transparent 70%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem 1.5rem;
}

.craft-slide-label {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Global Icons Dual Slider Row */
.global-icons-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 4.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 992px) {
  .global-icons-showcase {
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
  }
}

.global-icons-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

.global-icons-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.global-icons-img-wrap:hover img {
  transform: scale(1.03);
}

/* ==========================================================================
   CLEAN 2-COLUMN FAQ ACCORDION
   ========================================================================== */
.faq-two-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  align-items: start;
}

@media (min-width: 860px) {
  .faq-two-columns {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.faq-col {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.faq-accordion-item {
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-accordion-item:hover {
  border-color: rgba(251, 191, 36, 0.4);
}

.faq-accordion-item.open {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-gold);
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.12);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform var(--transition-fast), background var(--transition-fast);
  color: var(--text-secondary);
}

.faq-accordion-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-gold);
  color: #000000;
  border-color: var(--accent-gold);
}

.faq-content {
  display: none;
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  animation: faqFadeSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes faqFadeSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-accordion-item.open .faq-content {
  display: block;
}

/* ==========================================================================
   CONTACT PAGE (ENGINEERING CALCULATOR, PILLARS & INQUIRY FORM)
   ========================================================================== */
.calc-form-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .calc-form-container {
    grid-template-columns: 1fr 1.05fr;
  }
}

.contact-minimal-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 8, 18, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .contact-minimal-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-back-atelier {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.3);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-back-atelier:hover {
  background: var(--accent-gold);
  color: #000000;
  transform: translateX(-3px);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.contact-pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 860px) {
  .contact-pillar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-pillar-card {
  padding: 2.25rem 2rem;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(251, 191, 36, 0.18);
}

.contact-pillar-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--accent-gold);
  transition: all 0.3s ease;
}

.contact-pillar-card:hover .contact-pillar-icon-box {
  transform: scale(1.1) rotate(6deg);
  background: var(--accent-gold);
  color: #000000;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
  max-width: 1240px;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .contact-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
  }
}

.contact-map-frame {
  width: 100%;
  min-height: 360px;
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.contact-map-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(90%);
}

[data-theme="light"] .contact-map-frame iframe {
  filter: none;
}

.social-connect-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn-social-connect {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-gold);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-social-connect:hover {
  background: var(--accent-gold);
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.35);
}

.btn-social-connect svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea {
  color: #1c1917;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.25);
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-select:focus,
[data-theme="light"] .form-textarea:focus {
  background: #ffffff;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.btn-submit-gold {
  width: 100%;
  padding: 1.15rem;
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
  color: #000000;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  box-shadow: var(--shadow-gold);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-submit-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(251, 191, 36, 0.55);
}

/* ==========================================================================
   GLOBAL FOOTER
   ========================================================================== */
.site-footer {
  width: 100%;
  background: #040307;
  color: var(--text-muted);
  border-top: 1px solid var(--border-gold);
  padding: 4.5rem 0 2.5rem 0;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.footer-bottom-bar {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

@media (min-width: 640px) {
  .footer-bottom-bar {
    flex-direction: row;
  }
}

/* ==========================================================================
   LIGHT THEME OVERRIDES FOR SPECIFIC ELEMENTS
   ========================================================================== */
[data-theme="light"] .site-header,
.light .site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(180, 140, 90, 0.2);
}

[data-theme="light"] .brand-name,
.light .brand-name {
  color: #121016;
}

[data-theme="light"] .nav-link,
.light .nav-link {
  color: #4a4556;
}

[data-theme="light"] .nav-link:hover,
.light .nav-link:hover {
  color: #121016;
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .nav-link.active,
.light .nav-link.active {
  background: rgba(180, 131, 40, 0.15);
  color: #7d5412;
  border-color: rgba(180, 131, 40, 0.4);
}

[data-theme="light"] .site-footer,
.light .site-footer {
  background: #f7f3ee;
  color: #4a4556;
  border-top-color: rgba(180, 140, 90, 0.3);
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea,
.light .form-input,
.light .form-select,
.light .form-textarea {
  background: rgba(255, 255, 255, 0.9);
  color: #121016;
  border-color: rgba(180, 140, 90, 0.3);
}


}

[data-theme="light"] .tilt-card-origin,
.light .tilt-card-origin {
  color: #9e6f1a !important;
  font-weight: 700 !important;
}

[data-theme="light"] .section-title,
.light .section-title {
  color: #000000 !important;
  font-weight: 600 !important;
}

/* ==========================================================================
   OUR PROCESS: FROM EARTH TO EXCELLENCE - FLUID ARCHITECTURAL JOURNEY
   ========================================================================== */

/* Main Container & Section Wrappers */
.earth-process-container {
  position: relative;
  width: 100%;
}

/* Borderless Minimalist Metrics Ribbon */
.earth-metrics-ribbon {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.75rem 1rem;
  margin: 2.5rem auto 3.5rem auto;
  max-width: 960px;
  border-top: 1px solid rgba(251, 191, 36, 0.2);
  border-bottom: 1px solid rgba(251, 191, 36, 0.2);
  background: radial-gradient(ellipse at center, rgba(251, 191, 36, 0.04) 0%, transparent 70%);
}

.earth-metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
}

.earth-metric-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.75rem;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .earth-metric-item:not(:last-child)::after,
.light .earth-metric-item:not(:last-child)::after {
  background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .earth-metrics-ribbon {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1rem;
    padding: 1.5rem 1rem;
  }
  .earth-metric-item {
    padding: 0;
  }
  .earth-metric-item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .earth-metrics-ribbon {
    grid-template-columns: 1fr;
  }
}

.earth-metric-val {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
}

.earth-metric-lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Timeline Conduit Track (Desktop Horizontal) */
.earth-conduit-wrapper {
  position: relative;
  margin: 2rem 0 2rem 0;
}

.earth-conduit-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Start from top to keep orbs vertically aligned */
  padding: 0;
}

.earth-conduit-line-bg {
  position: absolute;
  top: 31px; /* 31px + 1px (half line height) = 32px center */
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  z-index: 1;
}

[data-theme="light"] .earth-conduit-line-bg,
.light .earth-conduit-line-bg {
  background: rgba(0, 0, 0, 0.1);
}

.earth-conduit-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-gold) 0%, #fef08a 50%, var(--accent-gold-light) 100%);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Moving Energy Light Particle */
.earth-conduit-particle {
  position: absolute;
  top: -3px;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px #fbbf24, 0 0 20px #fbbf24;
  left: 0%;
  opacity: 0;
  pointer-events: none;
}

@keyframes conduitTravel {
  0% {
    left: 0%;
    opacity: 0;
    transform: scale(0.6);
  }

  10% {
    opacity: 1;
    transform: scale(1);
  }

  90% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    left: 100%;
    opacity: 0;
    transform: scale(0.6);
  }
}

/* Step Node Buttons */
.earth-node-btn {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0;
  width: 25%;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.earth-node-btn:hover {
  transform: translateY(-3px);
}

.earth-node-orb {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface, #181520);
  border: 1.5px solid rgba(251, 191, 36, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
}

[data-theme="light"] .earth-node-orb,
.light .earth-node-orb {
  background: #ffffff;
  border-color: rgba(180, 131, 40, 0.3);
  color: #7d5412;
}

.earth-node-btn.active .earth-node-orb {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #0d0a12;
  border-color: #fef08a;
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: scale(1.1);
}

/* Pulsing Radar Ring */
.earth-node-pulse {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(251, 191, 36, 0.6);
  opacity: 0;
  pointer-events: none;
}

.earth-node-btn.active .earth-node-pulse {
  animation: radarWave 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.earth-node-label {
  margin-top: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.earth-node-btn.active .earth-node-label,
.earth-node-btn:hover .earth-node-label {
  color: var(--accent-gold);
}

/* Open, Borderless 4-Stage Fluid Grid */
.earth-stages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

@media (max-width: 1024px) {
  .earth-stages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .earth-conduit-wrapper {
    display: none;
  }
}

@media (max-width: 640px) {
  .earth-stages-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Borderless Stage Column (Fluid, Not Boxy) */
.earth-stage-card {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  text-align: left;
}

.earth-stage-card:hover {
  transform: translateY(-6px);
}

/* Image Frame with Soft Floating Shadow (No Heavy Card Box) */
.earth-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-lg, 1rem);
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.earth-stage-card.active .earth-card-img-wrap,
.earth-stage-card:hover .earth-card-img-wrap {
  border-color: var(--accent-gold);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45), 0 0 25px rgba(251, 191, 36, 0.3);
}

.earth-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.earth-stage-card:hover .earth-card-img,
.earth-stage-card.active .earth-card-img {
  transform: scale(1.06);
}

/* Soft Light Sheen Reflection */
.earth-card-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 245, 220, 0.3) 50%, transparent 80%);
  transform: translateX(-100%);
  transition: transform 0.75s ease;
  pointer-events: none;
}

.earth-stage-card:hover .earth-card-sheen,
.earth-stage-card.active .earth-card-sheen {
  transform: translateX(100%);
}

/* Floating Stage Pill */
.earth-card-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.earth-card-phase-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
}

.earth-card-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  opacity: 0.7;
}

.earth-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

[data-theme="light"] .earth-card-title,
.light .earth-card-title {
  color: #121016;
}

.earth-stage-card:hover .earth-card-title,
.earth-stage-card.active .earth-card-title {
  color: var(--accent-gold);
}

.earth-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary, #a1a1aa);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 1rem;
}

[data-theme="light"] .earth-card-desc,
.light .earth-card-desc {
  color: #52525b;
}

.earth-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-gold);
  font-weight: 600;
}

[data-theme="light"] .earth-card-footer,
.light .earth-card-footer {
  border-top-color: rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   FLUID STAGE ATELIER THEATER (OPEN & LUXURIOUS)
   ========================================================================== */
.earth-theater {
  position: relative;
  background: radial-gradient(ellipse at 80% 50%, rgba(251, 191, 36, 0.08) 0%, rgba(18, 14, 26, 0.95) 70%);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: var(--radius-xl, 1.5rem);
  padding: 3rem;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  margin-top: 3rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

[data-theme="light"] .earth-theater,
.light .earth-theater {
  background: radial-gradient(ellipse at 80% 50%, rgba(251, 191, 36, 0.1) 0%, #ffffff 70%);
  border-color: rgba(180, 131, 40, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

/* Auto-Play Progress Bar at Top */
.earth-theater-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.06);
}

.earth-theater-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-gold), #fef08a);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.7);
  transition: width 0.1s linear;
}

/* Theater Grid (2 Columns) */
.earth-theater-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 5;
}

@media (max-width: 960px) {
  .earth-theater-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Narrative Side */
.earth-theater-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.25);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.earth-theater-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

[data-theme="light"] .earth-theater-title,
.light .earth-theater-title {
  color: #121016;
}

.earth-theater-desc {
  font-size: 1rem;
  color: var(--text-secondary, #d4d4d8);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 1.75rem;
}

[data-theme="light"] .earth-theater-desc,
.light .earth-theater-desc {
  color: #3f3f46;
}

/* Specs Matrix */
.earth-specs-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

[data-theme="light"] .earth-specs-matrix,
.light .earth-specs-matrix {
  border-color: rgba(0, 0, 0, 0.08);
}

.earth-spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.earth-spec-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-muted, #71717a);
  letter-spacing: 0.05em;
}

.earth-spec-val {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-gold);
}

[data-theme="light"] .earth-spec-val,
.light .earth-spec-val {
  color: #854d0e;
}

/* Theater Controller Buttons */
.earth-theater-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.earth-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md, 0.6rem);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

[data-theme="light"] .earth-nav-btn,
.light .earth-nav-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  color: #121016;
}

.earth-nav-btn:hover {
  background: rgba(251, 191, 36, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.earth-autoplay-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(251, 191, 36, 0.3);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-gold);
  cursor: pointer;
  transition: all 0.25s ease;
}

.earth-autoplay-btn:hover {
  background: rgba(251, 191, 36, 0.15);
}

/* Theater Stage Visual Frame */
.earth-theater-visual {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-lg, 1rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
}

.earth-theater-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Floating Info Pills on Stage Visual */
.earth-theater-badge-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  z-index: 10;
}

.earth-theater-badge-bottom {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: var(--accent-gold);
  color: #0d0a12;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
  z-index: 10;
}

/* ==========================================================================
   WHY CHOOSE MANGLA STONE GROUPS - 4 PILLARS SUITE
   ========================================================================== */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 1024px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
}

.why-pillar-card {
  position: relative;
  background: var(--bg-surface, rgba(24, 20, 32, 0.75));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl, 1.25rem);
  padding: 2.25rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

[data-theme="light"] .why-pillar-card,
.light .why-pillar-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(180, 140, 90, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.why-pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 25px rgba(251, 191, 36, 0.15);
}

.why-pillar-icon-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.08);
  border: 1.5px solid rgba(251, 191, 36, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.why-pillar-card:hover .why-pillar-icon-wrap {
  transform: scale(1.1);
  border-color: var(--accent-gold);
  background: rgba(251, 191, 36, 0.18);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.why-pillar-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.why-pillar-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

[data-theme="light"] .why-pillar-title,
.light .why-pillar-title {
  color: #121016;
}

.why-pillar-card:hover .why-pillar-title {
  color: var(--accent-gold);
}

.why-pillar-desc {
  font-size: 0.9rem;
  color: var(--text-secondary, #a1a1aa);
  line-height: 1.6;
  font-weight: 300;
}

[data-theme="light"] .why-pillar-desc,
.light .why-pillar-desc {
  color: #52525b;
}
/* Scroll Reveal Classes */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Initial hidden state for the cards and nodes */
.earth-node-btn, .earth-stage-card {
  opacity: 0.3;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s;
}

.earth-node-btn.active, .earth-stage-card.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   MODERN ALL-STONES GALLERY PAGE (stones.html)
   ========================================================================== */
.stones-page-body {
  background: #050408;
  color: #ffffff;
}

.stones-hero {
  position: relative;
  overflow: hidden;
  padding: 7.5rem 0 3.25rem;
  background:
    radial-gradient(circle at 18% 20%, rgba(251, 191, 36, 0.14), transparent 45%),
    radial-gradient(circle at 84% 75%, rgba(180, 131, 40, 0.12), transparent 50%),
    linear-gradient(180deg, #07060c 0%, #050408 100%);
  border-bottom: 1px solid rgba(251, 191, 36, 0.16);
}

.stones-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: saturate(0.8) contrast(1.1);
  pointer-events: none;
}

.stones-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-top: 2.25rem;
}

@media (min-width: 768px) {
  .stones-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
  }
}

.stones-stat-card {
  text-align: left;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.stones-stat-card:hover,
.stones-stat-card.active {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  background: rgba(251, 191, 36, 0.09);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), 0 0 20px rgba(251, 191, 36, 0.16);
}

.stones-stat-num {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
}

.stones-stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e2e8f0;
  margin-top: 0.45rem;
}

.stones-stat-sub {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 0.2rem;
}

.stones-marquee-wrap {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 0;
  background: #08070d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.stones-marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: stonesMarqueeScroll 36s linear infinite;
}

.stones-marquee-wrap:hover .stones-marquee-track {
  animation-play-state: paused;
}

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

.stones-marquee-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0.9rem 0.4rem 0.45rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.stones-marquee-chip img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(251, 191, 36, 0.5);
}

.stones-catalog-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(251, 191, 36, 0.06), transparent 40%),
    #08070d;
  padding: 2.5rem 0 5rem;
  min-height: 75vh;
}

.stones-toolbar-sticky {
  position: sticky;
  top: 72px;
  z-index: 40;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(14, 13, 20, 0.85);
  border: 1px solid rgba(251, 191, 36, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.stones-toolbar-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.stones-toolbar-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stones-toolbar-bottom .category-pills-bar {
  margin-bottom: 0;
  padding-bottom: 0;
}

.stones-controls-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.stones-sort-select {
  appearance: none;
  padding: 0.48rem 2rem 0.48rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition-fast);
}

.stones-sort-select:hover,
.stones-sort-select:focus {
  border-color: var(--accent-gold);
}

.stones-sort-select option {
  background: #0d0c14;
  color: #ffffff;
}

.stones-density-group {
  display: none;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1200px) {
  .stones-density-group {
    display: inline-flex;
  }
}

.stones-density-btn {
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.stones-density-btn.active {
  background: var(--accent-gold);
  color: #000000;
  font-weight: 700;
}

@media (min-width: 1200px) {
  .stone-cards-grid.stones-grid-3col {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stones-cta-banner {
  margin-top: 4rem;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 85% 50%, rgba(251, 191, 36, 0.14), transparent 55%),
    linear-gradient(135deg, rgba(20, 18, 28, 0.95), rgba(10, 9, 15, 0.98));
  border: 1px solid rgba(251, 191, 36, 0.32);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.stones-back-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 60;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(251, 191, 36, 0.5);
  background: rgba(10, 9, 15, 0.9);
  color: var(--accent-gold);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all var(--transition-fast);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.stones-back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.stones-back-top:hover {
  background: var(--accent-gold);
  color: #000000;
  transform: translateY(-3px);
}

/* ==========================================================================
   MODERN CONTACT PAGE ENHANCEMENTS (contact.html)
   ========================================================================== */
.contact-hero-modern {
  position: relative;
  overflow: hidden;
  padding: 7.5rem 0 3.5rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.14), transparent 45%),
    radial-gradient(circle at 82% 75%, rgba(180, 131, 40, 0.12), transparent 50%),
    linear-gradient(180deg, #07060c 0%, #050408 100%);
  border-bottom: 1px solid rgba(251, 191, 36, 0.16);
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.11;
  pointer-events: none;
}

.contact-trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 2rem;
}

.contact-trust-chip {
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e2e8f0;
}

.contact-action-row {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn-copy-num {
  margin-left: auto;
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy-num:hover,
.btn-copy-num.copied {
  border-color: var(--accent-gold);
  background: rgba(251, 191, 36, 0.15);
  color: var(--accent-gold);
}

.contact-topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.contact-topic-chip {
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.contact-topic-chip:hover,
.contact-topic-chip.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #000000;
  font-weight: 700;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 560px) {
  .contact-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form-select option {
  background: #0d0c14;
  color: #ffffff;
}

/* Compact Contact Section on Home Page (index.html) */
.contact-compact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

@media (min-width: 820px) {
  .contact-compact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-compact-card {
  padding: 1.2rem 1.35rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(15, 15, 20, 0.96), rgba(5, 5, 8, 0.98));
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-compact-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3), 0 0 20px rgba(251, 191, 36, 0.16);
}

.contact-compact-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.contact-compact-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-compact-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 860px) {
  .contact-compact-strip {
    grid-template-columns: 1.15fr 1fr;
  }
}

/* ==========================================================================
   GLOBAL RESPONSIVE REFINEMENTS (MOBILE & TABLET)
   ========================================================================== */
.section-title {
  overflow-wrap: break-word;
  word-break: normal;
}

.estimator-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.65rem;
}

@media (min-width: 560px) {
  .estimator-metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Hide Architectural Space Simulator on smaller screens so layout never breaks */
@media (max-width: 767px) {
  .lab-card {
    display: none !important;
  }

  .stones-toolbar-sticky {
    position: static;
    top: auto;
    padding: 0.9rem 1rem;
  }

  .stones-toolbar-top .search-input-wrapper,
  .stone-grid-header .search-input-wrapper {
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* Keep tablet simulator spacious between 768px and 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
  .lab-preview-canvas {
    min-height: 390px;
  }

  .lab-room-switcher-bar {
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section-wrapper {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  /* Compact minimal header on secondary pages (contact.html, stones.html) */
  .contact-minimal-header {
    padding: 0.7rem 0.9rem;
    gap: 0.5rem;
  }

  .contact-minimal-header .brand-tagline {
    display: none;
  }

  .contact-minimal-header .brand-name {
    font-size: 0.78rem !important;
    letter-spacing: 0.12em;
  }

  .contact-minimal-header .brand-avatar {
    width: 30px !important;
    height: 30px !important;
  }

  .contact-minimal-header .btn-back-atelier {
    padding: 0.42rem 0.75rem;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }

  .contact-minimal-header .btn-cta-sample {
    padding: 0.45rem 0.75rem !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.06em !important;
  }

  /* Hero 3D overlay mobile fit */
  .canvas-overlay-content {
    padding: 1rem;
  }

  .overlay-brand-logo {
    height: 28px;
  }

  .overlay-brand-title {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
  }

  .overlay-brand-sub {
    display: none;
  }

  .overlay-stage-title {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }

  .overlay-stage-sub {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .overlay-stage-note {
    padding-left: 0.75rem;
  }

  .note-text {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  /* Sliders, cards & contact boxes */
  .craft-slide-card {
    width: 240px;
    height: 170px;
  }

  .contact-pillar-card {
    padding: 1.5rem 1.25rem;
  }

  .stones-hero,
  .contact-hero-modern {
    padding: 5.75rem 0 2.5rem;
  }

  .site-footer {
    padding: 3rem 0 2rem 0;
  }
}
