/* ═══════════════════════════════════════════════════════════════
   REVIBEZ Photography Kochi — Premium 3D DSLR-Themed Website
   Design System & Complete Styles
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS CUSTOM PROPERTIES (Design Tokens) ─── */
:root {
  /* Black Palette */
  --black-deep: #0A0A0A;
  --black-medium: #1A1A1A;
  --black-light: #2D2D2D;
  --black-soft: #3A3A3A;

  /* White Palette */
  --white: #FFFFFF;
  --white-off: #F5F5F5;
  --white-dim: #E0E0E0;
  --white-muted: #B0B0B0;

  /* Red Palette (Canon-inspired) */
  --red-primary: #C8102E;
  --red-bright: #E31837;
  --red-dark: #8B0000;
  --red-glow: rgba(200, 16, 46, 0.4);
  --red-subtle: rgba(200, 16, 46, 0.12);

  /* Chrome / Silver */
  --chrome: #C0C0C0;
  --chrome-dark: #808080;
  --chrome-light: #D4D4D4;

  /* Typography */
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Special Elite', 'Courier New', monospace;
  --font-mono: 'Courier New', Courier, monospace;

  /* Type Scale (1.25 ratio) */
  --text-xs: 0.64rem;
  --text-sm: 0.8rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.563rem;
  --text-2xl: 1.953rem;
  --text-3xl: 2.441rem;
  --text-4xl: 3.052rem;
  --text-5xl: 3.815rem;
  --text-hero: clamp(3.5rem, 8vw, 7rem);
  --text-hero-sub: clamp(1.5rem, 3vw, 3rem);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-section: clamp(4rem, 10vh, 8rem);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-smooth: cubic-bezier(0.45, 0, 0.55, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 700ms;
  --duration-glacial: 1200ms;

  /* Z-index scale */
  --z-base: 1;
  --z-above: 10;
  --z-nav: 100;
  --z-overlay: 500;
  --z-modal: 900;
  --z-preloader: 9999;

  /* 3D */
  --perspective: 1200px;
  --perspective-close: 800px;
}


/* ─── CSS RESET ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--white-off);
  background-color: var(--black-deep);
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

ul, ol { list-style: none; }


/* ─── FILM GRAIN OVERLAY (Global) ─── */
#film-grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: var(--z-overlay);
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}


/* ─── KEYFRAME ANIMATIONS ─── */
@keyframes lensRotateY {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

@keyframes lensFloat {
  0%, 100% { transform: translateY(0px) rotateX(2deg); }
  50% { transform: translateY(-15px) rotateX(-2deg); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.4; }
}

@keyframes shutterClose {
  0% { transform: rotate(var(--blade-start)) scale(1); }
  50% { transform: rotate(var(--blade-mid)) scale(1.3); }
  100% { transform: rotate(var(--blade-end)) scale(1); }
}

@keyframes shutterOpen {
  0% { opacity: 1; }
  100% { opacity: 0; transform: scale(2.5); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 10px var(--red-glow), 0 0 20px rgba(200,16,46,0.2); }
  50% { box-shadow: 0 0 20px var(--red-glow), 0 0 40px rgba(200,16,46,0.3); }
}

@keyframes recPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

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

@keyframes bokehFloat {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  15% { opacity: var(--bokeh-opacity); }
  85% { opacity: var(--bokeh-opacity); }
  100% { transform: translate(var(--bokeh-dx), var(--bokeh-dy)) scale(var(--bokeh-scale)); opacity: 0; }
}

@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blinkCursor {
  50% { border-color: transparent; }
}

@keyframes counterUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes reelSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes lightLeak {
  0% { opacity: 0; transform: translateX(-100%); }
  50% { opacity: 0.6; }
  100% { opacity: 0; transform: translateX(100%); }
}

@keyframes footerFilmScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-192px); }
}

@keyframes navFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lineExpand {
  from { width: 0; }
  to { width: 60px; }
}


/* ─── PRELOADER ─── */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--black-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-preloader);
  transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

#preloader.opening {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
  transition-delay: 0.15s;
}

#preloader.loaded {
  display: none !important;
}

/* Fullscreen Shutter SVG Layout */
.fullscreen-shutter-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vmax;
  height: 100vmax;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}

.blade-wrap {
  transform-origin: 500px 500px;
  transform: rotate(var(--r));
}

