/* ==========================================================================
   VANEAI.MX — AI CINEMATIC CONTENT & CREATIVE AUTOMATION
   Inspired by: systms.ai · ozon.studio · juliaoleksy.com · slixel Pulse Slider
   ========================================================================== */

:root {
  /* Core Palette — Dark Cinema Lab (Default) */
  --bg-primary: #070709;
  --bg-secondary: #0e0e12;
  --bg-elevated: #15151c;
  --bg-glass: rgba(14, 14, 18, 0.76);
  --bg-pill: rgba(20, 20, 26, 0.68);

  --text-primary: #f3f1ec;
  --text-secondary: #a8a6a1;
  --text-muted: #686662;

  /* Bold Creative Accents */
  --accent-vermilion: #ff2d1e;
  --accent-vermilion-glow: rgba(255, 45, 30, 0.38);
  --accent-amber: #ff7a18;
  --accent-violet: #8b5cf6;
  --accent-cyan: #00f0ff;

  --border-subtle: rgba(243, 241, 236, 0.11);
  --border-strong: rgba(243, 241, 236, 0.26);

  /* Typography */
  --font-display: 'Syne', 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-grotesk: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --container-max: 1440px;
  --header-height: 68px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Ozon Studio Homage — Industrial Cool Grey Light Mode */
html[data-theme="light"] {
  --bg-primary: #cfcfcf;
  --bg-secondary: #dcdcdc;
  --bg-elevated: #e6e6e6;
  --bg-glass: rgba(207, 207, 207, 0.84);
  --bg-pill: rgba(25, 25, 28, 0.82);

  --text-primary: #0a0a0c;
  --text-secondary: #2e2e33;
  --text-muted: #5a5a62;

  --border-subtle: rgba(10, 10, 12, 0.15);
  --border-strong: rgba(10, 10, 12, 0.35);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  transition: background-color 0.4s ease, color 0.4s ease;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3.5vw, 3.25rem);
}

.section-pad {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brace {
  color: var(--accent-vermilion);
  font-weight: 700;
}

.idx, .idx-highlight {
  color: var(--accent-vermilion);
  font-weight: 600;
}

/* Subtle Film Grain */
.film-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.032;
  background-image: radial-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 0);
  background-size: 3px 3px;
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 72px;
  height: 72px;
  margin-left: -36px;
  margin-top: -36px;
  border-radius: 50%;
  background: rgba(255, 45, 30, 0.92);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  pointer-events: none;
  z-index: 9999;
  transform: scale(0);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 28px rgba(255, 45, 30, 0.45);
}

.custom-cursor.active {
  transform: scale(1);
}

@media (hover: none), (max-width: 900px) {
  .custom-cursor {
    display: none;
  }
}

/* ==========================================================================
   STICKY HEADER (SYSTMS.AI + OZON STUDIO)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3.5vw, 3.25rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  font-family: var(--font-grotesk);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-left: 2px;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-secondary);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.header-meta .divider {
  color: var(--accent-vermilion);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lang-toggle,
.theme-toggle {
  padding: 0.42rem 0.68rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.lang-toggle:hover,
.theme-toggle:hover {
  border-color: var(--border-strong);
}

.lang-opt {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.lang-opt.active {
  color: var(--accent-vermilion);
  font-weight: 700;
}

.theme-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-primary);
}

.header-reel-btn {
  padding: 0.46rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--accent-vermilion);
  color: #ffffff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.header-reel-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px var(--accent-vermilion-glow);
}

.rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  animation: pulseRec 1.4s infinite ease-in-out;
}

@keyframes pulseRec {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

/* ==========================================================================
   00 // HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-height);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-media-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--bg-primary);
  transition: background-color 0.4s ease;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
}

.hero-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: contrast(1.12) saturate(1.15);
  transform: scale(1.04);
  transition: opacity 0.6s ease, transform 6s ease;
}

.hero-video-embed {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-video-embed.loaded {
  opacity: 0.48;
}

.hero-video-embed iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
  border: 0;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 42%, rgba(255, 45, 30, 0.14), transparent 52%),
    linear-gradient(180deg, rgba(7, 7, 9, 0.68) 0%, rgba(7, 7, 9, 0.38) 45%, rgba(7, 7, 9, 0.94) 100%);
}

html[data-theme="light"] .hero-vignette {
  background:
    radial-gradient(circle at 72% 42%, rgba(255, 45, 30, 0.18), transparent 52%),
    linear-gradient(180deg, rgba(15, 15, 18, 0.55) 0%, rgba(15, 15, 18, 0.35) 50%, rgba(15, 15, 18, 0.88) 100%);
}

/* ==========================================================================
   OZON.STUDIO 3D ORBITAL VIDEO SCULPTURE (Dual Counter-Rotating 3D Rings)
   ========================================================================== */
