/* Font Faces */
@font-face {
  font-family: 'HeliosExt';
  src: url('/static/fonts/heliosext.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'HeliosExt';
  src: url('/static/fonts/heliosext_bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'HeliosExt';
  src: url('/static/fonts/heliosext_italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'HeliosExt';
  src: url('/static/fonts/heliosext_bold_italic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* CSS Custom Properties */
:root {
  --primary-bg: #0a0a0a;
  --secondary-bg: #111111;
  --accent-bg: #1a1a1a;
  --primary-text: #ffffff;
  --secondary-text: #cccccc;
  --accent-text: #888888;
  --border-color: #333333;
  --accent-color: #ffffff;
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s ease;
  --max-width: 1400px;
  --header-height: 80px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--primary-bg);
  color: var(--primary-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.875rem);
}

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

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

a:hover,
a:focus {
  color: var(--secondary-text);
  outline: none;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-medium);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.logo a {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  transition: all var(--transition-medium);
}

.logo a:hover {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.1), 0 0 30px rgba(255, 255, 255, 0.05);
  transform: scale(1.02);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 400;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-text);
  transition: width var(--transition-fast);
}

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

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--primary-text);
  margin: 2px 0;
  transition: all var(--transition-fast);
}

.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(10px);
  transform: translateY(-100%);
  transition: transform var(--transition-medium);
  z-index: 999;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-nav {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-size: 1.125rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .header-content {
    padding: 0 1rem;
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  display: block;
}

.hero-fallback {
  display: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
  z-index: 4;
  position: relative;
  pointer-events: auto;
}

.hero-title {
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-family: 'HeliosExt', var(--font-family);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.1s forwards, textGlow 3s ease-in-out 2s infinite alternate;
  text-shadow: 
    0 0 20px rgba(255, 255, 255, 0.8),
    0 0 30px rgba(255, 255, 255, 0.6),
    0 0 40px rgba(255, 255, 255, 0.4),
    0 2px 12px rgba(0, 0, 0, 0.9),
    0 4px 20px rgba(0, 0, 0, 0.8),
    0 6px 25px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-weight: 400;
  color: var(--primary-text);
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.3s forwards, subtleSlide 4s ease-in-out 1.5s infinite alternate;
  text-shadow: 
    0 0 15px rgba(255, 255, 255, 0.8),
    0 0 25px rgba(255, 255, 255, 0.6),
    0 0 35px rgba(255, 255, 255, 0.4),
    0 2px 10px rgba(0, 0, 0, 0.9),
    0 4px 15px rgba(0, 0, 0, 0.8),
    0 6px 20px rgba(0, 0, 0, 0.6);
}

.scroll-indicator {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.6s forwards, bounce 2s ease-in-out 1.6s infinite;
  z-index: 4;
  position: relative;
}

.scroll-indicator span {
  font-size: 0.875rem;
  color: var(--primary-text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.8),
    0 0 10px rgba(0, 0, 0, 0.5);
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

@keyframes textGlow {
  0% {
    text-shadow: 
      0 0 20px rgba(255, 255, 255, 0.8),
      0 0 30px rgba(255, 255, 255, 0.6),
      0 0 40px rgba(255, 255, 255, 0.4),
      0 2px 12px rgba(0, 0, 0, 0.9),
      0 4px 20px rgba(0, 0, 0, 0.8),
      0 6px 25px rgba(0, 0, 0, 0.7);
  }
  100% {
    text-shadow: 
      0 0 30px rgba(255, 255, 255, 1.0),
      0 0 40px rgba(255, 255, 255, 0.8),
      0 0 50px rgba(255, 255, 255, 0.6),
      0 0 60px rgba(255, 255, 255, 0.4),
      0 2px 12px rgba(0, 0, 0, 0.9),
      0 4px 20px rgba(0, 0, 0, 0.8),
      0 6px 25px rgba(0, 0, 0, 0.7);
  }
}

@keyframes subtleSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(5px);
  }
}

@keyframes letterSpacing {
  0% {
    letter-spacing: -0.02em;
  }
  50% {
    letter-spacing: 0.1em;
  }
  100% {
    letter-spacing: -0.02em;
  }
}

@keyframes titleSlideIn {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes textPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes titlePulse {
  0% {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
  }
  100% {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.15), 0 0 25px rgba(255, 255, 255, 0.05);
  }
}

/* Video Carousel Modal */
.video-carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin-bottom: 2rem;
}

.carousel-videos {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

.carousel-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.5s ease;
  object-fit: contain;
  z-index: 1;
  opacity: 0;
}

/* Vimeo video styling with proper aspect ratio handling */
.carousel-video.vimeo-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
}

