/* ==========================================================================
   ENES HALICI — VFX ARTIST PORTFOLIO
   Design System & Modern Cinematic Dark CSS Architecture
   ========================================================================== */

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

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

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  /* Obsidian & Cinematic Dark Surface Palette */
  --bg-void: #040507;
  --bg-primary: #060709;
  --bg-surface: #0c0e14;
  --bg-surface-elevated: #141722;
  --bg-surface-card: #0f121b;
  --bg-surface-card-hover: #161a27;
  --bg-glass: rgba(12, 14, 20, 0.78);
  --bg-glass-elevated: rgba(20, 23, 34, 0.85);
  --bg-glass-card: rgba(15, 18, 27, 0.65);
  --bg-glass-pill: rgba(255, 255, 255, 0.05);

  /* Subtle Micro-Borders */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(255, 255, 255, 0.22);
  --border-focus: rgba(139, 92, 246, 0.6);

  /* Vivid Accent Sparks */
  --accent-gold: #f59e0b;
  --accent-gold-glow: rgba(245, 158, 11, 0.3);
  --accent-gold-subtle: rgba(245, 158, 11, 0.12);

  --accent-violet: #8b5cf6;
  --accent-violet-glow: rgba(139, 92, 246, 0.35);
  --accent-violet-subtle: rgba(139, 92, 246, 0.12);

  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.32);
  --accent-cyan-subtle: rgba(6, 182, 212, 0.12);

  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.38);

  /* Gradients */
  --gradient-spark: linear-gradient(135deg, var(--accent-violet) 0%, var(--accent-cyan) 50%, var(--accent-gold) 100%);
  --gradient-violet-cyan: linear-gradient(135deg, var(--accent-violet) 0%, var(--accent-cyan) 100%);
  --gradient-gold-violet: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-violet) 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-vignette: radial-gradient(circle at center, transparent 35%, rgba(6, 7, 9, 0.88) 100%);
  --gradient-surface: linear-gradient(180deg, #0c0e14 0%, #060709 100%);

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #060709;

  /* Font Families */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  /* Fluid Typography with clamp() */
  --text-xs: clamp(0.72rem, 0.68rem + 0.2vw, 0.8rem);
  --text-sm: clamp(0.82rem, 0.77rem + 0.25vw, 0.9rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --text-lg: clamp(1.1rem, 1.02rem + 0.4vw, 1.25rem);
  --text-xl: clamp(1.28rem, 1.18rem + 0.55vw, 1.55rem);
  --text-2xl: clamp(1.55rem, 1.38rem + 0.9vw, 2.05rem);
  --text-3xl: clamp(2rem, 1.7rem + 1.5vw, 2.85rem);
  --text-4xl: clamp(2.6rem, 2.1rem + 2.4vw, 3.85rem);
  --text-5xl: clamp(3.2rem, 2.4rem + 4.2vw, 5.5rem);

  /* Fluid Spacing */
  --space-2xs: clamp(0.25rem, 0.2rem + 0.2vw, 0.375rem);
  --space-xs: clamp(0.4rem, 0.35rem + 0.25vw, 0.5rem);
  --space-sm: clamp(0.65rem, 0.55rem + 0.4vw, 0.85rem);
  --space-md: clamp(1rem, 0.85rem + 0.6vw, 1.35rem);
  --space-lg: clamp(1.5rem, 1.25rem + 1vw, 2.1rem);
  --space-xl: clamp(2.2rem, 1.8rem + 1.6vw, 3.2rem);
  --space-2xl: clamp(3.2rem, 2.5rem + 2.8vw, 5rem);
  --space-3xl: clamp(4.5rem, 3.5rem + 4.5vw, 7.5rem);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.7);
  --shadow-xl: 0 24px 60px -12px rgba(0, 0, 0, 0.85);
  --shadow-glow-violet: 0 0 35px -5px var(--accent-violet-glow);
  --shadow-glow-cyan: 0 0 35px -5px var(--accent-cyan-glow);
  --shadow-glow-gold: 0 0 35px -5px var(--accent-gold-glow);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 160ms var(--ease-out-expo);
  --transition-base: 280ms var(--ease-out-expo);
  --transition-slow: 500ms var(--ease-out-expo);
  --transition-smooth: 700ms cubic-bezier(0.25, 1, 0.5, 1);

  /* Layout */
  --container-max: 1320px;
  --container-narrow: 1040px;
  --navbar-height: 74px;
}