.blade-wrap use {
  transform-origin: 500px -100px; /* Pivots around outer top corner! */
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.45, 1);
  transform: rotate(50deg); /* Starts open showing the sensor glow */
}

/* Closing state: Shutter spirals closed to block the sensor */
#preloader.closing .blade-wrap use {
  transform: rotate(0deg);
}

/* Opening state: Shutter spirals wide open to reveal the site */
#preloader.opening .blade-wrap use {
  transform: rotate(75deg);
}

/* Center Sensor Core Underneath Shutter (Layered on top of blades) */
.preloader-sensor-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4; /* Positioned directly on top of the shutter blades and glass reflection */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  pointer-events: none;
  opacity: 0; /* Hidden by default when shutter starts open */
  transition: opacity var(--duration-normal) ease-in-out;
}

/* Fade in the brand logo exactly when the shutter closes */
#preloader.closing .preloader-sensor-core {
  opacity: 1;
  transition-delay: 0.5s;
}

/* Fade out the brand logo quickly when the shutter opens */
#preloader.opening .preloader-sensor-core {
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
}

.preloader-sensor-r {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--red-bright);
  line-height: 1;
  text-shadow: 0 0 30px var(--red-glow), 0 0 10px rgba(255,255,255,0.2);
  animation: glowPulse 2s ease-in-out infinite;
}

.preloader-sensor-brand {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--white);
  letter-spacing: 0.35em;
  text-indent: 0.35em;
  line-height: 1;
  opacity: 0.8;
}

/* Faint lens glass reflection/shimmer overlay */
.preloader-lens-reflection {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.06) 0%, transparent 40%),
              radial-gradient(circle at 65% 70%, rgba(255,255,255,0.03) 0%, transparent 35%);
  pointer-events: none;
  z-index: 3;
}

/* Camera Lens Flash Effect */
.lens-flash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--white);
  opacity: 0;
  pointer-events: none;
  z-index: 999999;
}

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 20px var(--red-glow); }
  50% { text-shadow: 0 0 40px var(--red-glow), 0 0 15px rgba(255, 30, 39, 0.4); }
}


/* ─── NAVIGATION ─── */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-nav);
  padding: var(--space-md) var(--space-xl);
  background: rgba(10, 10, 10, 0.0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background var(--duration-normal) ease,
              backdrop-filter var(--duration-normal) ease,
              border-color var(--duration-normal) ease;
  animation: navFadeIn 0.8s var(--ease-out-expo) 1.8s both;
}

#main-nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  transition: opacity var(--duration-fast);
}

.nav-brand:hover { opacity: 0.8; }

.brand-icon svg {
  display: block;
}

.brand-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  letter-spacing: 0.25em;
  text-indent: 0.25em;
  color: var(--white);
}

/* Mode Dial */
.nav-mode-dial {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: var(--space-xs) var(--space-md);
}

.mode-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--space-xs) var(--space-sm);
  border-radius: 4px;
  transition: background var(--duration-fast), color var(--duration-fast);
  position: relative;
}

.mode-item:hover {
  background: rgba(255,255,255,0.06);
}

.mode-letter {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--chrome-dark);
  transition: color var(--duration-fast);
}

.mode-label {
  font-size: var(--text-xs);
  color: var(--chrome-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color var(--duration-fast);
}

.mode-led {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: transparent;
  transition: background var(--duration-fast), box-shadow var(--duration-fast);
}

.mode-item.active .mode-letter {
  color: var(--red-primary);
}

.mode-item.active .mode-label {
  color: var(--white-dim);
}

.mode-item.active .mode-led {
  background: var(--red-primary);
  box-shadow: 0 0 6px var(--red-glow);
}

.mode-separator {
  color: rgba(255,255,255,0.1);
  font-size: var(--text-sm);
  user-select: none;
}

/* Nav Status */
.nav-status {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.status-item {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--chrome-dark);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-sm);
  background: none;
  border: none;
}

.toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform var(--duration-normal) var(--ease-out-expo),
              opacity var(--duration-fast);
}

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

/* Mobile Menu */
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-xl);
  background: rgba(10,10,10,0.98);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.nav-mobile-menu.open {
  display: flex;
}

.mobile-link {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  letter-spacing: 0.15em;
  text-indent: 0.15em;
  color: var(--white-dim);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color var(--duration-fast), padding-left var(--duration-normal) var(--ease-out-expo);
}

