/* ==========================================================================
   CSS DESIGN SYSTEM FOR LALITH'S CINEMATIC PORTFOLIO
   ========================================================================== */

:root {
  /* Color Palette - Premium Editorial Wine & Plum Theme */
  --bg-dark: #070709;
  --bg-card: rgba(20, 17, 19, 0.7);
  --bg-card-hover: rgba(30, 26, 29, 0.85);
  --border-color: rgba(255, 255, 255, 0.05);
  --border-color-glow: rgba(120, 89, 100, 0.4);
  
  /* Accent Colors */
  --gold: #785964;            /* Muted Plum */
  --gold-light: #BCABB0;      /* Dusty Lilac */
  --gold-dark: #5D3543;       /* Deep Blackberry / Wine */
  --purple: #5D3543;
  --cyan: #BCABB0;
  --white: #FFFCFC;           /* Snow White */
  --gray-light: #BCABB0;
  --gray-mid: #867b7e;
  --gray-dark: #141113;
  
  /* Fonts - Modern Geometric Poppins */
  --font-serif: 'Poppins', sans-serif;
  --font-sans: 'Poppins', sans-serif;
  --font-mono: 'DM Mono', monospace;
  
  /* Transitions - Apple decelerated smooth ease */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
}

/* ==========================================================================
   1. RESET & BASE ELEMENTS
   ========================================================================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--bg-dark);
}

body {
  background-color: var(--bg-dark);
  /* Faint, high-end repeated alignment grids layered over a rich scrolling dark-wine color gradient */
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.005) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.005) 1px, transparent 1px),
    linear-gradient(180deg, #070709 0%, #170d11 35%, #070709 70%, #1b0f14 100%);
  background-size: 100px 100px, 100px 100px, 100% 100%;
  background-attachment: fixed, fixed, fixed; /* Keep the gradient locked to screen to prevent scrolling into flat black! */
  color: var(--white);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar for Webkit browsers */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* Selection Highlight */
::selection {
  background: rgba(120, 89, 100, 0.25);
  color: var(--white);
}

/* ==========================================================================
   2. GLOBAL UTILITY STYLES
   ========================================================================== */

.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

/* Scroll Reveal Base Class */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Interactive Cursor Glow (GPU Composited for high 60FPS fluid movements) */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(120, 89, 100, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate3d(-100%, -100%, 0);
  will-change: transform;
  transition: width 0.3s ease, height 0.3s ease;
}

/* Ambient particles & mesh background styles */
#ambient-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1; /* Renders just behind content details but above base background grid */
}

.ambient-mesh {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0; /* Base ambient glow layer behind everything */
  overflow: hidden;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  will-change: transform;
  mix-blend-mode: screen;
}

.mesh-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(93, 53, 67, 0.15) 0%, transparent 80%);
  top: -10%; right: -10%;
  animation: drift-mesh-1 25s infinite alternate ease-in-out;
}

.mesh-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(120, 89, 100, 0.12) 0%, transparent 80%);
  bottom: 10%; left: -15%;
  animation: drift-mesh-2 30s infinite alternate ease-in-out;
  animation-delay: -5s;
}

.mesh-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(93, 53, 67, 0.1) 0%, transparent 80%);
  top: 50%; right: 20%;
  animation: drift-mesh-3 28s infinite alternate ease-in-out;
  animation-delay: -10s;
}

@keyframes drift-mesh-1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-60px, 80px, 0) scale(1.1); }
  100% { transform: translate3d(40px, -40px, 0) scale(0.9); }
}

@keyframes drift-mesh-2 {
  0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50% { transform: translate3d(80px, -60px, 0) scale(0.9) rotate(90deg); }
  100% { transform: translate3d(-40px, 40px, 0) scale(1.15) rotate(180deg); }
}

@keyframes drift-mesh-3 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-100px, -100px, 0) scale(1.1); }
  100% { transform: translate3d(60px, 60px, 0) scale(0.85); }
}
}

/* ==========================================================================
   HOVERING CINEMATOGRAPHY & VIDEO EDITING VECTOR SKETCHES
   ========================================================================== */

.hovering-sketches {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1; /* Renders just behind content details but above ambient layers */
  overflow: hidden;
}