.ozon-stage-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ozon-perspective-viewport {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 540px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
}

.ozon-3d-object {
  position: relative;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

.ozon-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
}

.ozon-ring-big {
  width: 1520px;
  height: 240px;
  margin-left: -760px;
  margin-top: -120px;
}

.ozon-ring-small {
  width: 1320px;
  height: 240px;
  margin-left: -660px;
  margin-top: -120px;
}

.ozon-arm {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  pointer-events: none;
}

.ozon-card {
  position: absolute;
  top: 50%;
  width: 280px;
  height: 330px;
  margin-top: -165px;
  transform-style: preserve-3d;
  pointer-events: auto;
  cursor: pointer;
  overflow: hidden;
  background: #0b0b0f;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.65);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

html[data-theme="light"] .ozon-card {
  border: 1px solid rgba(0, 0, 0, 0.35);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.ozon-card.end-left {
  left: 0;
  transform: rotateY(90deg);
}

.ozon-card.end-right {
  right: 0;
  transform: rotateY(-90deg);
}

.ozon-card:hover,
.ozon-card.is-hovered {
  border-color: var(--accent-vermilion);
  box-shadow: 0 0 36px var(--accent-vermilion-glow);
  filter: brightness(1.18) contrast(1.08);
}

.ozon-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.ozon-card-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.75rem;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 6, 9, 0.92) 100%);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.ozon-card-play {
  color: var(--accent-vermilion);
  font-weight: 700;
}

.ozon-center-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(7, 7, 9, 0.84) 0%, rgba(7, 7, 9, 0.54) 38%, rgba(7, 7, 9, 0.18) 68%, rgba(7, 7, 9, 0.65) 100%);
}

html[data-theme="light"] .ozon-center-vignette {
  background:
    radial-gradient(circle at 50% 50%, rgba(207, 207, 207, 0.82) 0%, rgba(207, 207, 207, 0.45) 40%, rgba(207, 207, 207, 0.08) 70%, rgba(180, 180, 185, 0.4) 100%);
}

html[data-theme="light"] .hero-content {
  color: #0a0a0c;
}

html[data-theme="light"] .hero-headline {
  color: #0a0a0c;
  text-shadow: 0 10px 34px rgba(255, 255, 255, 0.45);
}

html[data-theme="light"] .hero-subtitle,
html[data-theme="light"] .hero-top-telemetry,
html[data-theme="light"] .btn-ghost-cinema {
  color: #16161a;
}

html[data-theme="light"] .hero-eyebrow {
  background: rgba(10, 10, 12, 0.08);
  border-color: rgba(10, 10, 12, 0.22);
  color: #0a0a0c;
}

html[data-theme="light"] .btn-secondary-cinema {
  background: rgba(10, 10, 12, 0.85);
  color: #ffffff;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(1.5rem, 3vw, 2.75rem);
  padding-bottom: clamp(2rem, 4vw, 3.25rem);
  color: #f3f1ec;
  pointer-events: none;
}

.hero-content button,
.hero-content a {
  pointer-events: auto;
}

.hero-top-telemetry {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(243, 241, 236, 0.14);
  color: rgba(243, 241, 236, 0.78);
}

.telemetry-item .muted {
  color: var(--accent-vermilion);
  font-weight: 600;
}

.fps-badge {
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(255, 45, 30, 0.22);
  color: #ff6b5e;
  margin-left: 4px;
}