.mobile-link:hover {
  color: var(--red-primary);
  padding-left: var(--space-md);
}


/* ─── SECTION COMMON ─── */
.section {
  position: relative;
  overflow: hidden;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  color: var(--red-primary);
  margin-bottom: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  border: 1px solid var(--red-subtle);
  border-radius: 2px;
  background: var(--red-subtle);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  letter-spacing: 0.05em;
  text-indent: 0.05em;
  line-height: 1.1;
  margin-bottom: var(--space-2xl);
}


/* ─── SCROLL REVEAL ─── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo);
}

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


/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.section-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: clamp(120px, 15vh, 180px);
  background: radial-gradient(ellipse at 50% 40%, rgba(30,10,15,1) 0%, var(--black-deep) 70%);
  position: relative;
  overflow: hidden;
}

/* Bokeh Particles */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: var(--z-base);
}

.bokeh {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,16,46,0.4) 0%, transparent 70%);
  animation: bokehFloat var(--bokeh-duration) var(--ease-in-out-smooth) infinite;
  will-change: transform, opacity;
}

.bokeh.white {
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
}

/* Hero Content */
.hero-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 6vw, 100px);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  z-index: var(--z-above);
  padding: var(--space-xl);
}

/* 3D Lens Stage */
.lens-stage {
  perspective: var(--perspective);
  perspective-origin: 50% 50%;
}

.lens-3d-wrapper {
  width: clamp(240px, 40vw, 420px);
  height: clamp(240px, 40vw, 420px);
  transform-style: preserve-3d;
  position: relative;
}

/* ═══════════════════════════════════════════════════════════════
   DSLR FRONT-FACING LENS
   ═══════════════════════════════════════════════════════════════ */
.dslr-lens {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 50%;
  box-shadow: 0 45px 110px rgba(0,0,0,0.95);
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform: translateZ(0); /* Force GPU rasterization */
  will-change: transform;
}

.lens-barrel-outer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: clamp(8px, 1.5vw, 15px) solid #1e1e1e;
  box-sizing: border-box;
  background: radial-gradient(circle, transparent 65%, #050505 100%);
  box-shadow: 
    inset 0 0 25px rgba(0,0,0,1),
    inset 0 0 0 1.5px #3a3a3a, /* Outer metal bezel glow */
    inset 0 0 0 3px #111,
    0 15px 35px rgba(0,0,0,0.85);
  z-index: 10;
  pointer-events: none;
}