.sketch-item {
  position: absolute;
  pointer-events: auto; /* Enable hover capabilities */
  cursor: pointer;
  color: var(--gold-light);
  opacity: 0.15; /* Reduced back to highly elegant, non-intrusive base opacity! */
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.sketch-svg {
  width: 110px;
  height: 110px;
  display: block;
}

/* Tooltip for the sketches on hover */
.sketch-tooltip {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, 10px);
  background: rgba(20, 17, 19, 0.95);
  border: 1px solid var(--border-color-glow);
  color: var(--white);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 20px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover States */
.sketch-item:hover {
  opacity: 0.75; /* Elegant hover opacity balance */
  color: var(--white);
  transform: scale(1.08) rotate(5deg);
  filter: drop-shadow(0 0 10px rgba(120, 89, 100, 0.6)); /* Glowing plum dropshadow hover */
}

.sketch-item:hover .sketch-tooltip {
  opacity: 1;
  transform: translate(-50%, 15px);
}

/* Hover Animations and Positioning */
.camera-item {
  top: 18%; left: 6%;
  animation: float-sketch-camera 20s infinite alternate ease-in-out;
}

.clapper-item {
  top: 140%; right: 6%;
  animation: float-sketch-clapper 24s infinite alternate ease-in-out;
  animation-delay: -3s;
}

.reel-item {
  top: 260%; left: 6%;
  animation: float-sketch-reel 22s infinite alternate ease-in-out;
  animation-delay: -6s;
}

.razor-item {
  top: 360%; right: 8%;
  animation: float-sketch-razor 18s infinite alternate ease-in-out;
  animation-delay: -9s;
}

@keyframes float-sketch-camera {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(4deg); }
  100% { transform: translateY(15px) rotate(-3deg); }
}

@keyframes float-sketch-clapper {
  0% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(18px) rotate(3deg); }
  100% { transform: translateY(-15px) rotate(-8deg); }
}

@keyframes float-sketch-reel {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(15deg); }
  100% { transform: translateY(20px) rotate(30deg); }
}

@keyframes float-sketch-razor {
  0% { transform: translateY(0) rotate(15deg); }
  50% { transform: translateY(15px) rotate(8deg); }
  100% { transform: translateY(-18px) rotate(22deg); }
}

/* Hide hovering sketches on small viewports to maintain ultra-clean content hierarchy */
@media (max-width: 1024px) {
  .hovering-sketches {
    display: none;
  }
}

/* ==========================================================================
   3. NAVIGATION HEADER
   ========================================================================== */

.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1100px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: rgba(20, 17, 19, 0.45); /* slightly transparent liquid glass */
  backdrop-filter: blur(28px) saturate(180%); /* rich blur + dynamic pass-through saturation */
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08); /* liquid glass inner reflection border */
  border-radius: 100px; /* dynamic floating notch capsule */
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.6), 
    inset 0 1px 0 rgba(255, 255, 255, 0.15), /* soft upper glow rim */
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  top: 12px;
  padding: 12px 32px;
  background: rgba(13, 11, 12, 0.65); /* darker blurred glass */
  border-color: var(--border-color-glow); /* soft glowing plum reflection edge */
  box-shadow: 
    0 15px 40px rgba(7, 7, 9, 0.8),
    0 0 20px rgba(120, 89, 100, 0.3), /* elegant ambient glow */
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
}

.logo-dot {
  color: var(--gold);
}

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

.nav-link-item {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  opacity: 0.7;
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link-item:hover {
  opacity: 1;
  color: var(--gold);
}

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

/* Mobile Toggle Hamburger */
.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  cursor: pointer;
  z-index: 1100;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  outline: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.menu-bar {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--white);
  margin: 0;
  transition: var(--transition-fast);
}