/* --------------------------------------------------------------------------
   2. GLOBAL BASE STYLES & ACCESSIBILITY
   -------------------------------------------------------------------------- */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  letter-spacing: -0.012em;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Selection */
::selection {
  background: rgba(139, 92, 246, 0.38);
  color: #ffffff;
  text-shadow: 0 0 8px rgba(139, 92, 246, 0.6);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-primary);
  transition: background var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.45);
}

/* Subtle background ambient mesh */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: 
    radial-gradient(ellipse 900px 500px at 15% 10%, rgba(139, 92, 246, 0.045), transparent 70%),
    radial-gradient(ellipse 700px 450px at 85% 35%, rgba(6, 182, 212, 0.035), transparent 70%),
    radial-gradient(ellipse 800px 500px at 50% 80%, rgba(245, 158, 11, 0.025), transparent 70%);
  z-index: -1;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.028em;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

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

code, kbd, samp, pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

/* --------------------------------------------------------------------------
   3. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 1rem + 2vw, 2.5rem);
  padding-right: clamp(1.25rem, 1rem + 2vw, 2.5rem);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  position: relative;
}

.section-alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Section Header */
.section-header {
  margin-bottom: var(--space-2xl);
  position: relative;
}

.section-header.text-center {
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-violet);
  margin-bottom: 0.75rem;
}

.section-kicker::before {
  content: '//';
  opacity: 0.6;
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.6;
}

.section-header.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   4. NAVIGATION BAR WITH BLUR BACKDROP & LIVE STATUS
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
  background: rgba(6, 7, 9, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.75);
}

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

/* Nav Brand / Logo */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-decoration: none;
  z-index: 1002;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #141722 0%, #0c0e14 100%);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.brand-mark::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0deg, var(--accent-violet) 90deg, var(--accent-cyan) 180deg, transparent 270deg);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 0;
}

.brand-mark span {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-brand:hover .brand-mark {
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-1px);
}

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

.brand-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.15;
}

.brand-role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Status Indicator: "Available for VFX Roles" */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.24);
  font-size: var(--text-xs);
  font-weight: 500;
  color: #34d399;
  letter-spacing: 0.01em;
  transition: all var(--transition-fast);
}

.status-indicator:hover {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

.status-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.status-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-emerald);
  opacity: 0.8;
  animation: pulse-ring 2.2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  60%, 100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Nav Menu Links */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.5rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 2px;
  background: var(--accent-violet);
  border-radius: var(--radius-full);
  box-shadow: 0 0 8px var(--accent-violet);
}

/* Nav Actions (Buttons) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  z-index: 1002;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-medium);
}

.nav-toggle-icon {
  position: relative;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: background var(--transition-fast);
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition-fast), top var(--transition-fast);
}

.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }

.nav-toggle.open .nav-toggle-icon {
  background: transparent;
}
.nav-toggle.open .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle.open .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. BUTTONS & INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.25;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  user-select: none;
  position: relative;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 0.42rem 0.95rem;
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: var(--text-base);
  border-radius: var(--radius-md);
}

/* Primary Spark Button */
.btn-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px -2px rgba(139, 92, 246, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #9a6dff 0%, #7c3aed 100%);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 26px -2px rgba(139, 92, 246, 0.6);
  transform: translateY(-2px);
  color: #ffffff;
}

/* Secondary Obsidian Ghost Button */
.btn-secondary {
  background: rgba(20, 23, 34, 0.8);
  color: var(--text-primary);
  border-color: var(--border-medium);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(30, 35, 52, 0.9);
  border-color: var(--border-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Subtle Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}

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

/* Gold Accent Button */
.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #060709;
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px -2px rgba(245, 158, 11, 0.4);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 6px 24px -2px rgba(245, 158, 11, 0.55);
  transform: translateY(-2px);
}

/* Icon-only Button */
.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-medium);
  color: var(--text-primary);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   6. FULLSCREEN VIDEO HERO CONTAINER & THEATER CONTROLS
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-void);
}

/* Video Wrapper */
.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  filter: brightness(0.85) contrast(1.08);
  transition: filter var(--transition-slow), transform var(--transition-slow);
}