.video-aspect-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  max-height: 100%;
}

.vimeo-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}

/* Ensure the aspect container fits within the parent */
.carousel-video.vimeo-wrapper {
  align-items: flex-start;
}

.video-aspect-container {
  margin: auto 0;
  flex-shrink: 0;
}

/* Mobile adjustments for Vimeo videos */
@media (max-width: 768px) {
  .video-aspect-container {
    padding-bottom: 75%; /* Slightly taller for mobile */
  }
}

/* Specific styling for other iframe containers - exclude Google Drive and Vimeo videos */
.carousel-video:not(video):not(.google-drive-wrapper):not(.vimeo-wrapper) {
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: unset;
}

.carousel-video iframe {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

/* Google Drive video styling with proper aspect ratio handling */
.carousel-video.google-drive-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
}

.google-drive-aspect-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  max-height: 100%;
}

.google-drive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}

/* Ensure the aspect container fits within the parent */
.carousel-video.google-drive-wrapper {
  align-items: flex-start;
}

.google-drive-aspect-container {
  margin: auto 0;
  flex-shrink: 0;
}

/* Mobile adjustments for Google Drive videos */
@media (max-width: 768px) {
  .carousel-video.google-drive-wrapper .google-drive-aspect-container {
    padding-bottom: 56.25% !important; /* Keep 16:9 aspect ratio on mobile */
    max-height: calc(100vh - 300px); /* Prevent overflow on small screens */
  }
  
  .carousel-video.google-drive-wrapper {
    align-items: center; /* Center the video properly on mobile */
  }
}

.carousel-video:first-child {
  opacity: 1;
  z-index: 2;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 20px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: all var(--transition-fast);
  z-index: 10;
}

.carousel-nav:hover {
  background: rgba(0, 0, 0, 0.95);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.05);
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-dot.active {
  background: white;
  transform: scale(1.2);
}

/* Desktop-specific work section styling */
@media (min-width: 769px) {
  .work-overlay {
    pointer-events: auto !important;
    z-index: 5;
  }
  
  .work-cta {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 10;
    position: relative;
  }
  
  .work-video-element {
    z-index: 1;
  }
}

@media (max-width: 768px) {
  .hero-video-element {
    object-fit: cover;
    opacity: 0.8; /* Slightly dimmed for better text readability on mobile */
  }
  
  .hero-content {
    padding: 0 1rem;
    z-index: 4;
  }
  
  .hero-overlay {
    background: rgba(0, 0, 0, 0.3); /* Add slight overlay for better text contrast on mobile */
  }
}

/* USPs Section */
.usps {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

.usps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.01) 0%, transparent 50%);
  pointer-events: none;
}

.usps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 2rem;
}

.usp-block {
  position: relative;
  padding: 2.5rem 2.5rem;
  background: rgba(17, 17, 17, 0.6);
  border: none;
  border-left: 2px solid rgba(255, 255, 255, 0.15);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.usp-block.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.usp-block:nth-child(1) {
  transition-delay: 0.1s;
}

.usp-block:nth-child(2) {
  transition-delay: 0.2s;
}

.usp-block:nth-child(3) {
  transition-delay: 0.3s;
}

.usp-block:nth-child(4) {
  transition-delay: 0.4s;
}

.usp-block:hover {
  transform: translateY(-2px);
  border-left-color: rgba(255, 255, 255, 0.25);
  background: rgba(17, 17, 17, 0.8);
  box-shadow: 8px 0 20px rgba(0, 0, 0, 0.2);
}

.usp-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 2.5rem;
  color: var(--primary-text);
  letter-spacing: -0.02em;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
  position: relative;
}


.usp-block.in-view .usp-title {
  opacity: 1;
  transform: translateY(0);
}

.usp-content {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
}

.usp-block.in-view .usp-content {
  opacity: 1;
  transform: translateY(0);
}

.usp-lead,
.usp-details,
.usp-summary {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.6;
  color: var(--secondary-text);
  font-weight: 300;
  margin-bottom: 0.8rem;
  letter-spacing: 0.01em;
}

.usp-summary {
  margin-bottom: 0;
}

.usp-summary {
  margin-bottom: 0;
}

.cities-list {
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.city {
  display: inline;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 400;
  color: var(--primary-text);
  letter-spacing: 0.02em;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.city:not(:last-child)::after {
  content: ' • ';
  color: var(--accent-text);
  margin: 0 0.3rem;
  opacity: 0.6;
}

.city:hover {
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5), 0 0 30px rgba(255, 255, 255, 0.2);
  color: #ffffff;
}



@media (max-width: 768px) {
  .usps {
    padding: 3.5rem 0;
  }
  
  .usps-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 1rem;
  }
  
  .usp-block {
    padding: 3rem 2rem;
  }
}