/* Mobile Nav Drawer (Upgraded Premium Glassmorphic Overlay) */
.mobile-nav {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  right: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  background: rgba(7, 7, 9, 0.75); /* transparent liquid dark */
  backdrop-filter: blur(35px) saturate(180%);
  -webkit-backdrop-filter: blur(35px) saturate(180%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

/* Floating background mesh inside menu */
.mobile-nav::before {
  content: '';
  position: absolute;
  top: -10%; left: -10%;
  width: 120%; height: 120%;
  background: 
    radial-gradient(circle at 30% 30%, rgba(93, 53, 67, 0.25) 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(120, 89, 100, 0.2) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.mobile-link {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition-fast);
  display: inline-block;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.3s ease;
}

/* Sequential slide-up animations when the mobile menu is opened! */
.mobile-nav.open .mobile-link {
  opacity: 0.9;
  transform: translateY(0);
}

.mobile-nav.open li:nth-child(1) .mobile-link { transition-delay: 0.1s; }
.mobile-nav.open li:nth-child(2) .mobile-link { transition-delay: 0.2s; }
.mobile-nav.open li:nth-child(3) .mobile-link { transition-delay: 0.3s; }
.mobile-nav.open li:nth-child(4) .mobile-link { transition-delay: 0.4s; }

.mobile-link:hover {
  opacity: 1 !important;
  color: var(--gold-light);
  transform: scale(1.05);
}

.mobile-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.mobile-link:hover::after {
  width: 50px;
}

.mobile-link:hover {
  color: var(--gold);
}

/* ==========================================================================
   4. HERO LANDING SECTION
   ========================================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 60px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 65% 55% at 75% 35%, rgba(157, 78, 221, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 45% 65% at 20% 75%, rgba(201, 168, 76, 0.05) 0%, transparent 60%);
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(201, 168, 76, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
  z-index: 0;
}

/* Soft floating blobs */
.neon-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
  animation: float-blob 20s infinite alternate;
}

.blob-purple {
  width: 350px;
  height: 350px;
  background: var(--purple);
  top: 15%; right: 10%;
}

.blob-gold {
  width: 400px;
  height: 400px;
  background: var(--gold);
  bottom: 10%; left: 5%;
  animation-delay: -5s;
}

@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -40px) scale(1.15); }
}

/* Hero Content Details */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 7.5vw, 6.8rem);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}

.hero-title em {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--gold);
  font-weight: 400;
}

.highlight-text {
  background: linear-gradient(135deg, var(--white) 30%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 36px;
}

.hero-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 36px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: var(--transition-fast);
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--gray-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(120, 89, 100, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.cta-arrow {
  transition: transform 0.3s ease;
}

.hero-cta:hover .cta-arrow {
  transform: translateX(4px);
}

/* Floating Hero Image Graphics */
.hero-images-container {
  position: absolute;
  top: 0; right: 0;
  bottom: 0; left: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-img {
  position: absolute;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  opacity: 0;
  animation: hero-img-entrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent; /* Completely transparent - no dimming! */
  z-index: 1;
}

.hero-img-1 {
  width: 250px;
  height: 350px;
  top: 14%; right: 14%;
  animation-delay: 0.4s;
}

.hero-img-2 {
  width: 170px;
  height: 220px;
  top: 55%; right: 4%;
  animation-delay: 0.6s;
}

.hero-img-3 {
  width: 150px;
  height: 190px;
  top: 25%; right: 38%;
  animation-delay: 0.8s;
}

@keyframes hero-img-entrance {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); } /* 100% full brightness on load */
}

/* Dynamic fallbacks for the Hero Graphic Frames */
.img-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.photo-glow {
  background: url('images/culturals.JPG') center/cover no-repeat; /* 100% native raw image display */
}

.video-glow {
  background: url('images/cinematic.jpg') center/cover no-repeat;
}

.edit-glow {
  background: url('images/editing.jpg') center/cover no-repeat;
}

.img-overlay-info {
  position: relative;
  z-index: 2;
  color: var(--white);
  opacity: 0.95;
  border-left: 2px solid var(--gold);
  padding-left: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9); /* strong shadow keeps text highly readable on bright photos */
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 80px; right: 60px;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  color: var(--gray-mid);
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition-fast);
  z-index: 2;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-line 2s infinite alternate;
}

@keyframes scroll-line {
  0% { transform: scaleY(0.7); transform-origin: top; }
  100% { transform: scaleY(1.3); transform-origin: top; }
}

.hero-scroll:hover {
  color: var(--gold);
}

/* ==========================================================================
   5. LOOPING TEXT MARQUEE
   ========================================================================== */

.marquee-section {
  background: var(--gold);
  padding: 24px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 10;
  position: relative;
}

.marquee-track {
  display: inline-block;
  animation: marquee-scroll 24s linear infinite;
}

.marquee-text {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 700;
  color: var(--bg-dark);
  padding: 0 40px;
  letter-spacing: 0.02em;
}

.marquee-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--bg-dark);
  border-radius: 50%;
  vertical-align: middle;
  opacity: 0.5;
}

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

/* ==========================================================================
   6. SERVICES CRAFT SECTION
   ========================================================================== */

section {
  padding: 140px 60px;
  position: relative;
  z-index: 2;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.services {
  background: transparent;
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  margin-bottom: 80px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 60px 40px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-8px);
  border-color: rgba(201, 168, 76, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
  opacity: 1;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 40px;
}

.service-icon-container {
  width: 52px;
  height: 52px;
  color: var(--gold);
  margin-bottom: 32px;
  opacity: 0.85;
  transition: transform 0.4s ease;
}

.service-card:hover .service-icon-container {
  transform: scale(1.1) rotate(5deg);
  color: var(--gold-light);
}

.service-name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.service-desc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--gray-light);
  line-height: 1.8;
  opacity: 0.75;
}

