/* ==========================================================================
   Operactive Arts - Design System
   ========================================================================== */

/* CSS Custom Properties */
:root {
  /* Colours - Refined palette: deep indigo with gold accents */
  --color-black: #08080c;
  --color-black-light: #0f0f18;
  --color-black-lighter: #161622;
  --color-grey-dark: #252535;
  --color-grey: #5a5a6e;
  --color-grey-light: #9090a0;
  --color-white: #f0f0f5;
  --color-white-pure: #ffffff;
  --color-accent: #a68c5b;
  --color-accent-dark: #8a7349;
  --color-accent-light: #c9a96e;
  --color-indigo: #2d2a4a;
  --color-violet: #4a3f6b;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;

  /* Layout */
  --max-width: 1400px;
  --max-width-narrow: 900px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.8s ease;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-white);
  background-color: var(--color-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-accent-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-white);
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

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

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
}

.text-large {
  font-size: 1.25rem;
  line-height: 1.8;
}

.text-small {
  font-size: 0.875rem;
}

.text-muted {
  color: var(--color-grey-light);
}

.text-accent {
  color: var(--color-accent-light);
}

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

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

.section {
  padding: var(--space-xl) 0;
}

.section-large {
  padding: var(--space-2xl) 0;
}

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.flex {
  display: flex;
}

.flex-center {
  align-items: center;
  justify-content: center;
}

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

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0) 100%);
  transition: background var(--transition-medium);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.nav-logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.nav-links a {
  color: var(--color-white);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition-medium);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--color-black-light);
  border: 1px solid var(--color-grey-dark);
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  transform: translateX(-50%) translateY(10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  list-style: none;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--color-grey-light);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown-menu a:hover {
  background: var(--color-black-lighter);
  color: var(--color-white);
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-dropdown-menu .coming-soon {
  font-size: 10px;
  color: var(--color-grey);
  margin-left: 8px;
  font-style: italic;
}

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

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition-fast);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-links {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100%;
    height: 100%;
    background: #08080c !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-sm);
    padding: 80px var(--space-md) var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }

  /* Prevent body scroll when menu is open */
  body.nav-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
  }

  .nav-links > li {
    width: 100%;
    text-align: center;
    flex-shrink: 0;
  }

  .nav-links > li > a {
    font-size: 1.25rem;
    display: block;
    padding: var(--space-xs) 0;
  }

  /* Mobile dropdown styling */
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: rgba(15, 15, 24, 0.95);
    border: 1px solid var(--color-grey-dark);
    border-radius: 8px;
    padding: var(--space-xs) var(--space-sm);
    margin-top: var(--space-xs);
    min-width: auto;
    box-shadow: none;
  }

  .nav-dropdown-menu li {
    margin-bottom: 0;
  }

  .nav-dropdown-menu li a {
    font-size: 0.9rem;
    color: var(--color-grey-light);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 4px;
    text-transform: none;
    letter-spacing: normal;
    display: block;
  }

  .nav-dropdown-menu li a:hover {
    background: var(--color-black-lighter);
    color: var(--color-white);
  }

  .nav-dropdown-menu .coming-soon {
    font-size: 9px;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-black);
}

/* Theatrical animated background - ink wash / flowing curtain effect */
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 120% 80% at 50% 20%, rgba(35, 30, 55, 0.8) 0%, var(--color-black) 50%);
}

/* Subtle texture overlay */
.hero-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
}

/* Flowing theatrical shapes - dramatic, visible movement */
.ink-wash {
  position: absolute;
  filter: blur(60px);
}

.ink-wash-1 {
  width: 100vw;
  height: 100vw;
  background: radial-gradient(circle, rgba(60, 45, 100, 0.6) 0%, rgba(40, 30, 70, 0.3) 40%, transparent 65%);
  top: -30%;
  left: -30%;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: drift1 12s ease-in-out infinite;
}

.ink-wash-2 {
  width: 90vw;
  height: 90vw;
  background: radial-gradient(circle, rgba(80, 55, 110, 0.55) 0%, rgba(50, 35, 80, 0.25) 40%, transparent 65%);
  bottom: -20%;
  right: -30%;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: drift2 15s ease-in-out infinite;
}

.ink-wash-3 {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.7) 0%, rgba(166, 140, 91, 0.35) 40%, transparent 65%);
  top: 30%;
  right: 10%;
  border-radius: 50% 50% 50% 50%;
  animation: drift3 10s ease-in-out infinite;
}

