/* ==========================================================================
   ELITE MILLWORK & REFINISH (ELITE WOODWORX) - LUXURY ANTIGRAVITY STYLESHEET
   100% English • Mobile-First Responsive & Touch-Optimized
   Dynamic Hero Showcase & 13 Authentic Project Gallery
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Syne:wght@400;500;700&display=swap');

:root {
  /* Color Palette - Deep Dark Obsidian, Brushed Brass & Natural Woods */
  --bg-void: #07080a;
  --bg-void-trans: rgba(7, 8, 10, 0.85);
  --bg-surface: #0e1117;
  --bg-surface-glass: rgba(14, 17, 23, 0.78);
  --bg-surface-glass-heavy: rgba(11, 13, 18, 0.92);
  --bg-card: rgba(20, 24, 33, 0.6);
  --bg-card-hover: rgba(28, 33, 46, 0.85);

  /* Gold & Brass Accents */
  --brass-gold: #c5a059;
  --brass-gold-light: #f5e4b8;
  --brass-gold-bright: #d4af37;
  --brass-gold-dark: #8c6d2d;
  --brass-gold-glow: rgba(212, 175, 55, 0.25);
  --brass-gradient: linear-gradient(135deg, #fbf2d5 0%, #d4af37 40%, #aa7c11 80%, #e5c378 100%);
  --brass-gradient-subtle: linear-gradient(135deg, rgba(245, 228, 184, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);

  /* Woods & Materials */
  --wood-oak: #d4b996;
  --wood-walnut: #5c4033;
  --text-primary: #f8f9fa;
  --text-secondary: #a2a8b8;
  --text-muted: #646a78;

  /* Borders & Shadows */
  --border-glass: rgba(212, 175, 55, 0.22);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-floating: 0 30px 70px -15px rgba(0, 0, 0, 0.85), 0 0 45px -10px rgba(212, 175, 55, 0.12);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-brass-glow: 0 0 25px rgba(212, 175, 55, 0.35);

  /* Typography */
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-editorial: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Syne', sans-serif;

  /* Animation Timings */
  --ease-cinematic: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  user-select: none;
  touch-action: pan-y;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); }
::-webkit-scrollbar-thumb { background: var(--brass-gold-dark); border-radius: 4px; }

/* Antigravity Canvas & Spotlight Background */
#gravity-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

.ambient-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle 600px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 55, 0.045), transparent 80%),
              radial-gradient(ellipse 90% 80% at 50% 10%, rgba(20, 24, 35, 0.6), transparent 70%),
              radial-gradient(circle 800px at 50% 50%, rgba(10, 12, 16, 0.95), #060709 100%);
  transition: opacity 0.5s ease;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 3;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   FLOATING HEADER & BRAND NAVIGATION
   ========================================================================== */
.floating-header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  pointer-events: auto;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s var(--ease-cinematic);
}

.brand-link:hover {
  transform: translateY(-2px);
}

.brand-logo-img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 4px 14px rgba(212, 175, 55, 0.35));
  object-fit: contain;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #ffffff;
  line-height: 1.2;
}

.brand-name-title .gold-accent {
  background: var(--brass-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
}

.brand-name-sub {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* Desktop Navigation Pill Container */
.nav-pill-container {
  display: flex;
  align-items: center;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: 40px;
  padding: 6px 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.35s ease;
}

.nav-link-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link-btn.active {
  color: #07080a;
  background: var(--brass-gradient);
  font-weight: 600;
  box-shadow: 0 2px 14px var(--brass-gold-glow);
}

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

.header-quote-btn {
  background: var(--brass-gradient);
  color: #07080a;
  border: none;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 11px 24px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 18px var(--brass-gold-glow);
  transition: all 0.35s var(--ease-elastic);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-quote-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

/* ==========================================================================
   MOBILE FLOATING BOTTOM NAVIGATION DOCK
   ========================================================================== */
.mobile-bottom-dock {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  background: rgba(14, 17, 23, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-glass);
  border-radius: 40px;
  padding: 6px 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.15);
  width: calc(100% - 32px);
  max-width: 380px;
  justify-content: space-around;
  align-items: center;
}

.dock-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 48px;
  justify-content: center;
}

.dock-btn svg {
  width: 18px;
  height: 18px;
}

.dock-btn.active {
  color: #07080a;
  background: var(--brass-gradient);
  box-shadow: 0 4px 14px var(--brass-gold-glow);
}

.dock-btn.active svg {
  stroke: #07080a;
}

/* ==========================================================================
   SLIDE SYSTEM & DECK CONTAINER (4 SLIDES)
   ========================================================================== */
.slides-deck-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.slide-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 60px 80px;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 80px, -200px) scale(0.92);
  transition: opacity 0.9s var(--ease-cinematic),
              transform 1.1s var(--ease-cinematic),
              visibility 0.9s ease;
  pointer-events: none;
}