.service-tags {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--gray-light);
  text-transform: uppercase;
  border-radius: 20px;
  transition: var(--transition-fast);
}

.service-card:hover .tag {
  border-color: rgba(201, 168, 76, 0.2);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.03);
}

.tools-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tool-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 8px 16px;
  border: 1px solid var(--border-color-glow);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
  text-transform: uppercase;
  border-radius: 2px;
}

/* ==========================================================================
   7. INTERACTIVE PORTFOLIO FILTER GRID
   ========================================================================== */

.work {
  background: transparent;
}

.work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.work-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: var(--gray-mid);
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.03);
}

.work-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

/* Customized Masonry-style Layout */
.work-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background: var(--gray-dark);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s ease;
}

.work-item.hide {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  position: absolute;
  width: 0; height: 0;
  overflow: hidden;
  border: none;
  padding: 0; margin: 0;
}

.work-item:nth-child(1) { grid-column: span 4; }
.work-item:nth-child(2) { grid-column: span 4; }
.work-item:nth-child(3) { grid-column: span 4; }

/* Override spans when filtered to avoid awkward empty grid slots */
.work-grid.is-filtered .work-item {
  grid-column: span 4 !important;
}

.work-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  display: block;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-project-1 {
  background-image: 
    linear-gradient(to top, rgba(7, 7, 9, 0.85) 0%, rgba(7, 7, 9, 0.1) 60%, transparent 100%),
    url('images/culturals.JPG');
}
.photo-project-2 {
  background-image: 
    linear-gradient(to top, rgba(7, 7, 9, 0.85) 0%, rgba(7, 7, 9, 0.1) 60%, transparent 100%),
    url('images/IMG_8050.JPG');
}
.video-project-1 {
  background-image: 
    linear-gradient(to top, rgba(7, 7, 9, 0.85) 0%, rgba(7, 7, 9, 0.1) 60%, transparent 100%),
    url('https://img.youtube.com/vi/CHwH68uNbiI/maxresdefault.jpg'),
    url('https://img.youtube.com/vi/CHwH68uNbiI/hqdefault.jpg');
}
.edit-project-1 {
  background-image: 
    linear-gradient(to top, rgba(7, 7, 9, 0.85) 0%, rgba(7, 7, 9, 0.1) 60%, transparent 100%),
    url('https://drive.google.com/thumbnail?sz=w1000&id=16T4sUMf6GXGnuKIhlO3cYLp0jotLh2Xx');
}
.edit-project-3 {
  background-image: 
    linear-gradient(to top, rgba(7, 7, 9, 0.85) 0%, rgba(7, 7, 9, 0.1) 60%, transparent 100%),
    url('images/IMG_8190.JPG');
}
.edit-project-4 {
  background-image: 
    linear-gradient(to top, rgba(7, 7, 9, 0.85) 0%, rgba(7, 7, 9, 0.1) 60%, transparent 100%),
    url('images/IMG_8305.JPG');
}
.edit-project-5 {
  background-image: 
    linear-gradient(to top, rgba(7, 7, 9, 0.85) 0%, rgba(7, 7, 9, 0.1) 60%, transparent 100%),
    url('images/IMG_0044.JPG');
}
.edit-project-6 {
  background-image: 
    linear-gradient(to top, rgba(7, 7, 9, 0.85) 0%, rgba(7, 7, 9, 0.1) 60%, transparent 100%),
    url('images/IMG_7918.JPG');
}



/* Filter grids overrides aspect ratio to keep regular layout */
.work-grid.is-filtered .work-thumb {
  aspect-ratio: 16/10 !important;
}

.work-thumb-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

/* Play indicator button */
.play-indicator {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(7, 7, 9, 0.85);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.85);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s ease;
}

.work-item:hover .play-indicator {
  transform: scale(1);
  opacity: 1;
}

.work-item:hover .work-thumb {
  transform: scale(1.05);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 7, 9, 0.95) 0%, rgba(7, 7, 9, 0.3) 50%, transparent 100%);
  opacity: 0.85;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  transition: opacity 0.3s ease;
}

.work-item:hover .work-overlay {
  opacity: 1;
}