/* Thread Ring containing curved SVG text */
.lens-thread-ring {
  position: absolute;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  border: 3px solid #141414;
  background: radial-gradient(circle, transparent 75%, #0a0a0a 100%);
  box-shadow: 
    inset 0 0 15px rgba(0,0,0,0.9),
    0 0 0 1px #2d2d2d; /* Fine chrome border edge */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9;
}

.lens-text-svg {
  width: 100%;
  height: 100%;
  pointer-events: none;
  will-change: transform;
}

/* Red L-Series Accent Line */
.lens-red-line {
  position: absolute;
  width: 82%;
  height: 82%;
  border-radius: 50%;
  border: 3px solid var(--red-primary);
  box-shadow: 
    0 0 12px rgba(200, 16, 46, 0.5),
    inset 0 0 4px rgba(0,0,0,0.8);
  z-index: 8;
  pointer-events: none;
}

/* Focus and Zoom Rings */
.lens-ring {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.focus-ring {
  width: 54%;
  height: 54%;
  background: #0f0f0f;
  border: 6px solid #1a1a1a;
  box-shadow: 
    0 0 0 1px #282828, /* Concentric metal edge separator */
    inset 0 0 10px rgba(0,0,0,0.8);
  z-index: 7;
}

.focus-scales {
  width: 100%;
  height: 100%;
  position: relative;
  font-family: var(--font-mono);
  font-size: clamp(6px, 0.8vw, 9px);
  color: #555;
  font-weight: 700;
}

.focus-scales span {
  position: absolute;
  top: 10px;
  left: 50%;
  transform-origin: 0 calc(clamp(280px, 40vw, 420px) * 0.54 / 2 - 10px);
  transform: translateX(-50%);
}

/* Distribute scales around focus ring */
.focus-scales span:nth-child(1) { transform: translateX(-50%) rotate(0deg); }
.focus-scales span:nth-child(2) { transform: translateX(-50%) rotate(45deg); }
.focus-scales span:nth-child(3) { transform: translateX(-50%) rotate(90deg); }
.focus-scales span:nth-child(4) { transform: translateX(-50%) rotate(135deg); }
.focus-scales span:nth-child(5) { transform: translateX(-50%) rotate(180deg); }
.focus-scales span:nth-child(6) { transform: translateX(-50%) rotate(225deg); }
.focus-scales span:nth-child(7) { transform: translateX(-50%) rotate(270deg); }
.focus-scales span:nth-child(8) { transform: translateX(-50%) rotate(315deg); }

.zoom-ring {
  width: 78%;
  height: 78%;
  background: #0a0a0a;
  box-shadow: 
    0 0 0 1.5px #252525, /* Separator edge */
    inset 0 0 25px rgba(0,0,0,1);
  z-index: 6;
  overflow: hidden;
}

.zoom-ring .ribs {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: repeating-conic-gradient(
    #111 0deg 1.5deg,
    #252525 1.5deg 3deg
  );
  opacity: 0.9;
}

/* Inner metal steps */
.lens-barrel-inner-1 {
  position: absolute;
  width: 46%;
  height: 46%;
  border-radius: 50%;
  background: #080808;
  box-shadow: 
    0 0 0 1px #333, /* Polished inner barrel step edge */
    inset 0 0 20px rgba(0,0,0,1);
  border: 4px solid #151515;
  z-index: 5;
}

.lens-barrel-inner-2 {
  position: absolute;
  width: 38%;
  height: 38%;
  border-radius: 50%;
  background: #030303;
  box-shadow: 
    0 0 0 1px #2c2c2c, /* Deep interior step edge */
    inset 0 0 30px rgba(0,0,0,1);
  border: 5px solid #0f0f0f;
  z-index: 4;
}

/* Aperture Diaphragm Stage */
.lens-aperture-stage {
  position: absolute;
  width: 32%;
  height: 32%;
  border-radius: 50%;
  background: #010101;
  z-index: 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aperture-blades-svg {
  width: 95%;
  height: 95%;
  will-change: transform;
}

.aperture-blades-svg .blade {
  fill: #141414;
  stroke: #080808;
  stroke-width: 0.5;
  transform-origin: 50px 50px;
  will-change: transform;
}

/* Glass element reflections overlaying the inner optics */
.lens-glass-group {
  position: absolute;
  width: 30%;
  height: 30%;
  border-radius: 50%;
  z-index: 12;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: transform;
}

.lens-glass-reflection {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  will-change: transform;
}

.coating-magenta {
  background: radial-gradient(circle at 35% 35%, rgba(180, 20, 150, 0.3) 0%, transparent 60%);
}

.coating-cyan {
  background: radial-gradient(circle at 65% 65%, rgba(0, 120, 200, 0.28) 0%, transparent 55%);
}

.coating-amber {
  background: radial-gradient(circle at 50% 30%, rgba(230, 130, 0, 0.2) 0%, transparent 50%);
}

.glass-specular {
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.08) 12%, transparent 35%);
}

/* Lens Flare */
.lens-flare {
  position: absolute;
  top: 20%;
  left: 15%;
  width: 70%;
  height: 60%;
  background: radial-gradient(ellipse at 30% 30%,
    rgba(200,160,255,0.08) 0%,
    transparent 50%);
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Hero Text */
.hero-text {
  text-align: left;
  max-width: 550px;
  z-index: var(--z-above);
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xs);
}

.title-line {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.3em;
  line-height: 1;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) forwards;
}

.title-line-1 {
  font-size: var(--text-hero);
  text-indent: 0.3em;
  color: var(--white);
  animation-delay: 1.2s;
}

.title-line-2 {
  font-size: var(--text-hero-sub);
  color: var(--chrome-dark);
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  margin-left: 40px;
  animation-delay: 1.5s;
}

/* Divider */
.hero-divider {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  margin-left: 40px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out-expo) 1.7s forwards;
}

.divider-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
}

.hero-location {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  letter-spacing: 1em;
  text-indent: 1em;
  color: var(--red-primary);
  margin-left: 40px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out-expo) 1.9s forwards;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  color: var(--chrome-dark);
  margin-top: var(--space-md);
  margin-left: 40px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out-expo) 2.1s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  margin-left: 40px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out-expo) 2.3s forwards;
}