.slide-section.active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}

.slide-section.prev {
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, -80px, -200px) scale(0.92);
}

.floating-stage {
  width: 100%;
  max-width: 1440px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* ==========================================================================
   SLIDE 1: HERO - DYNAMIC FLOATING SHOWCASE
   ========================================================================== */
.hero-content-col {
  max-width: 620px;
  z-index: 20;
}

.pulsing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass-gold-bright);
  box-shadow: 0 0 10px var(--brass-gold-bright);
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

.hero-main-title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.5vw, 80px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 1px;
  margin-bottom: 22px;
  color: #ffffff;
}

.hero-main-title .gradient-text {
  background: var(--brass-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.hero-description-text {
  font-size: clamp(15px, 1.2vw, 17.5px);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-primary-btn {
  background: var(--brass-gradient);
  color: #07080a;
  border: none;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.35);
  transition: all 0.4s var(--ease-cinematic);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-height: 48px;
}

.cta-primary-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

/* Floating Hero Dynamic Showcase */
.hero-visual-col {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100%;
}

.floating-centerpiece-container {
  position: relative;
  width: min(530px, 92%);
  height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.hero-card-frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 35px 75px rgba(0, 0, 0, 0.95), 0 0 35px rgba(212, 175, 55, 0.18);
  animation: levitate-primary 7s infinite ease-in-out;
  transform-style: preserve-3d;
  background: var(--bg-surface-glass-heavy);
  cursor: pointer;
}

.hero-slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1), transform 1.6s cubic-bezier(0.19, 1, 0.22, 1);
  transform: scale(1.04);
}

.hero-slide-img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(14, 17, 23, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  color: var(--brass-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: all 0.3s ease;
  opacity: 0.85;
}

.hero-carousel-arrow:hover {
  background: var(--brass-gradient);
  color: #07080a;
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.hero-arrow-left {
  left: 14px;
}

.hero-arrow-right {
  right: 14px;
}

.hero-slideshow-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 15;
  background: rgba(7, 8, 10, 0.65);
  backdrop-filter: blur(10px);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-glass);
}

.hero-micro-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.4s ease;
}

.hero-micro-dot.active {
  width: 18px;
  border-radius: 6px;
  background: var(--brass-gradient);
  box-shadow: 0 0 8px var(--brass-gold-bright);
}

/* Floating Satellite Badges */
.floating-pill-badge {
  position: absolute;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 30px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
  transition: all 0.3s ease;
  z-index: 25;
}

.floating-pill-badge:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: var(--brass-gold);
  box-shadow: var(--shadow-brass-glow);
}

.pill-icon-brass {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brass-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #07080a;
  font-weight: 700;
  font-size: 11px;
}

.pill-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.pill-desc {
  font-size: 10px;
  color: var(--text-secondary);
}

.badge-top-right {
  top: 10%;
  right: -20px;
  animation: levitate-badge-1 6s infinite ease-in-out 0.5s;
}

.badge-bottom-left {
  bottom: 12%;
  left: -25px;
  animation: levitate-badge-2 8s infinite ease-in-out 1.2s;
}

/* Levitation Keyframes */
@keyframes levitate-primary {
  0%, 100% { transform: translateY(0px) rotate(0deg) rotateX(0deg); }
  33% { transform: translateY(-14px) rotate(1deg) rotateX(1.5deg); }
  66% { transform: translateY(10px) rotate(-0.7deg) rotateX(-1.5deg); }
}