.work-cat {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.work-title-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  transition: color 0.3s ease;
}

.work-item:hover .work-title-text {
  color: var(--gold-light);
}

/* Glow Border effects on hover */
.hover-glow:hover {
  border-color: var(--border-color-glow);
  box-shadow: 0 10px 30px rgba(201, 168, 76, 0.15);
}

/* ==========================================================================
   8. DETAILED LIGHTBOX / DIALOG MODAL
   ========================================================================== */

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7, 7, 9, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: flex-start; /* Aligns content to top if it exceeds height */
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 100px 40px 40px; /* Leave space at top for fixed close button */
  overflow-y: auto; /* Enable scroll if height exceeds viewport */
  -webkit-overflow-scrolling: touch; /* Momentum scroll on iOS */
}

.lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: fixed; /* Floats fixed so it never scrolls out of viewport */
  top: 30px; right: 30px;
  font-size: 3rem;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 2100;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.lightbox-close:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: rotate(90deg);
}

.lightbox-content {
  max-width: 1000px;
  width: 100%;
  background: var(--gray-dark);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin: auto 0; /* Centers content vertically when it fits screen */
}

.lightbox-modal.open .lightbox-content {
  transform: scale(1);
}

.lightbox-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}

.lightbox-video-wrapper.has-gallery {
  aspect-ratio: auto !important;
  height: 520px !important;
}

@media (max-width: 768px) {
  .lightbox-video-wrapper.has-gallery {
    height: 380px !important;
  }
}

#lightbox-video {
  width: 100%;
  height: 100%;
  display: block;
}

/* UPGRADED IMAGE GALLERY LIGHTBOX SLIDESHOW */
.gallery-active-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#gallery-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease-in-out;
  will-change: opacity;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(20, 17, 19, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.gallery-nav-btn:hover {
  background: rgba(120, 89, 100, 0.85);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 15px rgba(120, 89, 100, 0.4);
}

.gallery-nav-btn.prev-btn {
  left: 20px;
}

.gallery-nav-btn.next-btn {
  right: 20px;
}

.gallery-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 17, 19, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 16px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  z-index: 10;
}

/* Ensure Google Drive & YouTube iframe embeds display beautifully */
#lightbox-media-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* INTERACTIVE MASONRY GALLERY GRID INSIDE LIGHTBOX */
.modal-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  grid-auto-rows: 100px;
  grid-auto-flow: dense;
  gap: 10px;
  padding: 16px;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: #000;
  -webkit-overflow-scrolling: touch;
}

.modal-gallery-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
}

.modal-gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-gallery-img-wrapper:hover {
  border-color: var(--gold);
  transform: scale(1.03) translate3d(0, -2px, 0);
  box-shadow: 0 10px 20px rgba(120, 89, 100, 0.25);
  z-index: 5;
}

.modal-gallery-img-wrapper:hover img {
  transform: scale(1.05);
}

/* Masonry "big small" grid variation ratios! */
.modal-gallery-img-wrapper:nth-child(5n+1) {
  grid-column: span 2;
  grid-row: span 2;
}

.modal-gallery-img-wrapper:nth-child(5n+3) {
  grid-column: span 1;
  grid-row: span 2;
}

.modal-gallery-img-wrapper:nth-child(7n+4) {
  grid-column: span 2;
  grid-row: span 1;
}

/* FULL-SCREEN FOCUS OVERLAY STYLES */
.gallery-enlarge-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 9, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in-overlay 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fade-in-overlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

#enlarge-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
  transition: opacity 0.2s ease-in-out;
  will-change: opacity;
}

.enlarge-close {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 3rem;
  color: var(--white);
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  transition: var(--transition-fast);
  z-index: 3100;
}

.enlarge-close:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: rotate(90deg);
}

.enlarge-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(20, 17, 19, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3100;
  transition: var(--transition-fast);
}

.enlarge-nav-btn:hover {
  background: rgba(120, 89, 100, 0.85);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 15px rgba(120, 89, 100, 0.4);
}

.enlarge-nav-btn.prev-btn {
  left: 30px;
}

.enlarge-nav-btn.next-btn {
  right: 30px;
}

.enlarge-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 17, 19, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 20px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  z-index: 3100;
}

@media (max-width: 768px) {
  .modal-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    grid-auto-rows: 70px;
    gap: 6px;
    padding: 10px;
  }
  .modal-gallery-img-wrapper:nth-child(5n+1) {
    grid-column: span 2;
    grid-row: span 2;
  }
  .enlarge-nav-btn {
    width: 40px;
    height: 40px;
  }
  .enlarge-nav-btn.prev-btn {
    left: 10px;
  }
  .enlarge-nav-btn.next-btn {
    right: 10px;
  }
  .enlarge-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }
}