/* Theatrical spotlight effect */
.stage-light {
  position: absolute;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201, 169, 110, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(201, 169, 110, 0.1) 0%, transparent 60%);
  animation: spotlight 6s ease-in-out infinite;
}

/* Dramatic, clearly visible animations */
@keyframes drift1 {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(15%, 10%) scale(1.2) rotate(5deg);
  }
}

@keyframes drift2 {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(-10%, -8%) scale(1.15) rotate(-3deg);
  }
}

@keyframes drift3 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-8%, 5%) scale(1.1);
  }
  66% {
    transform: translate(5%, -3%) scale(0.95);
  }
}

@keyframes spotlight {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

/* Curtain edge hints - theatrical framing */
.curtain-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20%;
  pointer-events: none;
}

.curtain-edge-left {
  left: 0;
  background: linear-gradient(to right, rgba(8, 8, 12, 0.8) 0%, transparent 100%);
}

.curtain-edge-right {
  right: 0;
  background: linear-gradient(to left, rgba(8, 8, 12, 0.8) 0%, transparent 100%);
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-background.with-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 8, 12, 0.5) 0%,
    rgba(8, 8, 12, 0.7) 50%,
    rgba(8, 8, 12, 1) 100%
  );
}

/* Gold dust particle canvas */
.particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: var(--space-xl) var(--space-md);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: var(--space-md);
}

.hero h1 {
  margin-bottom: var(--space-md);
  text-shadow: 0 0 80px rgba(201, 169, 110, 0.4), 0 0 120px rgba(90, 60, 140, 0.3);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--color-grey-light);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

/* Mobile hero enhancements */
@media (max-width: 768px) {
  .hero-background {
    background: radial-gradient(ellipse 150% 100% at 50% 30%, rgba(45, 35, 65, 0.7) 0%, rgba(25, 22, 40, 0.5) 30%, var(--color-black) 60%);
  }

  .ink-wash {
    filter: blur(80px);
  }

  .ink-wash-1 {
    width: 150vw;
    height: 150vw;
    top: -50%;
    left: -50%;
  }

  .ink-wash-2 {
    width: 120vw;
    height: 120vw;
    bottom: -40%;
    right: -40%;
  }

  .ink-wash-3 {
    width: 80vw;
    height: 80vw;
    top: 20%;
    right: -10%;
  }

  .stage-light {
    background:
      radial-gradient(ellipse 100% 60% at 50% 0%, rgba(201, 169, 110, 0.4) 0%, transparent 50%),
      radial-gradient(ellipse 80% 50% at 50% 40%, rgba(201, 169, 110, 0.15) 0%, transparent 60%);
  }

  .hero h1 {
    text-shadow: 0 0 60px rgba(201, 169, 110, 0.5), 0 0 100px rgba(90, 60, 140, 0.4);
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition-medium);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-accent-light);
  color: var(--color-white);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-accent);
}

.btn-ghost:hover {
  color: var(--color-accent-light);
  border-color: var(--color-accent-light);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: var(--color-black-light);
  border: 1px solid var(--color-grey-dark);
  overflow: hidden;
  transition: all var(--transition-medium);
}

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

.card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

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

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

.card-content {
  padding: var(--space-md);
}

.card-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: var(--space-xs);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.card-description {
  color: var(--color-grey-light);
  font-size: 0.95rem;
}

/* ==========================================================================
   Team
   ========================================================================== */

.team-member {
  text-align: center;
}

.team-photo {
  width: 200px;
  height: 200px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-grey-dark);
  transition: border-color var(--transition-medium);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member:hover .team-photo {
  border-color: var(--color-accent);
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.team-role {
  color: var(--color-accent-light);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.team-bio {
  color: var(--color-grey-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ==========================================================================
   Partners
   ========================================================================== */

.partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
}

.partner-logo {
  height: 70px;
  opacity: 0.6;
  filter: grayscale(100%) brightness(2);
  transition: all var(--transition-medium);
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
}

/* ==========================================================================
   Video Embed
   ========================================================================== */

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: var(--color-black-light);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.video-thumbnail:hover img {
  transform: scale(1.05);
}

.video-play-btn {
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(166, 140, 91, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-white);
  transition: all var(--transition-medium);
  padding-left: 5px;
}

.video-thumbnail:hover .video-play-btn {
  background: var(--color-accent-light);
  transform: scale(1.1);
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-sm);
}

.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
}

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

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing-card {
  background: var(--color-black-light);
  border: 1px solid var(--color-grey-dark);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-medium);
}