/* Ambient Vignette Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: 
    linear-gradient(180deg, rgba(6, 7, 9, 0.65) 0%, rgba(6, 7, 9, 0.25) 40%, rgba(6, 7, 9, 0.75) 85%, var(--bg-primary) 100%),
    radial-gradient(ellipse at center, transparent 40%, rgba(4, 5, 7, 0.8) 100%);
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  padding-top: var(--navbar-height);
  padding-bottom: 90px; /* Space for theater controls */
  pointer-events: auto;
}

.hero-inner {
  max-width: 960px;
}

/* Hero Kicker Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.28);
  backdrop-filter: blur(12px);
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px -5px rgba(139, 92, 246, 0.2);
}

.hero-badge-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-violet);
}

.hero-badge-divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.hero-badge-desc {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  font-weight: 500;
}

/* Hero Title */
.hero-title {
  font-size: var(--text-5xl);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.35rem;
  color: #ffffff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, #ffffff 15%, #cbd5e1 50%, var(--accent-cyan) 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-title .text-spark {
  background: var(--gradient-spark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Hero Subtitle */
.hero-description {
  font-size: var(--text-lg);
  color: #cbd5e1;
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Hero CTAs */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Quick Specs Chips in Hero */
.hero-specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.hero-spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  background: rgba(12, 14, 20, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  backdrop-filter: blur(8px);
}

.hero-spec-chip strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Theater Controls Floating Dock */
.theater-controls-bar {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - clamp(2rem, 5vw, 5rem));
  max-width: 980px;
  z-index: 10;
  background: rgba(12, 14, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.25rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: opacity var(--transition-base), transform var(--transition-base), background var(--transition-fast);
}

.theater-controls-bar:hover {
  background: rgba(12, 14, 20, 0.92);
  border-color: rgba(255, 255, 255, 0.16);
}

/* Progress / Scrub bar */
.theater-scrubber {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: height var(--transition-fast);
}

.theater-scrubber:hover {
  height: 8px;
}

.theater-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-violet) 0%, var(--accent-cyan) 100%);
  border-radius: var(--radius-full);
  pointer-events: none;
  box-shadow: 0 0 10px var(--accent-cyan-glow);
}

.theater-scrubber-handle {
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.theater-scrubber:hover .theater-scrubber-handle {
  opacity: 1;
}

/* Control buttons row */
.theater-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.theater-group-left,
.theater-group-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.theater-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #e2e8f0;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  line-height: 1;
}

.theater-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.1);
}

.theater-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.theater-timecode {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  padding: 0 0.5rem;
}

.theater-badge-reel {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
}

/* Theater Mode Active State */
body.theater-mode-active .site-header {
  transform: translateY(-100%);
  transition: transform var(--transition-base);
}

body.theater-mode-active .hero-content {
  opacity: 0.15;
  filter: blur(4px);
  pointer-events: none;
  transition: opacity var(--transition-base), filter var(--transition-base);
}

body.theater-mode-active .hero:hover .hero-content {
  opacity: 0.6;
  filter: blur(0px);
}

body.theater-mode-active .hero-overlay {
  background: radial-gradient(circle at center, transparent 70%, rgba(4, 5, 7, 0.95) 100%);
}

body.theater-mode-active .theater-controls-bar {
  background: rgba(6, 7, 9, 0.95);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.9), 0 0 20px var(--accent-violet-glow);
}

/* --------------------------------------------------------------------------
   7. ARTSTATION-STYLE PROJECT CARDS & GRID
   -------------------------------------------------------------------------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 390px), 1fr));
  gap: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
}

/* Project Card */
.project-card {
  position: relative;
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.38);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.85), 0 0 30px -5px rgba(139, 92, 246, 0.2);
}

/* Card Media / Thumbnail & Video Container */
.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #020305;
}

.card-poster,
.card-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), opacity var(--transition-base);
}

.card-video {
  opacity: 0;
  pointer-events: none;
}

.project-card:hover .card-poster {
  transform: scale(1.05);
}

.project-card:hover .card-video {
  opacity: 1;
  transform: scale(1.05);
}

/* Media Gradient Vignette */
.card-media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(6, 7, 9, 0.2) 0%, transparent 40%, rgba(15, 18, 27, 0.95) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Media Floating Badges */
.card-media-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
  pointer-events: none;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.card-badge-featured {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
}