.hero-btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 4px;
  transition: all var(--duration-normal) var(--ease-out-expo);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--red-primary);
  color: var(--white);
  border: 1px solid var(--red-primary);
  box-shadow: 0 0 15px var(--red-glow);
}

.btn-primary:hover {
  background: transparent;
  color: var(--red-primary);
  box-shadow: 0 0 25px var(--red-glow);
}

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

.btn-secondary:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--white);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out-expo) 2.5s forwards;
}

.scroll-text {
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  color: var(--chrome-dark);
}

.scroll-track {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.scroll-thumb {
  width: 100%;
  height: 20px;
  background: var(--red-primary);
  animation: scrollBounce 2s var(--ease-in-out-smooth) infinite;
}


/* ═══════════════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════════════ */
.section-about {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-section) var(--space-xl);
  position: relative;
  background: var(--black-deep);
}

/* Camera LCD Viewfinder Monitor */
.about-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  margin-bottom: var(--space-4xl);
}

.about-monitor-wrapper {
  width: 100%;
}

.camera-monitor {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10; /* Clean, cinematic landscape ratio */
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  border: 3px solid #1a1a1a;
  background: var(--black-deep);
}

.monitor-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.85) contrast(1.05);
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.camera-monitor:hover .monitor-image {
  transform: scale(1.08); /* Focus zoom effect */
}

.monitor-overlay-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-above);
  pointer-events: none;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: var(--z-above);
}

/* About Story */
.about-story {
  padding-left: var(--space-md);
}

.about-text {
  margin: var(--space-xl) 0;
}

.about-text p {
  margin-bottom: var(--space-lg);
  color: var(--white-muted);
  font-size: var(--text-md);
  line-height: 1.8;
  font-weight: 300;
}

.about-text strong {
  color: var(--white);
  font-weight: 600;
}

.about-signature {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.signature-name {
  font-family: var(--font-accent);
  font-size: var(--text-lg);
  color: var(--white-dim);
}

.signature-role {
  font-size: var(--text-sm);
  color: var(--chrome-dark);
  letter-spacing: 0.15em;
}

/* Stats Grid */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.stat-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: var(--space-xl);
  text-align: center;
  transition: border-color var(--duration-normal), background var(--duration-normal), transform var(--duration-normal) var(--ease-out-expo);
}

.stat-card:hover {
  border-color: var(--red-subtle);
  background: rgba(200,16,46,0.03);
  transform: translateY(-4px);
}

.stat-dial {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: var(--space-sm);
}

.stat-readout-label {
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  color: var(--chrome-dark);
  text-transform: uppercase;
}

.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  color: var(--white);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--red-primary);
}

.stat-desc {
  font-size: var(--text-sm);
  color: var(--chrome-dark);
  letter-spacing: 0.05em;
}


/* ═══════════════════════════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════════════════════════ */
.section-services {
  padding: var(--space-section) var(--space-xl);
  background: linear-gradient(180deg, var(--black-deep) 0%, var(--black-medium) 50%, var(--black-deep) 100%);
}

.services-container {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
  perspective: var(--perspective);
}