@keyframes levitate-badge-1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-1.5deg); }
}

@keyframes levitate-badge-2 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(16px) rotate(2deg); }
}

/* ==========================================================================
   SLIDE 2: ABOUT - THE ATELIER & CRAFTSMANSHIP
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  width: 100%;
}

.about-brass-panel {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 44px 48px;
  box-shadow: var(--shadow-floating);
  position: relative;
  overflow: hidden;
}

.about-brass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brass-gradient);
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brass-gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
}

.about-story-text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-story-highlight {
  font-family: var(--font-editorial);
  font-size: 20px;
  font-style: italic;
  color: var(--brass-gold-light);
  line-height: 1.5;
  border-left: 2px solid var(--brass-gold);
  padding-left: 18px;
  margin: 24px 0 0;
}

/* Floating Satellites */
.about-satellites-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.satellite-card {
  background: var(--bg-surface-glass-heavy);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  transition: all 0.4s var(--ease-cinematic);
  position: relative;
}

.satellite-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--brass-gold);
  box-shadow: var(--shadow-brass-glow);
}

.satellite-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-cinematic);
}

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

.satellite-caption {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(14, 17, 23, 0.9);
}

.satellite-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.satellite-tag {
  font-size: 10px;
  color: var(--brass-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sat-card-1 { animation: levitate-badge-1 7s infinite ease-in-out; }
.sat-card-2 { animation: levitate-badge-2 8.5s infinite ease-in-out 1s; }

/* ==========================================================================
   SLIDE 3: PORTFOLIO - PURE PHOTO MOSAIC (13 REAL PROJECTS, ZERO TEXT)
   ========================================================================== */
.portfolio-mosaic-stage {
  width: 100%;
  max-width: 1380px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 140px;
  gap: 12px;
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  padding-right: 4px;
}

.mosaic-tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-surface-glass-heavy);
  border: 1px solid var(--border-glass);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  transition: all 0.5s var(--ease-cinematic);
}

.mosaic-tile::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.mosaic-tile:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: var(--brass-gold-bright);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 30px rgba(212, 175, 55, 0.3);
  z-index: 20;
}

.mosaic-tile:hover::after {
  opacity: 1;
}

.mosaic-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-cinematic), filter 0.4s ease;
}

.mosaic-tile:hover .mosaic-img {
  transform: scale(1.08);
}

/* Mosaic Spans */
.tile-span-2x2 {
  grid-column: span 2;
  grid-row: span 2;
}

.tile-span-1x1 {
  grid-column: span 1;
  grid-row: span 1;
}

/* Staggered Buoyancy */
.mosaic-float-1 { animation: levitate-badge-1 7.2s infinite ease-in-out; }
.mosaic-float-2 { animation: levitate-badge-2 8.6s infinite ease-in-out 0.4s; }
.mosaic-float-3 { animation: levitate-badge-1 6.8s infinite ease-in-out 0.9s; }
.mosaic-float-4 { animation: levitate-badge-2 9.1s infinite ease-in-out 1.3s; }
.mosaic-float-5 { animation: levitate-badge-1 7.7s infinite ease-in-out 1.7s; }

/* Pure Lightbox Viewer */
.lightbox-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 5, 7, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-cinematic);
  padding: 40px;
}

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

.lightbox-viewer-card {
  position: relative;
  max-width: 1200px;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.92);
  transition: transform 0.5s var(--ease-elastic);
}

.lightbox-modal-backdrop.open .lightbox-viewer-card {
  transform: scale(1);
}

.lightbox-main-img {
  max-width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid var(--border-glass);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.95), 0 0 45px rgba(212, 175, 55, 0.2);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  color: var(--brass-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 310;
}

.lightbox-nav-btn:hover {
  background: var(--brass-gradient);
  color: #07080a;
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-brass-glow);
}

.lightbox-prev-btn { left: -70px; }
.lightbox-next-btn { right: -70px; }

.lightbox-close-btn {
  position: absolute;
  top: 24px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 320;
  transition: all 0.3s ease;
}