@media (max-width: 992px) and (min-width: 769px) {
  .usps-grid {
    gap: 3rem 4rem;
  }
  
  .usp-block {
    padding: 3.5rem 2.5rem;
  }
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(30px);
}

.section-title.in-view {
  animation: titleSlideIn 1s ease forwards;
}

/* Roster Section */
.roster {
  padding: 5rem 0;
}

.roster-grid {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 2rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.roster-grid::-webkit-scrollbar {
  height: 8px;
}

.roster-grid::-webkit-scrollbar-track {
  background: var(--accent-bg);
  border-radius: 4px;
}

.roster-grid::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

.roster-grid::-webkit-scrollbar-thumb:hover {
  background: var(--accent-text);
}

.talent-card {
  min-width: 240px;
  flex-shrink: 0;
  cursor: pointer;
  transition: all var(--transition-medium);
  opacity: 0;
  transform: translateY(50px);
  scroll-snap-align: start;
}

.talent-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.talent-card:hover {
  transform: translateY(-10px);
}

.talent-image {
  position: relative;
  width: 240px;
  height: 240px;
  overflow: hidden;
  margin-bottom: 1rem;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  cursor: pointer;
}

.talent-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), filter var(--transition-slow);
  filter: contrast(1) brightness(1);
}

/* Black and white styling for all director photos with natural look */
.talent-image img[src*="artemiy-repin"],
.talent-image img[src*="natishta"],
.talent-image img[src*="talia-smith"],
.talent-image img[src*="vladimir-beck"],
.talent-image img[src*="ann-maren"],
.talent-image img[src*="gregory-shell"],
.talent-image img[src*="tom-oliver"] {
  filter: grayscale(100%) contrast(1.2) brightness(1.0) saturate(0) !important;
}

.talent-image img[src*="eren-besiroglu"] {
  filter: grayscale(100%) contrast(1.6) brightness(0.9) saturate(0) !important;
}

.talent-card:hover .talent-image img[src*="artemiy-repin"],
.talent-card:hover .talent-image img[src*="natishta"],
.talent-card:hover .talent-image img[src*="talia-smith"],
.talent-card:hover .talent-image img[src*="vladimir-beck"],
.talent-card:hover .talent-image img[src*="ann-maren"],
.talent-card:hover .talent-image img[src*="gregory-shell"],
.talent-card:hover .talent-image img[src*="tom-oliver"] {
  filter: grayscale(100%) contrast(1.3) brightness(1.1) saturate(0) !important;
}

.talent-card:hover .talent-image img[src*="eren-besiroglu"] {
  filter: grayscale(100%) contrast(1.8) brightness(1.0) saturate(0) !important;
}

.talent-card:hover .talent-image img {
  transform: scale(1.1);
  filter: contrast(1.2) brightness(1.1);
}

.talent-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 0%, rgba(255,255,255,0.05) 50%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-medium);
  pointer-events: none;
}

.talent-card:hover .talent-image::after {
  opacity: 1;
}

.talent-info {
  text-align: center;
}

.talent-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-text);
}

.talent-role {
  color: var(--accent-text);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

/* Portfolio link styling */
.portfolio-preview {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary), #000);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition-fast);
  border: 2px solid var(--color-accent);
}

.portfolio-preview:hover {
  transform: scale(1.02);
  border-color: var(--color-primary);
}

.portfolio-content {
  text-align: center;
  color: white;
}

.portfolio-content h3 {
  font-family: var(--font-primary);
  font-size: 2rem;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.portfolio-content p {
  opacity: 0.8;
  margin-bottom: 1rem;
}

.portfolio-icon {
  font-size: 2rem;
  opacity: 0.7;
}


@media (max-width: 768px) {
  .roster {
    padding: 3.5rem 0;
  }
  
  .roster-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
    justify-items: center;
  }
  
  .talent-card {
    min-width: 180px;
    max-width: 200px;
    width: 100%;
  }
  
  .talent-image {
    width: 180px;
    height: 180px;
  }
  
  .talent-name {
    font-size: 1rem;
    margin-top: 0.75rem;
  }
}

/* Extra small screens - single column */
@media (max-width: 480px) {
  .roster-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0.5rem;
  }
  
  .talent-card {
    min-width: 140px;
    max-width: 160px;
  }
  
  .talent-image {
    width: 140px;
    height: 140px;
  }
  
  .talent-name {
    font-size: 0.9rem;
    margin-top: 0.5rem;
  }
}