.card-badge-realtime {
  background: rgba(6, 182, 212, 0.2);
  border: 1px solid rgba(6, 182, 212, 0.45);
  color: #38bdf8;
}

.card-badge-duration {
  background: rgba(12, 14, 20, 0.75);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* Card Body Content */
.card-body {
  padding: 1.4rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: var(--bg-surface-card);
}

.card-category {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-violet);
  margin-bottom: 0.4rem;
}

.card-title {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  transition: color var(--transition-fast);
}

.project-card:hover .card-title {
  color: #ffffff;
}

.card-description {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.15rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tech Tags Row */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.project-card:hover .tag-chip {
  color: var(--text-secondary);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Card Footer Trigger */
.card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-link-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.card-link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.card-link-arrow svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.project-card:hover .card-link-action {
  color: var(--accent-cyan);
}

.project-card:hover .card-link-arrow {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #060709;
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   8. INTERACTIVE BREAKDOWN TAB CONTAINER
   -------------------------------------------------------------------------- */
.breakdown-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

/* Breakdown Header with Tabs */
.breakdown-header {
  padding: 1.5rem clamp(1.25rem, 1rem + 1.5vw, 2.5rem);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: rgba(12, 14, 20, 0.6);
}

.breakdown-meta {
  display: flex;
  flex-direction: column;
}

.breakdown-meta-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.breakdown-meta-subtitle {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* Segmented Tab Bar */
.breakdown-tabs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

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

.tab-btn.active {
  background: var(--bg-surface-elevated);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.tab-btn-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-xs);
  background: rgba(139, 92, 246, 0.2);
  color: var(--accent-violet);
}

/* Breakdown Content Panels */
.breakdown-body {
  padding: clamp(1.5rem, 1.25rem + 1.5vw, 2.75rem);
}

.tab-pane {
  display: none;
  animation: fadeInPane 320ms var(--ease-out-expo) forwards;
}

.tab-pane.active {
  display: block;
}

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

/* Two-column Breakdown Grid */
.breakdown-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: start;
}

/* Media Viewport in Breakdown */
.breakdown-media-viewport {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #020305;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-lg);
}

.breakdown-media-viewport video,
.breakdown-media-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Technical Specification Table */
.spec-box {
  background: rgba(20, 23, 34, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-top: 1.25rem;
}

.spec-box-title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.spec-label {
  color: var(--text-secondary);
}

.spec-value {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
}

/* Process Step Cards */
.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.pipeline-step {
  background: rgba(20, 23, 34, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  transition: all var(--transition-fast);
}

.pipeline-step:hover {
  border-color: rgba(6, 182, 212, 0.35);
  transform: translateY(-2px);
}

.pipeline-step-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.4rem;
}

.pipeline-step-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.pipeline-step-desc {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   9. EXPERIENCE TIMELINE WITH GLOW NODES
   -------------------------------------------------------------------------- */
.timeline-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 1rem 0;
}

/* Vertical glowing track */
.timeline-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-violet) 0%, var(--accent-cyan) 50%, var(--accent-gold) 100%);
  opacity: 0.4;
  border-radius: var(--radius-full);
}

.timeline-item {
  position: relative;
  padding-left: 64px;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Glowing Timeline Node */
.timeline-node {
  position: absolute;
  top: 6px;
  left: 17px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-void);
  border: 2.5px solid var(--accent-violet);
  box-shadow: 0 0 16px var(--accent-violet-glow);
  z-index: 2;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.timeline-item:nth-child(2) .timeline-node {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px var(--accent-cyan-glow);
}

.timeline-item:nth-child(3) .timeline-node {
  border-color: var(--accent-gold);
  box-shadow: 0 0 16px var(--accent-gold-glow);
}

.timeline-item:hover .timeline-node {
  transform: scale(1.3);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.6);
}

/* Timeline Card */
.timeline-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.timeline-card:hover {
  transform: translateX(4px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-lg);
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent-cyan);
  background: var(--accent-cyan-subtle);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}

.timeline-company {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.timeline-role {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.timeline-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.15rem;
}

.timeline-points {
  list-style: none;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline-points li {
  position: relative;
  padding-left: 1.25rem;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.55;
}

.timeline-points li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-violet);
  font-size: 0.85rem;
}