.pricing-card:hover,
.pricing-card.featured {
  border-color: var(--color-accent);
}

.pricing-card.featured {
  background: linear-gradient(135deg, var(--color-black-lighter) 0%, var(--color-black-light) 100%);
}

.pricing-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: var(--space-sm);
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 3rem;
  margin-bottom: var(--space-xs);
}

.pricing-period {
  color: var(--color-grey-light);
  margin-bottom: var(--space-md);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-lg);
}

.pricing-features li {
  padding: var(--space-xs) 0;
  color: var(--color-grey-light);
  border-bottom: 1px solid var(--color-grey-dark);
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
  color: var(--color-grey-light);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-white);
  background: var(--color-black-light);
  border: 1px solid var(--color-grey-dark);
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

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

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 600px) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--color-black-light);
  padding: var(--space-xl) 0 var(--space-md);
  border-top: 1px solid var(--color-grey-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.footer-brand p {
  color: var(--color-grey-light);
  margin-top: var(--space-sm);
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-grey-light);
  margin-bottom: var(--space-md);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: var(--color-white);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-accent-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-grey-dark);
  font-size: 0.875rem;
  color: var(--color-grey);
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-links a {
  color: var(--color-grey-light);
}

.social-links a:hover {
  color: var(--color-accent-light);
}

/* ==========================================================================
   Page Headers
   ========================================================================== */

.page-header {
  padding: calc(var(--space-2xl) + 80px) 0 var(--space-xl);
  text-align: center;
  background: linear-gradient(to bottom, var(--color-black-light) 0%, var(--color-black) 100%);
}

.page-header h1 {
  margin-bottom: var(--space-sm);
}

.page-header .lead {
  font-size: 1.25rem;
  color: var(--color-grey-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (max-width: 768px) {
  .split-section {
    grid-template-columns: 1fr;
  }
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.split-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Quote */
.quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-style: italic;
  color: var(--color-grey-light);
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0;
}

/* Feature List */
.feature-list {
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: var(--space-lg);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-grey-dark);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-lg);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-lg) - 5px);
  top: 0.5em;
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
}

.timeline-date {
  font-size: 0.875rem;
  color: var(--color-accent-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xs);
}

/* ==========================================================================
   Animations
   ========================================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle pulse animation for hero backgrounds with images */
@keyframes imagePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.45;
  }
}

.hero-background.with-image img {
  animation: imagePulse 20s ease-in-out infinite;
}

/* Glitch effect for special elements */
@keyframes glitch {
  0%, 100% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
}