.lightbox-close-btn:hover {
  background: var(--brass-gradient);
  color: #07080a;
  transform: rotate(90deg) scale(1.1);
}

/* ==========================================================================
   SLIDE 4: CONTACT & ATELIER - NEWARK ATELIER
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
  width: 100%;
}

.atelier-info-card {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-floating);
  position: relative;
  overflow: hidden;
}

.atelier-address-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.address-pin-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brass-gradient);
  color: #07080a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.address-text-primary {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.address-text-sub {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.contact-quick-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.contact-link-row {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 13.5px;
  transition: all 0.3s ease;
}

.contact-link-row:hover {
  color: var(--brass-gold-light);
  transform: translateX(4px);
}

.contact-icon-bubble {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass-gold);
}

.contact-form-panel {
  background: var(--bg-surface-glass-heavy);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 40px 44px;
  box-shadow: var(--shadow-floating);
  position: relative;
}

.contact-form-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--brass-gradient);
}

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

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 13px 16px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13.5px;
  transition: all 0.3s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--brass-gold);
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.form-textarea {
  resize: none;
  height: 90px;
}

.submit-commission-btn {
  width: 100%;
  background: var(--brass-gradient);
  color: #07080a;
  border: none;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 10px 25px var(--brass-gold-glow);
  transition: all 0.35s var(--ease-elastic);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
}

.submit-commission-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
}

.form-feedback-msg {
  display: none;
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  font-size: 12.5px;
  text-align: center;
}

.form-feedback-msg.success {
  display: block;
  background: rgba(20, 56, 40, 0.8);
  border: 1px solid #2ecc71;
  color: #a3e9b8;
}

/* ==========================================================================
   FLOATING PAGINATION & SLIDE CONTROLLER (4 SLIDES)
   ========================================================================== */
.floating-pagination {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.pagination-counter {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--brass-gold-light);
  letter-spacing: 2px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  margin-bottom: 8px;
}

.pag-dots-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.pag-dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.4s var(--ease-elastic);
  position: relative;
}

.pag-dot-btn:hover {
  background: var(--brass-gold-light);
  transform: scale(1.3);
}

.pag-dot-btn.active {
  height: 24px;
  border-radius: 12px;
  background: var(--brass-gradient);
  border-color: transparent;
  box-shadow: 0 0 12px var(--brass-gold-bright);
}

.pag-dot-btn .tooltip {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: var(--bg-surface-glass-heavy);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brass-gold-light);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.pag-dot-btn:hover .tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.floating-slide-nav-arrows {
  position: fixed;
  bottom: 30px;
  left: 40px;
  z-index: 100;
  display: flex;
  gap: 12px;
}