.timeline-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.skill-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   10. CONTACT FOOTER & COPY-TO-CLIPBOARD TOAST
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--bg-void);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-xl);
  overflow: hidden;
}

/* Ambient footer background glow */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 350px;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.footer-contact-card {
  background: linear-gradient(180deg, #10131d 0%, #0a0c12 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 1.5rem + 2.5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
  margin-bottom: var(--space-2xl);
}

.footer-contact-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-violet) 50%, transparent 100%);
}

.footer-contact-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.footer-contact-subtitle {
  font-size: var(--text-base);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* Copy Email Container */
.copy-email-box {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(20, 23, 34, 0.9);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  padding: 0.45rem 0.5rem 0.45rem 1.35rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.copy-email-box:hover {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 25px -5px var(--accent-violet-glow);
}

.copy-email-address {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-primary);
  font-weight: 600;
  user-select: all;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: var(--accent-violet);
  border: none;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy:hover {
  background: #7c3aed;
  transform: scale(1.03);
}

.btn-copy:active {
  transform: scale(0.97);
}

/* Social links row */
.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-medium);
  color: #ffffff;
  transform: translateY(-2px);
}

.social-link.artstation:hover {
  border-color: rgba(6, 182, 212, 0.5);
  color: #38bdf8;
}

.social-link.linkedin:hover {
  border-color: rgba(14, 118, 168, 0.6);
  color: #38bdf8;
}

.social-link.youtube:hover {
  border-color: rgba(239, 68, 68, 0.6);
  color: #f87171;
}

/* Bottom Bar */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.footer-copy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* TOAST NOTIFICATION */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  pointer-events: auto;
  min-width: 300px;
  max-width: 400px;
  background: rgba(12, 14, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.8), 0 0 20px var(--accent-violet-glow);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 340ms var(--ease-out-expo), opacity 340ms var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.toast-message {
  display: flex;
  flex-direction: column;
}

.toast-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.toast-desc {
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2.5px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-violet) 0%, var(--accent-cyan) 100%);
  animation: toastCountdown 3s linear forwards;
}

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

/* --------------------------------------------------------------------------
   11. LIGHTBOX / MODAL SYSTEM (VFX PREVIEW & REEL)
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 5, 7, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.modal-dialog {
  width: 100%;
  max-width: 1100px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.95), 0 0 40px var(--accent-violet-glow);
  transform: scale(0.95);
  transition: transform var(--transition-base);
  position: relative;
}

.modal-backdrop.open .modal-dialog {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(12, 14, 20, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: scale(1.08);
}

.modal-video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.modal-video-container video,
.modal-video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.modal-content-details {
  padding: 1.5rem 2rem;
  background: var(--bg-surface-card);
}

/* --------------------------------------------------------------------------
   12. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .breakdown-grid {
    grid-template-columns: 1fr;
  }

  .timeline-wrap::before {
    left: 18px;
  }

  .timeline-node {
    left: 11px;
  }

  .timeline-item {
    padding-left: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --navbar-height: 64px;
  }

  .nav-menu {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: 100%;
    background: rgba(6, 7, 9, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    gap: 0.75rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-base), opacity var(--transition-base);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: var(--text-base);
  }

  .nav-toggle {
    display: flex;
  }

  .status-indicator span:last-child {
    display: none;
  }

  .status-indicator {
    padding: 0.35rem 0.5rem;
  }

  .hero-content {
    padding-bottom: 120px;
  }

  .theater-controls-bar {
    width: calc(100% - 1.5rem);
    padding: 0.6rem 0.85rem;
    bottom: 16px;
  }

  .theater-badge-reel {
    display: none;
  }

  .breakdown-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .breakdown-tabs {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .breakdown-tabs::-webkit-scrollbar {
    display: none;
  }

  .toast-container {
    bottom: 16px;
    right: 16px;
    left: 16px;
  }

  .toast {
    min-width: 100%;
  }

  .copy-email-box {
    flex-direction: column;
    padding: 1rem;
    border-radius: var(--radius-lg);
    width: 100%;
  }

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

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .theater-timecode {
    display: none;
  }

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

/* --------------------------------------------------------------------------
   13. REDUCED MOTION PREFERENCES
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