/* Service Card */
.service-card {
  position: relative;
  border-radius: 12px;
  overflow: visible;
  transform-style: preserve-3d;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.service-card:hover {
  transform: translateY(-12px) rotateX(4deg);
  z-index: 10;
}

.card-3d-inner {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: var(--space-2xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  height: 100%;
  transition: border-color var(--duration-normal), box-shadow var(--duration-normal);
  position: relative;
  overflow: hidden;
}

.service-card:hover .card-3d-inner {
  border-color: rgba(200,16,46,0.3);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.5),
    0 0 40px rgba(200,16,46,0.08),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Chrome edge accent on hover */
.card-3d-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

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

.card-icon-wrap {
  width: 100px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-svg {
  width: 100%;
  height: 100%;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.service-card:hover .service-svg {
  transform: scale(1.08);
}

.card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  letter-spacing: 0.1em;
  color: var(--white);
}

.card-desc {
  font-size: var(--text-sm);
  color: var(--white-muted);
  line-height: 1.7;
  font-weight: 300;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--red-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: auto;
  padding-top: var(--space-lg);
  transition: gap var(--duration-normal) var(--ease-out-expo);
}

.card-cta:hover {
  gap: var(--space-md);
}

.cta-arrow {
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

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


/* ═══════════════════════════════════════════════════════════════
   GALLERY SECTION
   ═══════════════════════════════════════════════════════════════ */
.section-gallery {
  padding: var(--space-section) 0;
  background: var(--black-deep);
  position: relative;
  overflow-x: hidden;
}

.gallery-header {
  text-align: center;
  padding: 0 var(--space-xl);
  margin-bottom: var(--space-3xl);
}

/* Film Reel */
.film-reel-wrap {
  position: absolute;
  top: 60px;
  right: -60px;
  width: 200px;
  height: 200px;
  opacity: 0.12;
  z-index: var(--z-base);
}

.film-reel-svg {
  width: 100%;
  height: 100%;
  animation: reelSpin 30s linear infinite;
}

/* Film Strip Container */
.film-strip-container {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: var(--space-xl) 0;
}

.film-strip-container::-webkit-scrollbar {
  display: none;
}

.film-strip-container:active {
  cursor: grabbing;
}

.film-strip {
  display: flex;
  gap: 0;
  padding: 0 var(--space-xl);
  width: max-content;
}

/* Individual Film Frame */
.film-frame {
  flex-shrink: 0;
  width: 340px;
  background: var(--black-medium);
  border-left: 1px solid #333;
  border-right: 1px solid #333;
  position: relative;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.film-frame:hover {
  transform: scale(1.02);
  z-index: 5;
}

/* Sprocket Holes */
.sprocket-holes {
  display: flex;
  justify-content: space-around;
  padding: 6px 20px;
  background: var(--black-medium);
}

.sprocket {
  width: 16px;
  height: 10px;
  background: var(--black-deep);
  border-radius: 2px;
  border: 1px solid #333;
}

/* Frame Window (photo area) */
.frame-window {
  position: relative;
  width: 300px;
  height: 200px;
  margin: 0 auto;
  overflow: hidden;
  background: #111;
}

.frame-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
  transition: filter var(--duration-normal), transform var(--duration-slow) var(--ease-out-expo);
}

.film-frame:hover .frame-image {
  filter: contrast(1.1) saturate(1.1);
  transform: scale(1.05);
}

/* Light Leak Effect */
.light-leak {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, 
    transparent 20%, 
    rgba(255,150,50,0.3) 45%, 
    rgba(255,80,30,0.2) 55%, 
    transparent 80%);
  opacity: 0;
  transition: opacity var(--duration-normal);
  pointer-events: none;
  mix-blend-mode: screen;
}

.film-frame:hover .light-leak {
  opacity: 1;
  animation: lightLeak 1.5s ease forwards;
}

/* Frame Edge Text */
.frame-edge-text {
  display: flex;
  justify-content: space-between;
  padding: 4px 20px 6px;
  font-family: var(--font-accent);
  font-size: 9px;
  color: #555;
  letter-spacing: 0.1em;
}

.edge-brand { color: var(--red-dark); }

/* Gallery Scroll Hint */
.gallery-scroll-hint {
  text-align: center;
  margin-top: var(--space-xl);
  font-size: var(--text-sm);
  color: var(--chrome-dark);
  letter-spacing: 0.15em;
}


/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS SECTION
   ═══════════════════════════════════════════════════════════════ */
.section-testimonials {
  padding: var(--space-section) var(--space-xl);
  background: radial-gradient(ellipse at 50% 50%, rgba(20,15,15,1) 0%, var(--black-deep) 80%);
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.polaroid-scatter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
  perspective: var(--perspective);
}

/* Polaroid Card */
.polaroid {
  background: var(--white);
  padding: 12px 12px 0 12px;
  border-radius: 2px;
  transform: rotate(var(--rotation, 0deg));
  transition: transform var(--duration-slow) var(--ease-out-expo),
              box-shadow var(--duration-slow) var(--ease-out-expo);
  box-shadow:
    0 4px 12px rgba(0,0,0,0.4),
    0 2px 4px rgba(0,0,0,0.3),
    0 0 1px rgba(0,0,0,0.2);
  animation-delay: var(--delay, 0s);
}

.polaroid:hover {
  transform: rotate(0deg) translateY(-12px) scale(1.04);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.6),
    0 8px 16px rgba(0,0,0,0.4),
    0 0 1px rgba(0,0,0,0.2);
  z-index: 10;
}

.polaroid-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 1px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.polaroid-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.5);
  pointer-events: none;
}