.lightbox-details {
  padding: 40px;
  background: #0d0d11;
  border-top: 1px solid var(--border-color);
}

.lightbox-cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.lightbox-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}

.lightbox-desc {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.8;
  opacity: 0.85;
}

/* ==========================================================================
   9. BIOGRAPHY / ABOUT SECTION
   ========================================================================== */

.about {
  background: transparent;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  aspect-ratio: 3/4;
}

.about-photo-wrapper {
  width: 88%;
  height: 100%;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.about-photo {
  width: 100%;
  height: 100%;
  background: 
    url('images/about.jpeg') center/cover no-repeat,
    url('images/about.JPEG') center/cover no-repeat,
    url('images/about.jpg') center/cover no-repeat,
    url('images/about.JPG') center/cover no-repeat,
    linear-gradient(135deg, rgba(20, 20, 25, 0.9) 0%, rgba(7, 7, 9, 0.98) 100%);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.about-glow-blob {
  position: absolute;
  top: -20%; left: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.1) 0%, transparent 60%);
  filter: blur(20px);
}

.about-photo-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(201, 168, 76, 0.65);
  border-left: 2px solid var(--gold);
  padding-left: 10px;
  z-index: 2;
}

.about-badge {
  position: absolute;
  bottom: 8%; right: 0;
  padding: 24px 32px;
  text-align: center;
}

.about-badge-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.about-badge-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  display: block;
  margin-top: 8px;
  line-height: 1.4;
}

.about-content {
  padding-right: 20px;
}

.about-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.85;
  margin: 32px 0 48px;
}

.about-text strong {
  color: var(--gold-light);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-item {
  padding: 24px 20px;
  text-align: center;
  border-color: rgba(255, 255, 255, 0.04);
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--gray-mid);
  text-transform: uppercase;
  display: block;
}

/* ==========================================================================
   10. TESTIMONIAL SLIDER CAROUSEL
   ========================================================================== */

.testimonials {
  background: transparent;
}

.testimonials-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.testimonials-header {
  margin-bottom: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonials-header .section-label::before {
  display: none;
}

.carousel-container {
  position: relative;
  padding: 80px 60px;
  margin-top: 40px;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  min-height: 220px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.quote-icon {
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.15;
  position: absolute;
  top: -40px; left: -10px;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--white);
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.client-meta {
  border-left: 2px solid var(--gold);
  padding-left: 16px;
}

.client-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  display: block;
}

.client-role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
}

/* Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
}

.carousel-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.carousel-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
}

.carousel-indicators {
  display: flex;
  gap: 8px;
}

.indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition-fast);
}

.indicator.active {
  background: var(--gold);
  transform: scale(1.5);
}



/* ==========================================================================
   12. THE WORKFLOW STEPS
   ========================================================================== */

.process {
  background: transparent;
}

.process-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.process-header {
  margin-bottom: 80px;
}

.process-steps {
  display: flex;
  flex-direction: column;
}

.process-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  align-items: start;
}

.process-step:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.1);
  line-height: 0.9;
  transition: var(--transition-smooth);
}

.process-step:hover .step-num {
  color: var(--gold);
  transform: translateX(10px);
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.step-desc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--gray-light);
  line-height: 1.8;
  opacity: 0.85;
}

/* ==========================================================================
   13. FOOTER & CONTACT SECTION
   ========================================================================== */

.contact {
  background: rgba(20, 17, 19, 0.45); /* slightly transparent liquid glass background */
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08); /* liquid glass inner reflection border */
  border-radius: 16px; /* rounded elegant capsule corners */
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.6), 
    inset 0 1px 0 rgba(255, 255, 255, 0.15); /* specular top-light reflection highlight */
  margin: 0 auto 60px;
  max-width: 960px;
  width: 90%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.contact-left {
  background: rgba(93, 53, 67, 0.25); /* transparent wine overlay tint passes background details nicely */
  color: var(--white);
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-left .section-label {
  color: var(--gold-light);
}

.contact-left .section-label::before {
  background: var(--gold-light);
}

.contact-left .section-title {
  color: var(--white);
}

.contact-left .section-title em {
  color: var(--gold-light);
  opacity: 0.95;
}

.contact-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--gray-light);
  margin: 20px 0 30px;
  max-width: 460px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gray-light);
  text-decoration: none;
  transition: var(--transition-fast);
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  flex-shrink: 0;
  color: var(--gold-light);
}