.hero-title-block {
  margin: auto 0;
  padding: clamp(2.5rem, 6vh, 5rem) 0;
  max-width: 1080px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  margin-bottom: 1.5rem;
  color: rgba(243, 241, 236, 0.9);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.6vw, 7.2rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
  color: #ffffff;
  text-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-subtitle {
  font-family: var(--font-grotesk);
  font-size: clamp(1.2rem, 2.3vw, 1.95rem);
  font-weight: 500;
  line-height: 1.3;
  max-width: 740px;
  color: rgba(243, 241, 236, 0.9);
}

.hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(243, 241, 236, 0.14);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.btn-primary-cinema {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.5rem;
  background: var(--accent-vermilion);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-family: var(--font-grotesk);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  box-shadow: 0 10px 30px var(--accent-vermilion-glow);
}

.btn-primary-cinema:hover {
  transform: translateY(-2px) scale(1.01);
  background: #ff4133;
  box-shadow: 0 14px 38px rgba(255, 45, 30, 0.55);
}

.btn-play-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.btn-meta {
  padding-left: 0.65rem;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
  opacity: 0.92;
}

.btn-secondary-cinema {
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  backdrop-filter: blur(10px);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.btn-secondary-cinema:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
}

.btn-ghost-cinema {
  padding: 0.95rem 1rem;
  color: rgba(243, 241, 236, 0.8);
  transition: color var(--transition-fast);
}

.btn-ghost-cinema:hover {
  color: #ffffff;
}

.hero-loop-selector {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(10, 10, 14, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.loop-label {
  padding: 0 0.4rem;
  color: rgba(243, 241, 236, 0.65);
}

.loop-chip {
  padding: 0.32rem 0.6rem;
  border-radius: 3px;
  color: rgba(243, 241, 236, 0.75);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.loop-chip:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.loop-chip.active {
  background: var(--accent-vermilion);
  color: #ffffff;
  font-weight: 700;
}

/* Kinetic Ticker Band */
.ticker-band {
  position: relative;
  z-index: 2;
  background: #0a0a0d;
  color: #f3f1ec;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.75rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 1.8rem;
  animation: tickerScroll 34s linear infinite;
}

.ticker-dot {
  color: var(--accent-vermilion);
}

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

/* ==========================================================================
   SECTION HEADERS (OZON + SYSTMS EDITORIAL GRID)
   ========================================================================== */
.section-header-grid {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 4.5vw, 3.75rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  overflow-wrap: break-word;
}

.section-lead-quote {
  font-family: var(--font-grotesk);
  font-size: clamp(1.08rem, 1.6vw, 1.38rem);
  color: var(--text-secondary);
  max-width: 720px;
  font-style: italic;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 720px;
}

.section-controls-meta {
  color: var(--text-muted);
}

/* ==========================================================================
   01 // SLIXEL PULSE SLIDER + JULIA OLEKSY NLE TIMELINE BAR
   ========================================================================== */
.pulse-slider-stage {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pulse-viewport {
  position: relative;
  width: 100%;
  min-height: clamp(460px, 64vh, 720px);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #050507;
  border: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.25rem, 2.5vw, 2.25rem);
  color: #f3f1ec;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.pulse-backdrop-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.pulse-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: blur(0px) contrast(1.08) saturate(1.1);
  transition:
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.45s ease;
}

/* Slixel Signature Motion-Blur Pulse Transition */
.pulse-viewport.is-pulsing .pulse-main-image {
  transform: scale(1.12) skewX(-2deg);
  filter: blur(22px) saturate(1.85) contrast(1.25);
  opacity: 0.62;
}

.pulse-viewport.is-pulsing .pulse-Overlay-content {
  transform: translateY(14px);
  opacity: 0.2;
  filter: blur(6px);
}

.pulse-inline-player {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #000;
}

.pulse-inline-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.pulse-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 6, 8, 0.72) 0%, rgba(6, 6, 8, 0.18) 38%, rgba(6, 6, 8, 0.88) 82%, rgba(6, 6, 8, 0.96) 100%),
    radial-gradient(circle at 18% 75%, rgba(255, 45, 30, 0.22), transparent 55%);
  pointer-events: none;
}

.pulse-hud-top {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.pulse-hud-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pulse-index-badge,
.pulse-cat-badge,
.pulse-duration-badge {
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-sm);
  background: rgba(12, 12, 16, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.pulse-index-badge {
  color: var(--accent-vermilion);
  font-weight: 700;
}

.pulse-blueprint-toggle {
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(15, 15, 20, 0.8);
  border: 1px solid rgba(255, 45, 30, 0.55);
  color: #ffffff;
  backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
}

.pulse-blueprint-toggle:hover,
.pulse-blueprint-toggle.active {
  background: var(--accent-vermilion);
  border-color: var(--accent-vermilion);
}

.pulse-Overlay-content {
  position: relative;
  z-index: 4;
  margin-top: auto;
  margin-bottom: 1.6rem;
  max-width: 780px;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease,
    filter 0.4s ease;
}

.pulse-meta-line {
  color: #ff7a6e;
  margin-bottom: 0.5rem;
}

.pulse-project-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 3.35rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.pulse-project-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.55;
  color: rgba(243, 241, 236, 0.86);
  margin-bottom: 1.25rem;
  max-width: 680px;
}

.pulse-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.btn-pulse-play {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.78rem 1.35rem;
  background: var(--accent-vermilion);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.btn-pulse-play:hover {
  transform: translateY(-2px);
  background: #ff4436;
}

.btn-pulse-modal {
  padding: 0.78rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  backdrop-filter: blur(10px);
  transition: background var(--transition-fast);
}

.btn-pulse-modal:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Blueprint Drawer inside Pulse Stage */
.pulse-blueprint-drawer {
  position: absolute;
  top: 4.5rem;
  right: 1.5rem;
  width: min(420px, calc(100% - 3rem));
  z-index: 6;
  background: rgba(10, 10, 14, 0.94);
  border: 1px solid var(--accent-vermilion);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.pulse-blueprint-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.blueprint-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--accent-vermilion);
}

.blueprint-row {
  margin-bottom: 0.85rem;
}

.blueprint-label {
  display: block;
  color: rgba(243, 241, 236, 0.55);
  margin-bottom: 0.25rem;
}

.blueprint-val {
  font-size: 0.88rem;
  color: #f3f1ec;
  line-height: 1.5;
}

/* Slixel Frosted-Glass Pulse Pills with Progress Bar */
.pulse-pills-bar {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.6rem;
}

.pulse-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 16, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: left;
  overflow: hidden;
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.pulse-pill:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.pulse-pill.active {
  border-color: var(--accent-vermilion);
  background: rgba(28, 16, 18, 0.86);
}

.pulse-pill-thumb {
  width: 44px;
  height: 30px;
  border-radius: 3px;
  object-fit: cover;
  flex-shrink: 0;
}

.pulse-pill-info {
  min-width: 0;
  flex: 1;
}

.pulse-pill-idx {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-vermilion);
}

.pulse-pill-name {
  display: block;
  font-family: var(--font-grotesk);
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pulse-pill-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: var(--accent-vermilion);
  transition: width 0.1s linear;
}

/* ==========================================================================
   JULIA OLEKSY INSPIRED INTERACTIVE FILM TIMELINE BAR
   ========================================================================== */
.nle-timeline-dock {
  background: #0b0b0f;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem 1rem;
  color: #f3f1ec;
}

.nle-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nle-tool-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nle-rec-indicator {
  color: var(--accent-vermilion);
  font-weight: 700;
}

.nle-timecode {
  padding: 0.18rem 0.5rem;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 3px;
  color: #ffffff;
  font-weight: 600;
}

.nle-clip-name {
  color: rgba(243, 241, 236, 0.68);
}

.nle-tool-center {
  color: rgba(243, 241, 236, 0.5);
  font-size: 0.68rem;
}

.nle-tool-right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nle-Transport-btn {
  padding: 0.25rem 0.55rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #f3f1ec;
  transition: background var(--transition-fast);
}

.nle-Transport-btn:hover {
  background: var(--accent-vermilion);
  border-color: var(--accent-vermilion);
}

.nle-ruler {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0.25rem;
  color: rgba(243, 241, 236, 0.36);
  font-size: 0.62rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.nle-track-wrapper {
  position: relative;
  margin-top: 0.55rem;
  height: 64px;
  background: #060608;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.nle-clips-track {
  display: flex;
  width: 100%;
  height: 100%;
  gap: 3px;
  padding: 4px;
}

.nle-clip-block {
  position: relative;
  height: 100%;
  flex: 1;
  min-width: 48px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition: flex 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, filter 0.2s ease;
  filter: grayscale(0.35) brightness(0.75);
}

.nle-clip-block:hover {
  flex: 1.55;
  filter: grayscale(0) brightness(1.05);
  border-color: #ffffff;
}

.nle-clip-block.active {
  flex: 1.85;
  filter: grayscale(0) brightness(1.1);
  border: 2px solid var(--accent-vermilion);
}

.nle-clip-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nle-clip-label {
  position: absolute;
  left: 4px;
  bottom: 3px;
  right: 4px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(6, 6, 9, 0.78);
  padding: 1px 4px;
  border-radius: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Red Playhead Indicator */
.nle-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5%;
  z-index: 10;
  pointer-events: none;
  transition: left 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.playhead-cap {
  color: var(--accent-vermilion);
  font-size: 0.72rem;
  line-height: 1;
  transform: translateX(-50%);
  text-shadow: 0 0 8px var(--accent-vermilion);
}

.playhead-line {
  width: 2px;
  height: 100%;
  background: var(--accent-vermilion);
  box-shadow: 0 0 10px var(--accent-vermilion);
  transform: translateX(-50%);
}

/* ==========================================================================
   02 // COMPLETE PRODUCTION VAULT (31 PIECES GRID)
   ========================================================================== */
.vault-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-chip {
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.filter-chip:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.filter-chip.active {
  background: var(--accent-vermilion);
  border-color: var(--accent-vermilion);
  color: #ffffff;
  font-weight: 700;
}

.vault-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.35rem;
}

.vault-card {
  group: card;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
}

.vault-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-vermilion);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.vault-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #050507;
  overflow: hidden;
}

.vault-card.is-vertical .vault-thumb-wrap {
  aspect-ratio: 16 / 10;
}

.vault-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.vault-card:hover .vault-thumb {
  transform: scale(1.06);
}

.vault-play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 6, 9, 0.35);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.vault-card:hover .vault-play-badge {
  opacity: 1;
}