.polaroid-caption {
  padding: 16px 8px 20px;
  text-align: left;
}

.polaroid-quote {
  font-family: var(--font-accent);
  font-size: 13px;
  line-height: 1.6;
  color: var(--black-light);
  margin-bottom: 10px;
}

.polaroid-name {
  display: block;
  font-family: var(--font-accent);
  font-size: 12px;
  color: var(--black-soft);
  font-weight: 700;
}

.polaroid-event {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--chrome-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}


/* ═══════════════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════════════ */
.section-contact {
  padding: var(--space-section) var(--space-xl);
  background: var(--black-deep);
}

.contact-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

/* LCD Screen */
.lcd-screen {
  background: linear-gradient(180deg, #0F1114 0%, #0A0B0D 100%);
  border: 2px solid #2A2A2A;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 4px #1A1A1A,
    0 0 0 6px #333,
    0 20px 60px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

/* LCD Status Bar */
.lcd-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.lcd-status-left,
.lcd-status-center,
.lcd-status-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lcd-icon {
  color: var(--chrome-dark);
}

.lcd-mode {
  color: var(--red-primary);
  font-weight: 700;
}

.lcd-af { color: #4CAF50; }

/* LCD Mode Header */
.lcd-mode-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.015);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lcd-mode-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--white-dim);
  letter-spacing: 0.15em;
}

.lcd-mode-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: #4CAF50;
  letter-spacing: 0.1em;
}

.lcd-status-dot {
  width: 6px;
  height: 6px;
  background-color: #4CAF50;
  border-radius: 50%;
  box-shadow: 0 0 8px #4CAF50;
  animation: recPulse 1.5s ease-in-out infinite;
}

/* Reworked Dashboard Form */
.lcd-form {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  background: transparent;
}

.lcd-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.lcd-form-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.field-textarea-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.field-textarea-container .field-textarea {
  flex: 1;
  min-height: 146px; /* Matches height of left-hand inputs combined */
}

@media (max-width: 640px) {
  .lcd-form-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .field-textarea-container .field-textarea {
    min-height: 120px;
  }
}

.form-field {
  text-align: left;
  position: relative;
}

.field-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--chrome-dark);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.field-icon {
  color: var(--red-primary);
  font-weight: 700;
  font-size: 10px;
}

.field-input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: var(--white);
  font-size: var(--text-sm);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.field-input::placeholder {
  color: rgba(255,255,255,0.2);
}

.field-input:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 0 2px var(--red-subtle);
}

.field-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23808080' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.field-select option {
  background: var(--black-medium);
  color: var(--white);
}

.field-textarea {
  resize: vertical;
  min-height: 80px;
}

.field-error {
  display: none;
  font-size: 10px;
  color: var(--red-bright);
  margin-top: 4px;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.form-field.error .field-error {
  display: block;
}

.form-field.error .field-input {
  border-color: var(--red-primary);
}

/* REC Button */
.rec-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin: var(--space-md) auto 0;
  padding: 14px 40px;
  background: var(--red-primary);
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--duration-fast), transform var(--duration-fast), box-shadow var(--duration-fast);
  box-shadow: 0 4px 20px rgba(200,16,46,0.3);
}

.rec-button:hover {
  background: var(--red-bright);
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(200,16,46,0.4);
}

.rec-button:active {
  transform: scale(0.98);
}

.rec-dot {
  width: 10px;
  height: 10px;
  background: var(--white);
  border-radius: 50%;
  animation: recPulse 1.5s ease-in-out infinite;
}

.rec-label {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  letter-spacing: 0.2em;
  color: var(--white);
}

/* Success Message */
.form-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: rgba(76,175,80,0.1);
  border: 1px solid rgba(76,175,80,0.3);
  border-radius: 6px;
  margin-top: var(--space-md);
}

.form-success.show {
  display: flex;
}

.success-icon {
  color: #4CAF50;
  font-size: var(--text-xl);
}

.success-text {
  color: #4CAF50;
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
}

/* LCD Footer Bar */
.lcd-footer-bar {
  display: flex;
  justify-content: space-around;
  padding: 8px 16px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 10px;
  color: var(--chrome-dark);
  letter-spacing: 0.05em;
}


/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--black-medium);
  position: relative;
  overflow: hidden;
}

/* Footer Film Strip Top Border */
.footer-film-strip {
  background: var(--black-deep);
  border-bottom: 2px solid #333;
  overflow: hidden;
}