.contact-detail:hover {
  transform: translateX(6px);
  color: var(--white);
}

/* Right Form panel */
.contact-right {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--gray-mid);
  text-transform: uppercase;
}

.form-input, .form-select, .form-textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--white);
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  outline: none;
  border-radius: 2px;
  width: 100%;
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.04);
}

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23785964' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
}

.form-select option {
  background-color: #0d0d11; /* Dark premium panel background */
  color: var(--white); /* Highly visible white text */
}

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

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

.submit-btn {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-fast);
  border-radius: 2px;
  align-self: flex-start;
  margin-top: 10px;
  box-shadow: 0 4px 12px rgba(120, 89, 100, 0.15);
  
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 260px;
}

.submit-btn:hover {
  background: var(--gold-light);
  color: var(--gray-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(120, 89, 100, 0.25);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn.loading .btn-text {
  opacity: 0;
}

.submit-btn .btn-loader {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: var(--white);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.submit-btn.loading .btn-loader {
  opacity: 1;
  animation: spin-loader 0.8s linear infinite;
}

@keyframes spin-loader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}

/* ==========================================================================
   14. FOOTER & TOAST ALERTS
   ========================================================================== */

.footer {
  background: transparent;
  padding: 50px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gray-mid);
  letter-spacing: 0.1em;
}

.footer-social {
  display: flex;
  gap: 24px;
}

.footer-social a {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gray-mid);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.footer-social a:hover {
  color: var(--gold);
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #0d0d11;
  border: 1px solid var(--gold);
  border-left: 4px solid var(--gold);
  color: var(--white);
  padding: 16px 28px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast.show {
  transform: translateX(0);
}

/* ==========================================================================
   15. RESPONSIVE DESIGN MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  section {
    padding: 100px 40px;
  }
  
  .hero {
    padding: 120px 40px 80px;
  }
  
  .hero-sub {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .hero-img-3 {
    display: none;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .about-visual {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
  }
  

}

@media (max-width: 768px) {
  .cursor-glow {
    display: none !important;
  }

  .navbar {
    padding: 14px 24px;
    width: 92%;
    top: 15px;
  }
  
  .navbar.scrolled {
    padding: 10px 20px;
    top: 10px;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  section {
    padding: 80px 24px;
  }
  
  .hero {
    padding: 120px 24px 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 30px;
  }
  
  .hero-content {
    order: 1;
  }
  
  .hero-title {
    font-size: clamp(2.4rem, 6.5vw, 4rem);
  }
  
  .hero-images-container {
    display: block;
    position: relative;
    order: 2;
    width: 100%;
    height: 320px;
    margin-top: 10px;
    margin-bottom: 20px;
  }
  
  .hero-img {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  }
  
  .hero-img-1 {
    width: 180px;
    height: 250px;
    top: 10px;
    left: 8%;
    right: auto;
    transform: rotate(-4deg) !important;
  }
  
  .hero-img-2 {
    width: 140px;
    height: 190px;
    top: 60px;
    right: 8%;
    left: auto;
    transform: rotate(6deg) !important;
  }
  
  .hero-scroll {
    display: none;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .work-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  
  .work-grid {
    grid-template-columns: 1fr;
  }
  
  .work-item {
    grid-column: span 12 !important;
  }
  
  .work-thumb {
    aspect-ratio: 16/10 !important;
  }
  
  .process-step {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .contact {
    grid-template-columns: 1fr;
    width: 95%;
    border-radius: 12px;
    margin-bottom: 40px;
  }
  
  .contact-left, .contact-right {
    padding: 36px 20px;
  }
  
  .contact-left {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* horizontal divider on mobile */
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer {
    flex-direction: column;
    gap: 20px;
    padding: 40px 24px;
    text-align: center;
  }
  
  .carousel-container {
    padding: 40px 20px;
  }
  
  .lightbox-modal {
    padding: 0;
    align-items: flex-start;
  }

  .lightbox-content {
    margin: 0;
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
    border: none;
    display: flex;
    flex-direction: column;
  }
  
  .lightbox-close {
    position: fixed;
    top: 16px; right: 16px;
    width: 40px; height: 40px;
    font-size: 2rem;
    line-height: 36px;
    background: rgba(13, 11, 12, 0.8) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    z-index: 2200;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .lightbox-details {
    padding: 32px 24px 48px;
    flex-grow: 1;
    background: #0d0d11;
  }
  
  .calc-panel {
    padding: 24px;
  }

  /* About Me Mobile Layout Polish to Prevent Text/Stat Clipping */
  .about-content {
    padding-right: 0;
  }
  
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  
  .stat-item {
    padding: 16px 6px;
  }
  
  .stat-num {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.55rem;
    letter-spacing: 0.05em;
  }

  .about-badge {
    padding: 12px 18px;
    bottom: 4%;
  }

  .about-badge-num {
    font-size: 1.8rem;
  }

  .about-badge-label {
    font-size: 0.52rem;
    margin-top: 2px;
  }
}

/* ==========================================================================
   16. SILKY SMOOTH MOMENTUM SCROLL & FILMSTRIP TIMELINE ANIMATIONS
   ========================================================================== */

body.has-smooth-scroll {
  overflow-x: hidden;
}

body.has-smooth-scroll #scroll-wrapper {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

body.has-smooth-scroll #scroll-container {
  position: absolute;
  width: 100%;
  top: 0; left: 0;
  will-change: transform;
  pointer-events: auto;
}

/* Filmstrip Timeline Element Floating on Left Side */
.scroll-timeline-wrapper {
  position: fixed;
  top: 0; bottom: 0;
  left: 30px;
  width: 24px;
  z-index: 999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1s ease;
}

body.has-smooth-scroll .scroll-timeline-wrapper {
  opacity: 1;
  visibility: visible;
}

.filmstrip-sprockets {
  position: absolute;
  top: 0; bottom: 0;
  width: 3px;
  background: repeating-linear-gradient(to bottom, var(--gold) 0px, var(--gold) 6px, transparent 6px, transparent 14px);
  opacity: 0.15;
}

.filmstrip-sprockets.left { left: 2px; }
.filmstrip-sprockets.right { right: 2px; }

.scroll-timeline-svg {
  height: 100%;
  width: 100%;
  opacity: 0.4;
}

.timeline-line-bg {
  stroke: rgba(188, 171, 176, 0.12);
  stroke-width: 1.5;
}

.timeline-line-active {
  stroke: var(--gold-light);
  stroke-width: 2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 3px var(--gold));
  transition: stroke-dashoffset 0.1s ease-out;
}