.vault-play-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-vermilion);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 24px var(--accent-vermilion-glow);
}

.vault-time-tag {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  padding: 0.2rem 0.5rem;
  background: rgba(8, 8, 12, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.vault-cat-tag {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.2rem 0.55rem;
  background: rgba(8, 8, 12, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ff7a6e;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.vault-card-body {
  padding: 1.15rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.vault-card-title {
  font-family: var(--font-grotesk);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  line-height: 1.25;
}

.vault-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

/* ==========================================================================
   03 // AI TOOLBOX & UNIFIED MANIFESTO
   ========================================================================== */
.toolbox-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.25rem;
  align-items: start;
}

.toolbox-manifesto-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  position: relative;
  overflow: hidden;
}

.toolbox-manifesto-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-vermilion), var(--accent-amber), var(--accent-violet));
}

.manifesto-badge {
  color: var(--accent-vermilion);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.manifesto-prose {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.prose-lead {
  font-family: var(--font-grotesk);
  font-size: clamp(1.18rem, 1.7vw, 1.45rem);
  font-weight: 600;
  line-height: 1.42;
  color: var(--text-primary);
}

.prose-body {
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--text-secondary);
}

.vane-quote {
  padding: 1.35rem 1.5rem;
  border-left: 3px solid var(--accent-vermilion);
  background: rgba(255, 45, 30, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.75rem;
}

.vane-quote p {
  font-family: var(--font-grotesk);
  font-size: 1.02rem;
  font-style: italic;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.vane-quote cite {
  font-style: normal;
  color: var(--accent-vermilion);
}

.footprint-label {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.footprint-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.fp-pill {
  padding: 0.32rem 0.65rem;
  border-radius: 3px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  font-size: 0.7rem;
}

.toolbox-modules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.toolbox-module {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.toolbox-module:hover {
  border-color: var(--accent-vermilion);
  transform: translateX(4px);
}

.module-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.module-num {
  color: var(--accent-vermilion);
  font-weight: 700;
}

.module-status {
  color: var(--text-muted);
}

.module-title {
  font-family: var(--font-grotesk);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.module-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.9rem;
}

.module-try-btn {
  color: var(--accent-vermilion);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform var(--transition-fast);
}

.module-try-btn:hover {
  transform: translateX(4px);
}

/* ==========================================================================
   04 // CONTENT SYSTEMS & OPERATIONAL MODES (SYSTMS.AI INSPIRED)
   ========================================================================== */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.mode-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.mode-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.mode-card-accent {
  border-color: var(--accent-vermilion);
  background:
    radial-gradient(circle at top right, rgba(255, 45, 30, 0.14), transparent 60%),
    var(--bg-secondary);
}

.mode-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mode-index {
  color: var(--accent-vermilion);
  font-weight: 700;
}

.mode-pill {
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}

.mode-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.mode-desc {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 1.35rem;
  flex: 1;
}

.mode-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-primary);
  padding-top: 1rem;
  border-top: 1px dashed var(--border-subtle);
}

/* ==========================================================================
   04.5 // INSTAGRAM LAB BANNER
   ========================================================================== */
.ig-banner {
  background:
    linear-gradient(135deg, rgba(255, 45, 30, 0.14) 0%, rgba(139, 92, 246, 0.12) 100%),
    var(--bg-secondary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.ig-banner-left {
  max-width: 760px;
}

.ig-eyebrow {
  color: var(--accent-vermilion);
  margin-bottom: 0.45rem;
}

.ig-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.ig-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1.15rem;
}

.ig-series-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ig-series-tags a {
  padding: 0.38rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.ig-series-tags a:hover {
  border-color: var(--accent-vermilion);
  color: var(--accent-vermilion);
}

.btn-ig-follow {
  display: inline-block;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--text-primary);
  color: var(--bg-primary);
  font-weight: 700;
  transition: transform var(--transition-fast);
}

.btn-ig-follow:hover {
  transform: translateY(-2px);
}

/* ==========================================================================
   05 // SYSTMS.AI INSPIRED VERMILION CONTACT SECTION
   ========================================================================== */
.contact-section {
  background: var(--accent-vermilion);
  color: #09090b;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.contact-top-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 2.75rem;
  border-bottom: 1px solid rgba(9, 9, 11, 0.25);
  font-weight: 700;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-mega-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.4vw, 5rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: #09090b;
  overflow-wrap: break-word;
}

.contact-lead {
  font-family: var(--font-grotesk);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.48;
  margin-bottom: 2rem;
  color: rgba(9, 9, 11, 0.86);
  max-width: 580px;
}

.contact-direct-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contact-pill-link {
  padding: 0.72rem 1.1rem;
  border-radius: var(--radius-sm);
  background: #09090b;
  color: #f3f1ec;
  font-weight: 700;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.contact-pill-link:hover {
  transform: translateY(-2px);
  background: #1c1c22;
}

.contact-form-card {
  background: #09090b;
  color: #f3f1ec;
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.form-card-header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--accent-vermilion);
}

.brief-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  color: rgba(243, 241, 236, 0.7);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.78rem 0.9rem;
  border-radius: var(--radius-sm);
  background: #13131a;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f3f1ec;
  font-family: var(--font-sans);
  font-size: 0.94rem;
}

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

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.btn-submit-brief {
  flex: 1;
  padding: 0.88rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--accent-vermilion);
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  transition: background var(--transition-fast);
}

.btn-submit-brief:hover {
  background: #ff4538;
}

.btn-copy-ig {
  padding: 0.88rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #f3f1ec;
  transition: background var(--transition-fast);
}

.btn-copy-ig:hover {
  background: rgba(255, 255, 255, 0.1);
}

.form-feedback {
  color: #10b981;
  margin-top: 0.35rem;
}

/* ==========================================================================
   FOOTER (AI CREATIVE LAB SIGNATURE)
   ========================================================================== */
.site-footer {
  background: #050507;
  color: #f3f1ec;
  padding: 4rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-block {
  max-width: 420px;
}

.footer-logo {
  font-family: var(--font-grotesk);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.footer-lab-title {
  color: var(--accent-vermilion);
  margin-bottom: 0.45rem;
  font-weight: 700;
}

.footer-lab-text {
  color: rgba(243, 241, 236, 0.72);
  font-size: 0.96rem;
  line-height: 1.6;
}

.footer-nav-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 3.5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col-title {
  color: rgba(243, 241, 236, 0.45);
  margin-bottom: 0.35rem;
}

.footer-col a,
.footer-video-link {
  color: rgba(243, 241, 236, 0.82);
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  transition: color var(--transition-fast);
}

.footer-col a:hover,
.footer-video-link:hover {
  color: var(--accent-vermilion);
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(243, 241, 236, 0.48);
  font-size: 0.68rem;
}

/* ==========================================================================
   CINEMA LIGHTBOX MODAL PLAYER
   ========================================================================== */
.cinema-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
}

.cinema-modal[hidden] {
  display: none;
}

.cinema-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 6, 0.92);
  backdrop-filter: blur(18px);
}

.cinema-modal-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  background: #0b0b0f;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.85);
  color: #f3f1ec;
}