.slide-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  color: var(--brass-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slide-arrow-btn:hover:not(:disabled) {
  background: var(--brass-gradient);
  color: #07080a;
  transform: translateY(-2px) scale(1.08);
  box-shadow: var(--shadow-brass-glow);
}

.slide-arrow-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ==========================================================================
   FLOATING FOOTER
   ========================================================================== */
.floating-footer {
  position: fixed;
  bottom: 24px;
  right: 40px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 40px;
  padding: 8px 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.footer-atelier-address {
  font-size: 11.5px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social-link {
  color: var(--brass-gold-light);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.footer-divider {
  width: 1px;
  height: 14px;
  background: var(--border-subtle);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE ENGINE (MOBILE-FIRST OPTIMIZED)
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-main-title { font-size: 46px; }
  .floating-centerpiece-container { width: 440px; height: 400px; }
  .photo-mosaic-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 135px;
  }
  .tile-span-2x2 {
    grid-column: span 2;
    grid-row: span 2;
  }
  .about-grid, .contact-grid { gap: 30px; }
}

@media (max-width: 900px) {
  html, body {
    overflow-y: auto;
    touch-action: pan-y;
    scroll-behavior: smooth;
  }
  
  .slide-section {
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    min-height: auto;
    height: auto;
    padding: 85px 18px 100px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .slides-deck-wrapper {
    height: auto;
    perspective: none;
  }

  .floating-stage {
    flex-direction: column;
    height: auto;
    text-align: center;
    gap: 32px;
    display: flex !important;
  }

  /* Mobile Header */
  .floating-header {
    padding: 0 16px;
    top: 14px;
    background: rgba(7, 8, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-subtle);
  }

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

  .brand-name-title {
    font-size: 13px;
    letter-spacing: 2px;
  }

  .brand-name-sub {
    font-size: 7px;
  }

  .nav-pill-container {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .header-quote-btn span {
    display: inline-block;
    font-size: 11px;
  }

  .header-quote-btn {
    padding: 8px 14px;
  }

  /* Show Bottom Mobile Navigation Dock */
  .mobile-bottom-dock {
    display: flex;
  }

  /* Hero on Mobile - GUARANTEED VISIBILITY & FULL CAROUSEL */
  .hero-content-col {
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-main-title {
    font-size: 36px;
    margin-bottom: 16px;
  }

  .hero-description-text {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    justify-content: center;
    width: 100%;
  }

  .cta-primary-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-visual-col {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 15px;
    position: relative;
    z-index: 20;
  }

  .floating-centerpiece-container {
    width: 100% !important;
    max-width: 380px !important;
    height: 360px !important;
    min-height: 360px !important;
    margin: 0 auto !important;
    position: relative !important;
    display: block !important;
    perspective: none !important;
  }

  .hero-card-frame {
    width: 100% !important;
    height: 100% !important;
    min-height: 360px !important;
    position: relative !important;
    border-radius: 20px;
    overflow: hidden !important;
    display: block !important;
    transform: none !important;
    animation: none !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    background: #0e1117;
    border: 1px solid var(--border-glass);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.15);
  }

  .hero-slide-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
  }

  .hero-slide-img.active {
    opacity: 1 !important;
    z-index: 5 !important;
  }

  .hero-carousel-arrow {
    width: 36px;
    height: 36px;
    opacity: 1;
    background: rgba(14, 17, 23, 0.85);
    z-index: 25;
  }

  .hero-slideshow-dots {
    bottom: 12px;
    z-index: 25;
  }

  .badge-top-right {
    top: 6px;
    right: -6px;
    padding: 6px 12px;
    z-index: 30;
  }

  .badge-bottom-left {
    bottom: 6px;
    left: -6px;
    padding: 6px 12px;
    z-index: 30;
  }

  /* About on Mobile */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-brass-panel {
    padding: 28px 20px;
  }

  .about-story-text {
    font-size: 14px;
  }

  .about-story-highlight {
    font-size: 17px;
    padding-left: 12px;
    margin: 18px 0 0;
  }

  .about-satellites-container {
    gap: 16px;
  }

  .satellite-img {
    height: 180px;
  }

  /* Portfolio Photo Mosaic on Mobile */
  .portfolio-mosaic-stage {
    padding: 0;
  }

  .photo-mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    gap: 10px;
    max-height: none;
    overflow-y: visible;
  }

  .tile-span-2x2, .tile-span-1x1 {
    grid-column: span 1;
    grid-row: auto;
    height: 150px;
  }

  .tile-span-2x2:first-child {
    grid-column: span 2;
    height: 220px;
  }

  /* Contact on Mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .atelier-info-card, .contact-form-panel {
    padding: 26px 20px;
  }

  .form-grid-2col {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-textarea {
    height: 80px;
  }

  /* Hide Desktop Pagination */
  .floating-pagination, .floating-slide-nav-arrows {
    display: none;
  }

  .floating-footer {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 20px auto 70px;
    width: calc(100% - 32px);
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    text-align: center;
  }

  .footer-divider {
    display: none;
  }

  /* Lightbox on Mobile */
  .lightbox-modal-backdrop {
    padding: 16px;
  }

  .lightbox-main-img {
    max-height: 75vh;
    border-radius: 12px;
  }

  .lightbox-nav-btn {
    width: 44px;
    height: 44px;
  }

  .lightbox-prev-btn { left: 8px; }
  .lightbox-next-btn { right: 8px; }

  .lightbox-close-btn {
    top: 14px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}