/* Moving Playhead ring representing camera timeline pointer */
.timeline-playhead {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: top, transform;
  transition: top 0.1s ease-out;
}

.playhead-glow {
  position: absolute;
  inset: -6px;
  background: radial-gradient(circle, rgba(120, 89, 100, 0.5) 0%, transparent 70%);
  border-radius: 50%;
}

.playhead-pulse {
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  animation: playhead-pulse 2s infinite ease-out;
}

@keyframes playhead-pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.playhead-icon {
  width: 11px;
  height: 11px;
  color: var(--white);
  transform: rotate(90deg);
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.9));
}

/* Dynamic Cinematic reveal-text heading masks */
.reveal-text {
  overflow: hidden;
  display: block;
  padding-bottom: 0.15em;
  margin-bottom: -0.15em;
}

.reveal-text .reveal-word {
  display: inline-block;
  transform: translate3d(0, 115%, 0) rotate(2deg);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-text.active .reveal-word {
  transform: translate3d(0, 0, 0) rotate(0deg);
  opacity: 1;
}

/* Staggered transition delay loops for word slide ups */
.reveal-text .reveal-word:nth-child(1) { transition-delay: 0.05s; }
.reveal-text .reveal-word:nth-child(2) { transition-delay: 0.10s; }
.reveal-text .reveal-word:nth-child(3) { transition-delay: 0.15s; }
.reveal-text .reveal-word:nth-child(4) { transition-delay: 0.20s; }
.reveal-text .reveal-word:nth-child(5) { transition-delay: 0.25s; }
.reveal-text .reveal-word:nth-child(6) { transition-delay: 0.30s; }
.reveal-text .reveal-word:nth-child(7) { transition-delay: 0.35s; }
.reveal-text .reveal-word:nth-child(8) { transition-delay: 0.40s; }
.reveal-text .reveal-word:nth-child(9) { transition-delay: 0.45s; }
.reveal-text .reveal-word:nth-child(10) { transition-delay: 0.50s; }

/* 3D Hardware Accelerated parallax modifiers */
.hero-img {
  will-change: transform;
}

/* Hide Timeline on small screens to prioritize clean content */
@media (max-width: 1024px) {
  .scroll-timeline-wrapper {
    display: none !important;
  }
}