/* Work Section */
.work {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.work-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.work-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.5s ease;
  transform: scale(1.01); /* Slight scale to hide iframe borders */
}

.work-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.work-content {
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.work-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--primary-text);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.5s forwards;
}

.work-subtitle {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-weight: 300;
  color: var(--secondary-text);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.8s forwards;
}

.work-cta {
  display: inline-block;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--primary-text);
  color: var(--primary-text);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all var(--transition-fast);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 1.1s forwards;
  pointer-events: auto;
  cursor: pointer;
}

.work-cta:hover {
  background: var(--primary-text);
  color: var(--primary-bg);
  transform: translateY(-2px);
}

.work-video-element:hover {
  transform: scale(1.02);
  cursor: pointer;
}

@media (max-width: 768px) {
  .work {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), #000;
  }
  
  .work-content {
    padding: 0 1rem;
    position: relative;
    z-index: 2;
  }
  
  .work-video-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
  }
  
  .work {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(17, 17, 17, 0.8) 100%);
  }
}

/* Contact Section */
.contact {
  padding: 5rem 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 2rem;
}

.contact-description {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  color: var(--secondary-text);
  line-height: 1.6;
}

.contact-details p {
  margin-bottom: 1rem;
}

.contact-details a {
  color: var(--primary-text);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast);
}

.contact-details a:hover {
  border-color: var(--primary-text);
}

.contact-form {
  opacity: 0;
  transform: translateY(50px);
  transition: all var(--transition-slow);
}

.contact-form.in-view {
  opacity: 1;
  transform: translateY(0);
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.25rem 1rem;
  background: var(--accent-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--primary-text);
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.4;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-text);
  background: var(--secondary-bg);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--accent-text);
}

.submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--primary-text);
  color: var(--primary-bg);
  border: none;
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.submit-btn:hover {
  background: var(--secondary-text);
  transform: translateY(-2px);
}

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

.form-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-fast);
}

.form-status.show {
  opacity: 1;
  transform: translateY(0);
}

.form-status.success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-status.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

@media (max-width: 768px) {
  .contact {
    padding: 3.5rem 0;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 1rem;
  }
}

/* Footer */
.footer {
  padding: 3rem 0;
  background: var(--secondary-bg);
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-content p {
  color: var(--accent-text);
  font-size: 0.875rem;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  transition: all var(--transition-medium);
  position: relative;
}

.social-links a:hover {
  transform: translateY(-1px);
}

.social-links i {
  width: 18px;
  height: 18px;
  stroke-width: 1.5px;
  color: var(--accent-text);
  transition: all var(--transition-medium);
}

.social-links a:hover i {
  color: var(--primary-text);
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* Modals */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
  padding: 2rem;
  box-sizing: border-box;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: var(--secondary-bg);
  border-radius: 15px;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform var(--transition-medium);
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  color: var(--primary-text);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10001;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
}

.modal-body {
  padding: 2rem;
}

/* Mobile Modal Optimizations */
@media (max-width: 768px) {
  .modal {
    padding: 1rem;
  }
  
  .modal-content {
    max-width: 95vw;
    max-height: 95vh;
    border-radius: 10px;
  }
  
  .modal-body {
    padding: 1rem;
  }
  
  .modal-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 35px;
    height: 35px;
    font-size: 1.25rem;
  }
  
  /* Video carousel mobile optimizations */
  .video-carousel {
    width: 100%;
  }
  
  .carousel-videos {
    height: 50vh;
    min-height: 300px;
  }
  
  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .carousel-prev {
    left: 10px;
  }
  
  .carousel-next {
    right: 10px;
  }
  
  .carousel-indicators {
    margin-top: 15px;
    margin-bottom: 15px;
    gap: 8px;
  }
  
  .carousel-dot {
    width: 10px;
    height: 10px;
  }
}

/* Utility Classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Loading Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn var(--transition-slow) ease forwards;
}

/* Video Modal Styles */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.video-modal.active {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
  z-index: 10000 !important;
  pointer-events: auto !important;
}

.video-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  width: 80vw;
  height: 45vw; /* 16:9 aspect ratio */
  min-width: 800px;
  min-height: 450px;
  background: black;
  clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 0 100%);
  overflow: visible;
  transform: scale(0.9);
  transition: transform var(--transition-medium);
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-modal-video {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  aspect-ratio: 16/9;
}

.director-modal-content {
  max-width: 900px;
  max-height: 90vh;
  padding: 2rem 2rem 3rem 2rem;
  text-align: center;
  overflow-y: auto;
}

/* Director Showcase Styles */
.director-showcase {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  margin-top: 2rem;
}