.footer-sprockets {
  display: flex;
  gap: 16px;
  padding: 8px 0;
  animation: footerFilmScroll 8s linear infinite;
  width: max-content;
}

.footer-sprockets .sprocket {
  flex-shrink: 0;
  width: 16px;
  height: 10px;
  background: var(--black-deep);
  border: 1px solid #333;
  border-radius: 2px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl) var(--space-xl);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Footer Brand */
.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  letter-spacing: 0.25em;
  text-indent: 0.25em;
  color: var(--white);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--red-primary);
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.footer-desc {
  font-size: var(--text-sm);
  color: var(--chrome-dark);
  line-height: 1.7;
}

/* Footer Links */
.footer-heading {
  font-family: var(--font-display);
  font-size: var(--text-md);
  letter-spacing: 0.15em;
  color: var(--white-dim);
  margin-bottom: var(--space-lg);
}

.footer-link {
  display: block;
  font-size: var(--text-sm);
  color: var(--chrome-dark);
  padding: 4px 0;
  transition: color var(--duration-fast), padding-left var(--duration-normal) var(--ease-out-expo);
}

.footer-link:hover {
  color: var(--red-primary);
  padding-left: 8px;
}

/* Footer Contact */
.footer-info {
  font-size: var(--text-sm);
  color: var(--chrome-dark);
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: var(--chrome-dark);
  transition: color var(--duration-fast), border-color var(--duration-fast), background var(--duration-fast);
}

.social-icon:hover {
  color: var(--red-primary);
  border-color: var(--red-primary);
  background: var(--red-subtle);
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-film-counter {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.counter-text {
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  color: var(--chrome-dark);
  letter-spacing: 0.2em;
}

.footer-copyright {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
}

.footer-made {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-2xl);
  }

  .hero-text {
    text-align: center;
    max-width: 100%;
  }

  .hero-title {
    align-items: center;
  }

  .hero-divider {
    justify-content: center;
  }

  .title-line-2,
  .hero-divider,
  .hero-location,
  .hero-tagline,
  .hero-actions {
    margin-left: 0;
  }

  .hero-actions {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .polaroid-scatter {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-main-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-story {
    padding-left: 0;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .nav-mode-dial {
    display: none;
  }

  .nav-status {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --space-section: 3rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .polaroid-scatter {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .polaroid {
    transform: rotate(0deg) !important; /* Prevents stacked card overlaps on mobile viewports */
    margin-bottom: var(--space-lg);
  }

  .about-stats {
    grid-template-columns: 1fr; /* Stack vertically to prevent label wrapping/overlap on small screens */
    gap: var(--space-md);
  }

  .film-frame {
    width: 280px;
  }

  .frame-window {
    width: 240px;
    height: 160px;
  }

  .lcd-tabs {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .viewfinder-frame {
    display: none;
  }

  .film-reel-wrap {
    display: block !important;
    width: 110px !important;
    height: 110px !important;
    right: -25px !important;
    top: 45px !important;
    opacity: 0.15 !important;
  }

  .title-line-1 {
    font-size: clamp(2.2rem, 9.5vw, 3.5rem) !important;
  }

  .title-line-2 {
    font-size: clamp(1rem, 5.5vw, 1.8rem) !important;
    letter-spacing: 0.35em !important;
    text-indent: 0.35em !important;
  }

  .hero-divider {
    gap: var(--space-sm);
  }

  .divider-line {
    width: 30px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .volumetric-lens {
    animation: none;
  }

  .lens-3d-wrapper {
    animation: none;
  }

  .film-reel-svg {
    animation: none;
  }
}

/* ==========================================================================
   LIGHTBOX MODAL FOR GALLERY
   ========================================================================== */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 5, 5, 0.98);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-controls {
  position: absolute;
  top: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 10000;
}

.lightbox-zoom-hint {
  color: #888;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.lightbox-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-btn:hover {
  background: #ff2a2a;
  border-color: #ff2a2a;
  transform: scale(1.05);
}

.lightbox-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Prevent scrollbars when zoomed */
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.lightbox-img.zoomed {
  transform: scale(2);
  cursor: zoom-out;
  /* Allow panning via dragging in JS */
}

/* Allow gallery images to indicate they are clickable */
.frame-image {
  cursor: pointer;
}


.film-frame {
  cursor: pointer;
}