.glitch:hover {
  animation: glitch 0.3s ease-in-out;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

/* ==========================================================================
   Production Manager Showcase
   ========================================================================== */

.pm-showcase {
  position: relative;
  height: 700px;
  margin: var(--space-lg) 0;
  overflow: hidden;
}

@media (max-width: 1200px) {
  .pm-showcase {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .pm-showcase {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }
}

.pm-screen {
  position: absolute;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

@media (max-width: 768px) {
  .pm-screen {
    position: relative !important;
    transform: none !important;
    width: 100% !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
  }
}

.pm-screen:hover {
  transform: rotate(0deg) scale(1.02) !important;
  box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.6);
  z-index: 100 !important;
}

/* Screen 2 needs translateX preserved for centering */
.pm-screen-2:hover {
  transform: translateX(-50%) rotate(0deg) scale(1.02) !important;
}

.pm-screen-header {
  background: #f3f4f6;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.pm-screen-header.dark {
  background: #1e293b;
  border-bottom-color: #334155;
}

.pm-traffic-lights {
  display: flex;
  gap: 6px;
}

.pm-traffic-lights span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.pm-traffic-lights span:nth-child(1) { background: #f87171; }
.pm-traffic-lights span:nth-child(2) { background: #fbbf24; }
.pm-traffic-lights span:nth-child(3) { background: #4ade80; }

.pm-screen-title {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
}

.pm-screen-header.dark .pm-screen-title {
  color: #94a3b8;
}

.pm-screen-body {
  padding: 16px;
  background: linear-gradient(to bottom, #fffbeb 0%, #ffffff 100%);
}

.pm-screen-body.dark {
  background: linear-gradient(to bottom, #0f172a 0%, #1e293b 100%);
}

/* Screen 1: Dashboard */
.pm-screen-1 {
  width: 420px;
  left: 0;
  top: 0;
  transform: rotate(-2deg);
  z-index: 10;
}

/* Screen 2: Kanban */
.pm-screen-2 {
  width: 520px;
  left: 50%;
  top: 40px;
  transform: translateX(-50%) rotate(1deg);
  z-index: 20;
}

/* Screen 3: Applicant Detail */
.pm-screen-3 {
  width: 340px;
  right: 0;
  top: 20px;
  transform: rotate(3deg);
  z-index: 30;
}

/* Screen 4: Calendar */
.pm-screen-4 {
  width: 380px;
  left: 40px;
  bottom: 20px;
  transform: rotate(-1deg);
  z-index: 15;
}

/* Screen 5: Application Form */
.pm-screen-5 {
  width: 320px;
  right: 380px;
  bottom: 0;
  transform: rotate(2deg);
  z-index: 35;
}

/* Dashboard Content */
.pm-greeting {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
}

.pm-production-card {
  background: white;
  border: 2px solid #fcd34d;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  margin-bottom: 16px;
}

.pm-production-icon {
  width: 80px;
  background: linear-gradient(135deg, #7f1d1d 0%, #450a0a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fca5a5;
  font-size: 28px;
}

.pm-production-info {
  padding: 12px;
  flex: 1;
}

.pm-production-info h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.pm-badge {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 500;
}

.pm-badge-green {
  background: #dcfce7;
  color: #166534;
}

.pm-badge-purple {
  background: #f3e8ff;
  color: #7c3aed;
}

.pm-badge-amber {
  background: #fef3c7;
  color: #b45309;
}

.pm-stats {
  display: flex;
  gap: 12px;
  text-align: center;
  margin-bottom: 16px;
}

.pm-stat {
  flex: 1;
}

.pm-stat-value {
  font-size: 22px;
  font-weight: 700;
}

.pm-stat-value.blue { color: #2563eb; }
.pm-stat-value.purple { color: #7c3aed; }
.pm-stat-value.green { color: #16a34a; }

.pm-stat-label {
  font-size: 11px;
  color: #6b7280;
}

.pm-next-rehearsal {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  padding: 12px;
}

.pm-next-rehearsal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #92400e;
  margin-bottom: 6px;
}

.pm-next-rehearsal-title {
  font-weight: 600;
  color: #111827;
}

.pm-next-rehearsal-subtitle {
  font-size: 13px;
  color: #4b5563;
}

/* Kanban Content */
.pm-kanban {
  display: flex;
  gap: 10px;
  overflow: hidden;
}

.pm-kanban-col {
  width: 120px;
  flex-shrink: 0;
  border-radius: 8px;
  padding: 8px;
}

.pm-kanban-col.gray { background: #f3f4f6; }
.pm-kanban-col.blue { background: #eff6ff; }
.pm-kanban-col.purple { background: #faf5ff; }
.pm-kanban-col.amber { background: #fffbeb; }

.pm-kanban-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.pm-kanban-title {
  font-size: 11px;
  font-weight: 600;
  color: #374151;
}

.pm-kanban-count {
  font-size: 10px;
  background: white;
  padding: 2px 6px;
  border-radius: 4px;
  color: #6b7280;
}

.pm-applicant-card {
  background: white;
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.pm-applicant-card.highlight {
  box-shadow: 0 0 0 2px #fbbf24;
}

.pm-applicant-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pm-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: #92400e;
}

.pm-applicant-name {
  font-size: 11px;
  font-weight: 500;
  color: #111827;
}

.pm-applicant-role {
  font-size: 10px;
  color: #6b7280;
}

.pm-applicant-score {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 10px;
  color: #6b7280;
}

.pm-star {
  color: #fbbf24;
}

/* Calendar Content */
.pm-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 12px;
}

.pm-calendar-day {
  text-align: center;
  font-size: 10px;
  color: #6b7280;
  padding: 4px;
}

.pm-calendar-cell {
  aspect-ratio: 1;
  border-radius: 6px;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #374151;
}

.pm-calendar-cell.active {
  background: #fef3c7;
  border: 2px solid #fbbf24;
  color: #92400e;
  font-weight: 600;
}

.pm-calendar-cell.has-event {
  background: #eff6ff;
}

.pm-calendar-event-label {
  font-size: 8px;
  margin-top: 2px;
}

.pm-calendar-events {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pm-calendar-event {
  padding: 10px;
  border-radius: 6px;
  border-left: 4px solid;
}

.pm-calendar-event.amber {
  background: #fef3c7;
  border-color: #f59e0b;
}

.pm-calendar-event.blue {
  background: #eff6ff;
  border-color: #3b82f6;
}

.pm-calendar-event-title {
  font-weight: 600;
  font-size: 13px;
  color: #111827;
}

.pm-calendar-event-time {
  font-size: 12px;
  color: #6b7280;
}

/* Application Form Content (Dark) */
.pm-form-progress {
  margin-bottom: 16px;
}

.pm-form-progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 6px;
}

.pm-form-progress-label {
  color: #94a3b8;
}

.pm-form-progress-value {
  color: #fbbf24;
}

.pm-form-progress-bar {
  height: 8px;
  background: #334155;
  border-radius: 4px;
  overflow: hidden;
}

.pm-form-progress-fill {
  height: 100%;
  width: 75%;
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
  border-radius: 4px;
}

.pm-form-field {
  margin-bottom: 12px;
}

.pm-form-label {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 4px;
  display: block;
}

.pm-form-input {
  background: #334155;
  border-radius: 6px;
  padding: 10px 12px;
  color: white;
  font-size: 13px;
}

.pm-form-roles {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.pm-form-role {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
}

.pm-form-role.selected {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.pm-form-role.unselected {
  background: #334155;
  color: #94a3b8;
}

.pm-form-upload {
  border: 2px dashed #475569;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  margin-bottom: 12px;
}

.pm-form-upload-icon {
  width: 36px;
  height: 36px;
  background: #334155;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  color: #94a3b8;
  font-size: 18px;
}

.pm-form-upload-text {
  font-size: 12px;
  color: #94a3b8;
}

.pm-form-submit {
  width: 100%;
  background: linear-gradient(90deg, #f59e0b 0%, #e11d48 100%);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
}

/* ==========================================================================
   Innovation Page - Animated Diagrams
   ========================================================================== */

/* Sound Innovation - Timbre Transfer Diagram */
.timbre-diagram {
  width: 100%;
  height: 180px;
  position: relative;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.timbre-source {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.timbre-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  position: relative;
}

.timbre-icon.western {
  background: rgba(166, 140, 91, 0.2);
  border: 2px solid var(--color-accent);
}

.timbre-icon.eastern {
  background: rgba(74, 63, 107, 0.3);
  border: 2px solid var(--color-violet);
}

.timbre-icon.ai-output {
  background: linear-gradient(135deg, rgba(166, 140, 91, 0.2), rgba(74, 63, 107, 0.3));
  border: 2px solid var(--color-accent-light);
  width: 60px;
  height: 60px;
  font-size: 28px;
}

.timbre-label {
  font-size: 11px;
  color: var(--color-grey-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timbre-waves {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.timbre-wave {
  position: absolute;
  width: 100%;
  height: 2px;
  top: 50%;
  opacity: 0.6;
}

.timbre-wave::before {
  content: '';
  position: absolute;
  width: 60px;
  height: 100%;
  background: var(--color-accent);
  animation: wave-flow 2s ease-in-out infinite;
}

.timbre-wave:nth-child(1) { top: 40%; }
.timbre-wave:nth-child(2) { top: 50%; }
.timbre-wave:nth-child(3) { top: 60%; }
.timbre-wave:nth-child(1)::before { animation-delay: 0s; }
.timbre-wave:nth-child(2)::before { animation-delay: 0.3s; }
.timbre-wave:nth-child(3)::before { animation-delay: 0.6s; }

@keyframes wave-flow {
  0% { left: 15%; opacity: 0; transform: scaleX(0.5); }
  50% { opacity: 1; transform: scaleX(1); }
  100% { left: 75%; opacity: 0; transform: scaleX(0.5); }
}

.timbre-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.timbre-arrow-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-grey-dark), var(--color-accent), var(--color-grey-dark));
  position: relative;
}

.timbre-arrow-line::after {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--color-accent);
}

.timbre-pulse {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--color-accent-light);
  border-radius: 50%;
  animation: pulse-travel 1.5s ease-in-out infinite;
}

@keyframes pulse-travel {
  0% { left: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}

/* Branching Narrative Diagram */
.narrative-diagram {
  width: 100%;
  height: 200px;
  position: relative;
  margin-bottom: var(--space-md);
}

.narrative-svg {
  width: 100%;
  height: 100%;
}

.narrative-node {
  fill: var(--color-black-lighter);
  stroke: var(--color-accent);
  stroke-width: 2;
  transition: all 0.3s ease;
}

.narrative-node.active {
  fill: var(--color-accent);
  filter: drop-shadow(0 0 8px rgba(166, 140, 91, 0.5));
}

.narrative-node.choice {
  stroke: var(--color-violet);
}

.narrative-node.choice.active {
  fill: var(--color-violet);
  filter: drop-shadow(0 0 8px rgba(74, 63, 107, 0.5));
}

.narrative-path {
  fill: none;
  stroke: var(--color-grey-dark);
  stroke-width: 2;
  stroke-dasharray: 5 3;
}

.narrative-path.active {
  stroke: var(--color-accent);
  stroke-dasharray: none;
  animation: path-glow 2s ease-in-out infinite;
}

@keyframes path-glow {
  0%, 100% { stroke-opacity: 0.5; }
  50% { stroke-opacity: 1; }
}

.narrative-pulse {
  fill: var(--color-accent-light);
  opacity: 0;
}

.narrative-pulse.animate {
  animation: node-pulse 3s ease-in-out infinite;
}

@keyframes node-pulse {
  0% { opacity: 0; r: 6; }
  10% { opacity: 1; }
  50% { opacity: 1; }
  60% { opacity: 0; r: 6; }
  100% { opacity: 0; }
}

.narrative-label {
  fill: var(--color-grey-light);
  font-size: 10px;
  text-anchor: middle;
}

.narrative-vote-icon {
  animation: vote-float 2s ease-in-out infinite;
}

@keyframes vote-float {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-3px); opacity: 1; }
}

/* Audience Orchestra Diagram */
.orchestra-diagram {
  width: 100%;
  height: 180px;
  position: relative;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.orchestra-stage {
  position: relative;
  width: 280px;
  height: 160px;
}

.orchestra-conductor {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.conductor-icon {
  width: 40px;
  height: 40px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 4px;
  animation: conductor-pulse 2s ease-in-out infinite;
}

@keyframes conductor-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(166, 140, 91, 0.4); }
  50% { box-shadow: 0 0 0 15px rgba(166, 140, 91, 0); }
}

.conductor-label {
  font-size: 10px;
  color: var(--color-grey-light);
  text-transform: uppercase;
}

.orchestra-avatars {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.avatar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.avatar-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  position: relative;
  border: 2px solid var(--color-grey-dark);
  background: var(--color-black-lighter);
  transition: all 0.3s ease;
}

.avatar-icon.active {
  border-color: var(--color-accent);
  background: rgba(166, 140, 91, 0.15);
}

.avatar-note {
  position: absolute;
  top: -20px;
  font-size: 14px;
  opacity: 0;
  animation: note-rise 2s ease-out infinite;
}

.avatar-group:nth-child(1) .avatar-note { animation-delay: 0s; }
.avatar-group:nth-child(2) .avatar-note { animation-delay: 0.5s; }
.avatar-group:nth-child(3) .avatar-note { animation-delay: 1s; }
.avatar-group:nth-child(4) .avatar-note { animation-delay: 1.5s; }
.avatar-group:nth-child(5) .avatar-note { animation-delay: 0.25s; }

@keyframes note-rise {
  0% { opacity: 0; transform: translateY(10px); }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-25px); }
}

.orchestra-prompt {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
}

.prompt-bar {
  width: 8px;
  height: 30px;
  background: var(--color-grey-dark);
  border-radius: 4px;
  animation: prompt-fill 2s ease-in-out infinite;
}

.prompt-bar:nth-child(1) { animation-delay: 0s; }
.prompt-bar:nth-child(2) { animation-delay: 0.2s; }
.prompt-bar:nth-child(3) { animation-delay: 0.4s; }
.prompt-bar:nth-child(4) { animation-delay: 0.6s; }
.prompt-bar:nth-child(5) { animation-delay: 0.8s; }

@keyframes prompt-fill {
  0%, 100% {
    background: var(--color-grey-dark);
    height: 15px;
  }
  50% {
    background: var(--color-accent);
    height: 30px;
  }
}

/* Connection lines from conductor to avatars */
.orchestra-connections {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  height: 60px;
  pointer-events: none;
}

.connection-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  top: 30px;
  opacity: 0;
  animation: connection-pulse 2s ease-in-out infinite;
}

.connection-line:nth-child(1) { left: 20%; width: 30%; animation-delay: 0s; }
.connection-line:nth-child(2) { left: 35%; width: 30%; animation-delay: 0.4s; }
.connection-line:nth-child(3) { left: 50%; width: 30%; animation-delay: 0.8s; }

@keyframes connection-pulse {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.6; }
}