.showcase-message h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-text);
}

.showcase-message p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: var(--secondary-text);
  line-height: 1.6;
}

.portfolio-cta {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--primary-text);
  color: var(--primary-bg);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-medium);
  border: 2px solid var(--primary-text);
}

.portfolio-cta:hover {
  background: transparent;
  color: var(--primary-text);
  transform: translateY(-2px);
}

.director-modal-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-text);
}

.director-modal-role {
  color: var(--accent-text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.director-modal-bio {
  margin-bottom: 3rem;
  line-height: 1.6;
  color: var(--secondary-text);
  font-size: 1.125rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.video-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.8);
  border: none;
  border-radius: 50%;
  color: var(--primary-text);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10001;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

/* Vimeo modal wrapper */
.vimeo-modal-wrapper {
  width: 100%;
  height: auto;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.vimeo-modal-wrapper .video-aspect-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16/9;
  background: #000;
}

.vimeo-modal-wrapper .video-aspect-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: none;
  object-fit: contain;
  z-index: 1;
  opacity: 1;
  visibility: visible;
  background: #000;
}

/* Mobile modal adjustments */
@media (max-width: 768px) {
  .video-modal-content {
    max-width: 95vw;
    max-height: 80vh;
    width: 95vw;
    height: auto;
    min-width: unset;
    min-height: unset;
    padding: 0.5rem;
    aspect-ratio: 16/9;
  }
  
  .vimeo-modal-wrapper {
    height: auto;
    max-height: 75vh;
    width: 100%;
    position: relative;
  }
  
  .vimeo-modal-wrapper .video-aspect-container {
    max-height: 75vh;
    height: auto;
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
  }
  
  .video-modal-video {
    max-width: 100%;
    max-height: 75vh;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* Restore global animations */
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-text);
}

/* Focus Styles */
button:focus,
input:focus,
textarea:focus,
a:focus {
  outline: 2px solid var(--primary-text);
  outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --primary-bg: #000000;
    --secondary-bg: #111111;
    --primary-text: #ffffff;
    --secondary-text: #ffffff;
    --border-color: #ffffff;
  }
}

/* Services Page Styles */
.services-hero {
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
  padding: 8rem 0 1rem;
  text-align: center;
}

.services-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.services-title {
  font-family: 'HeliosExt', var(--font-family);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-text) 0%, var(--accent-text) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.02em;
  font-kerning: auto;
  font-feature-settings: "kern" 1;
}

.services-subtitle {
  font-size: 1.5rem;
  color: var(--secondary-text);
  font-weight: 300;
  line-height: 1.4;
}

.services-section {
  padding: 4rem 0;
  background: var(--primary-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--accent-bg) 100%);
  clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% calc(100% - 25px), calc(100% - 25px) 100%, 0 100%);
  overflow: hidden;
  transition: all var(--transition-medium);
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-text);
}

.service-image {
  position: relative;
  height: 150px;
  overflow: hidden;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.service-card:hover .play-overlay {
  opacity: 1;
}

.play-button {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-medium);
  position: relative;
}

.play-button::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 24px solid var(--primary-bg);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}

.service-card:hover .play-button {
  transform: scale(1.1);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 2rem;
}

.service-title {
  font-family: 'HeliosExt', var(--font-family);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-text);
}

.service-description {
  color: var(--secondary-text);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--accent-text);
  font-size: 0.95rem;
}

.service-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-text);
  font-weight: 600;
}

.services-cta {
  background: linear-gradient(135deg, var(--accent-bg) 0%, var(--secondary-bg) 100%);
  padding: 5rem 0;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-family: 'HeliosExt', var(--font-family);
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-text);
}

.cta-description {
  color: var(--secondary-text);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.cta-button {
  display: inline-block;
  padding: 1.25rem 2.5rem;
  background: var(--primary-text);
  color: var(--primary-bg);
  clip-path: polygon(15px 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-medium);
  border: 2px solid var(--primary-text);
  font-size: 1.1rem;
}

.cta-button:hover {
  background: transparent;
  color: var(--primary-text);
  transform: translateY(-2px);
}

/* Active nav link styling */
.nav-link.active,
.mobile-nav-link.active {
  color: var(--accent-text);
  border-bottom: 2px solid var(--accent-text);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .services-hero {
    padding: 6rem 0 3rem;
  }
  
  .services-title {
    font-size: 3rem;
  }
  
  .services-subtitle {
    font-size: 1.25rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-card {
    margin: 0 1rem;
  }
  
  .service-content {
    padding: 1.5rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-description {
    font-size: 1.1rem;
  }
}