.cinema-modal-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  background: #111117;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.modal-bar-left,
.modal-bar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-yt-link {
  color: var(--accent-vermilion);
}

.modal-close-btn {
  padding: 0.35rem 0.75rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.modal-close-btn:hover {
  background: var(--accent-vermilion);
}

.cinema-modal-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  transition: aspect-ratio 0.25s ease, max-height 0.25s ease;
}

.cinema-modal.is-vertical-video .cinema-modal-content {
  max-width: 480px;
}

.cinema-modal.is-vertical-video .cinema-modal-stage {
  aspect-ratio: 9 / 16;
  max-height: 72vh;
}

.cinema-iframe-wrap,
.cinema-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.cinema-modal-footer {
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #0e0e14;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-video-desc {
  font-size: 0.88rem;
  color: rgba(243, 241, 236, 0.78);
  max-width: 640px;
}

.modal-reel-switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.modal-switch-chip {
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 0.66rem;
}

.modal-switch-chip:hover {
  background: var(--accent-vermilion);
  border-color: var(--accent-vermilion);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .section-header-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .toolbox-layout,
  .contact-main-grid,
  .modes-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .hide-mobile {
    display: none !important;
  }

  .container {
    padding: 0 1.15rem;
  }

  /* NLE Timeline Toolbar: 2 clean mobile rows so transport buttons never get pushed off-screen */
  .nle-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .nle-tool-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
  }

  .nle-tool-right {
    display: flex;
    align-items: center;
    justify-content: stretch;
    gap: 0.4rem;
    width: 100%;
  }

  .nle-Transport-btn {
    flex: 1;
    text-align: center;
    padding: 0.45rem 0.65rem;
    font-size: 0.75rem;
  }

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

  .nle-clips-track {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 520px) {
  .hero-headline {
    font-size: clamp(1.85rem, 8.8vw, 2.75rem);
    letter-spacing: -0.025em;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .section-title {
    font-size: clamp(1.55rem, 7vw, 2.3rem);
    letter-spacing: -0.02em;
  }

  .contact-mega-title {
    font-size: clamp(1.85rem, 8.6vw, 2.75rem);
    letter-spacing: -0.025em;
  }

  .header-inner {
    padding: 0.5rem 0.75rem;
    gap: 0.4rem;
  }

  .brand-logo {
    font-size: 0.95rem;
  }

  .header-controls {
    gap: 0.35rem;
  }

  .header-reel-btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.65rem;
  }

  .lang-toggle,
  .theme-toggle {
    padding: 0.32rem 0.48rem;
    font-size: 0.65rem;
  }

  .hero-cta-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .btn-primary-cinema,
  .btn-secondary-cinema,
  .btn-ghost-cinema {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-loop-selector {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .hero-loop-selector .loop-chip {
    flex-shrink: 0;
  }

  .vault-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .vault-filters .filter-chip {
    flex-shrink: 0;
  }

  .pulse-pills-bar {
    grid-template-columns: 1fr;
  }

  .nle-ruler {
    font-size: 0.55rem;
  }

  .form-card-header {
    flex-direction: column;
    gap: 0.35rem;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-submit-brief,
  .btn-copy-ig {
    width: 100%;
    justify-content: center;
  }
}
