/* ==========================================================================
   AGNICORP MEDIA - LUXURY CREATIVE AGENCY STYLESHEET
   ========================================================================== */

:root {
  --bg-deep: #070709;
  --bg-void: #030304;
  --bg-surface: #111116;
  --bg-card: rgba(18, 18, 24, 0.72);
  --bg-card-hover: rgba(26, 26, 36, 0.9);
  
  --primary-fire: #FF4D12;
  --primary-crimson: #FF0055;
  --primary-amber: #FFA034;
  --accent-violet: #9B00FF;
  --accent-mint: #00FF87;
  
  --fire-gradient: linear-gradient(135deg, #FF4D12 0%, #FF0055 50%, #FFA034 100%);
  --fire-glow: 0 0 50px rgba(255, 77, 18, 0.35);
  --card-glow: 0 10px 40px -10px rgba(0, 0, 0, 0.8), 0 0 1px 1px rgba(255, 255, 255, 0.08);
  
  --text-white: #FFFFFF;
  --text-secondary: #D4D4E0;
  --text-muted: #868699;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 77, 18, 0.35);

  --font-display: 'Syne', sans-serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  --nav-height: 84px;
  --container-max: 1360px;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & FOUNDATION
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-white);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  line-height: 1.6;
}

body.modal-locked,
body.nav-locked {
  overflow: hidden;
}

/* Subtle Film Grain */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* WebGL Background Canvas */
#webgl-canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

/* Selection */
::selection {
  background: var(--primary-fire);
  color: #FFFFFF;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-void);
}
::-webkit-scrollbar-thumb {
  background: #2A2A38;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-fire);
}

/* ==========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-white);
}

p {
  color: var(--text-secondary);
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

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

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-fire);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mono-tag::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--primary-fire);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-fire);
}

/* Containers */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.section-spacing {
  padding-top: clamp(80px, 12vw, 150px);
  padding-bottom: clamp(80px, 12vw, 150px);
}

.section-header {
  margin-bottom: clamp(40px, 6vw, 70px);
}

.section-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin-top: 14px;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  max-width: 650px;
  line-height: 1.6;
}

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.35s var(--transition-smooth);
  position: relative;
  overflow: hidden;
  background: transparent;
  color: #fff;
}

.btn-primary {
  background: var(--primary-fire);
  color: #FFFFFF;
  box-shadow: 0 8px 30px rgba(255, 77, 18, 0.4);
}

.btn-primary:hover {
  background: #ff5e28;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 77, 18, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-subtle);
  color: var(--text-white);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.775rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
#cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--primary-fire);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

#cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255, 77, 18, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.3s var(--transition-smooth),
              height 0.3s var(--transition-smooth),
              background 0.3s ease,
              border-color 0.3s ease;
}

#cursor-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity 0.2s ease;
}

#cursor-ring.cursor-hover {
  width: 68px;
  height: 68px;
  background: rgba(255, 77, 18, 0.15);
  border-color: var(--primary-fire);
  backdrop-filter: blur(4px);
}

#cursor-ring.cursor-has-label #cursor-label {
  opacity: 1;
}

#cursor-ring.cursor-click {
  transform: translate(-50%, -50%) scale(0.85);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 100;
  pointer-events: none;
}

.site-header .container {
  pointer-events: auto;
}

/* Section Scroll Margin to prevent clipping under fixed navbar */
section {
  position: relative;
  z-index: 2;
  scroll-margin-top: 110px;
}

/* ==========================================================================
   FLOATING CINEMATIC 3D JOURNEY HUD PILL (BOTTOM-RIGHT, ZERO OVERLAP)
   ========================================================================== */
.floating-stage-hud {
  position: fixed;
  bottom: 24px;
  right: 28px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(13, 13, 17, 0.84);
  border: 1px solid rgba(255, 77, 18, 0.35);
  border-radius: 9999px;
  backdrop-filter: blur(24px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 77, 18, 0.15);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  pointer-events: none;
  transition: all 0.3s ease;
}

@media (max-width: 600px) {
  .floating-stage-hud {
    bottom: 16px;
    right: 16px;
    padding: 6px 12px;
    font-size: 0.68rem;
  }
}

.hud-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-fire);
  box-shadow: 0 0 10px var(--primary-fire);
  animation: pulse 1.6s infinite;
}

.header-glass-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  background: rgba(13, 13, 17, 0.82);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  backdrop-filter: blur(24px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-flame {
  width: 30px;
  height: 30px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}

.logo-text .dot {
  color: var(--primary-fire);
}

/* Nav Links */
.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-item a {
  font-family: var(--font-mono);
  font-size: 0.825rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-item a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-fire);
  transition: width 0.3s ease;
}

.nav-item a:hover {
  color: var(--text-white);
}

.nav-item a:hover::after {
  width: 100%;
}

/* Nav Actions Right */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.audio-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.audio-toggle-btn.audio-active {
  background: rgba(255, 77, 18, 0.15);
  border-color: var(--primary-fire);
  color: var(--primary-fire);
}

.status-ticker {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (min-width: 1024px) {
  .status-ticker {
    display: flex;
  }
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background: #00FF87;
  border-radius: 50%;
  box-shadow: 0 0 10px #00FF87;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Mobile Hamburger & Responsive Header */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
}

@media (max-width: 900px) {
  .site-header {
    top: 12px;
  }
  .header-glass-pill {
    padding: 10px 18px;
  }
  .nav-links-desktop {
    display: none !important;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header-actions .btn-sm {
    display: none;
  }
  .header-actions {
    gap: 8px;
  }
  .audio-toggle-btn .audio-label {
    display: none;
  }
  .audio-toggle-btn {
    padding: 8px 10px;
  }
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 7, 9, 0.98);
  backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: all 0.4s var(--transition-smooth);
}

.mobile-drawer-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-white);
}

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

/* ==========================================================================
   PINNED SCROLLYTELLING HERO PORTAL TRACK
   ========================================================================== */
.hero-portal-track {
  position: relative;
  height: 270vh; /* Deep scrollytelling timeline */
  width: 100%;
}

.hero-portal-pinned {
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-margin-top: 0 !important;
}

/* Futuristic Cinematic Telemetry HUD Overlay */
.portal-telemetry-hud {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  padding: calc(var(--nav-height) + 16px) 32px 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.telemetry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  opacity: 0.75;
}

.telemetry-mono {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--primary-amber);
  text-shadow: 0 0 10px rgba(255, 160, 52, 0.4);
}

.telemetry-crosshair {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: rgba(255, 77, 18, 0.35);
  border-style: solid;
}
.telemetry-crosshair.tl { top: calc(var(--nav-height) + 12px); left: 24px; border-width: 2px 0 0 2px; }
.telemetry-crosshair.tr { top: calc(var(--nav-height) + 12px); right: 24px; border-width: 2px 2px 0 0; }
.telemetry-crosshair.bl { bottom: 20px; left: 24px; border-width: 0 0 2px 2px; }
.telemetry-crosshair.br { bottom: 20px; right: 24px; border-width: 0 2px 2px 0; }

.scroll-scrub-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}

.scrub-bar-track {
  width: 160px;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.scrub-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--fire-gradient);
  border-radius: 999px;
  box-shadow: 0 0 12px var(--primary-fire);
  transition: width 0.08s ease-out;
}

.scrub-prompt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  animation: pulsePrompt 2s infinite ease-in-out;
}

@keyframes pulsePrompt {
  0%, 100% { opacity: 0.6; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(3px); }
}

/* Layer 1: Main Hero Presentation (Transforms out on scroll) */
.hero-layer-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  will-change: transform, opacity, filter;
  transform-origin: center center;
  padding-top: calc(var(--nav-height) + 16px);
  padding-bottom: 30px;
}

.hero-container-inner {
  width: 100%;
}

/* Layer 2: Deep Hyperspace Portal Chamber (Zooms in through 3D Core) */
.hero-layer-portal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  transform: scale(0.3);
  transform-origin: center center;
  will-change: transform, opacity, filter;
}

.portal-chamber-content {
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.portal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 24px;
  background: rgba(255, 77, 18, 0.12);
  border: 1px solid rgba(255, 77, 18, 0.4);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--primary-amber);
  margin-bottom: 24px;
  box-shadow: 0 0 30px rgba(255, 77, 18, 0.25);
}

.flame-sparkle {
  color: var(--primary-fire);
}

.portal-headline {
  font-size: clamp(3rem, 7.5vw, 6.8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-shadow: 0 0 60px rgba(255, 77, 18, 0.5);
}

.portal-sub {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 1.2vw, 0.95rem);
  letter-spacing: 0.16em;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px auto;
}

.portal-triad-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.triad-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(13, 13, 17, 0.85);
  border: 1px solid rgba(255, 77, 18, 0.3);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.triad-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-fire);
}

.triad-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-white);
}

/* Kinetic Marquee Tickers (like marketingevangelist.ru) */
.kinetic-ticker-wrap {
  width: 100vw;
  overflow: hidden;
  padding: 30px 0;
  position: relative;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

.kinetic-ticker-inner {
  display: flex;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.04);
  text-transform: uppercase;
  will-change: transform;
}

.ticker-forward {
  animation: tickerSlideLeft 40s linear infinite;
}

.ticker-reverse {
  animation: tickerSlideRight 40s linear infinite;
}

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

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

@media (max-width: 768px) {
  .hero-portal-track {
    height: 220vh;
  }
  .portal-telemetry-hud {
    padding: calc(var(--nav-height) + 12px) 16px 16px 16px;
    justify-content: flex-end; /* Anchors the indicator cleanly to the bottom */
  }
  .telemetry-top {
    display: none; /* Hide top text on mobile so H1 is totally unobstructed */
  }
  .scroll-scrub-indicator {
    margin-bottom: 12px;
  }
  .scrub-prompt {
    display: none !important; /* Mobile swipe is natural; only the sleek 3px progress bar is needed */
  }
  .floating-stage-hud {
    bottom: 12px !important;
    left: 16px !important;
    right: auto !important;
    padding: 5px 10px !important;
    font-size: 0.65rem !important;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  body.has-scrolled .floating-stage-hud {
    opacity: 1;
  }
  body.has-scrolled .scrub-prompt {
    display: none !important;
  }

  /* Optimize Hero Layer 1 containment for mobile */
  .hero-layer-main {
    padding-top: calc(var(--nav-height) + 6px);
    padding-bottom: 24px;
  }
  .hero-media-col {
    display: none; /* Hide preview card in sticky chamber; reel opens from CTA button */
  }
  .hero-meta-badge {
    margin-bottom: 8px;
    padding: 4px 12px;
    font-size: 0.72rem;
  }
  .hero-title {
    font-size: clamp(1.6rem, 6.2vw, 2.1rem);
    line-height: 1.08;
    margin-bottom: 10px;
  }
  .hero-subhead {
    font-size: 0.825rem;
    line-height: 1.38;
    margin-bottom: 14px;
  }
  .hero-cta-group {
    gap: 8px;
    margin-bottom: 14px;
  }
  .hero-cta-group .btn {
    padding: 10px 18px;
    font-size: 0.825rem;
  }
  .hero-stats-strip {
    padding-top: 10px;
    gap: 8px;
    margin-bottom: 32px; /* Lifts stats well above the bottom scrub indicator */
  }
  .stat-value {
    font-size: 1.35rem;
  }
  .stat-label {
    font-size: 0.65rem;
  }
  .scroll-scrub-indicator {
    margin-bottom: 8px;
  }

  /* Layer 2 Portal chamber mobile tuning */
  .portal-headline {
    font-size: clamp(1.8rem, 6.5vw, 2.5rem);
    margin-bottom: 12px;
  }
  .portal-sub {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    padding: 0 10px;
    margin-bottom: 20px;
  }
  .portal-triad-tags {
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
  .triad-item {
    padding: 6px 14px;
    justify-content: center;
  }
}

/* ==========================================================================
   HERO INNER COMPONENTS
   ========================================================================== */

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
}

.hero-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px;
  background: rgba(255, 77, 18, 0.08);
  border: 1px solid rgba(255, 77, 18, 0.25);
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.hero-subhead {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-interactive-reel-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 24px;
  backdrop-filter: blur(20px);
  box-shadow: var(--card-glow);
  cursor: pointer;
  transition: transform 0.4s var(--transition-smooth), border-color 0.4s ease;
}

.hero-interactive-reel-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--border-highlight);
}

.reel-card-preview {
  aspect-ratio: 16/9;
  border-radius: 14px;
  background: linear-gradient(135deg, #1A0903, #2A0B1A, #0A0512);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.reel-card-preview-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 77, 18, 0.35), transparent 70%);
}

.play-button-ring {
  width: 64px;
  height: 64px;
  background: var(--primary-fire);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(255, 77, 18, 0.7);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.hero-interactive-reel-card:hover .play-button-ring {
  transform: scale(1.15);
}

.reel-card-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.reel-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.reel-card-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Stats Ticker Strip */
.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 36px;
}

@media (min-width: 768px) {
  .hero-stats-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   TRANSPARENT CINEMATIC SECTION BACKGROUNDS
   All sections remain transparent so the 3D WebGL universe is fully visible!
   ========================================================================== */
.about-section,
.services-section,
.portfolio-section,
.process-section,
.proof-section,
.contact-section,
.faq-section {
  position: relative;
  background: transparent !important;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(4, 4, 6, 0.82) !important;
  backdrop-filter: blur(20px);
  padding-top: 80px;
  padding-bottom: 40px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   CINEMATIC HUD INDICATOR (INTEGRATED INTO NAVBAR)
   ========================================================================== */
.nav-stage-indicator {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 77, 18, 0.12);
  border: 1px solid rgba(255, 77, 18, 0.35);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #fff;
  transition: all 0.3s ease;
}

@media (min-width: 1150px) {
  .nav-stage-indicator {
    display: flex;
  }
}

.nav-stage-indicator .stage-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-fire);
  box-shadow: 0 0 10px var(--primary-fire);
  animation: pulse 1.8s infinite;
}

/* Hide floating side tracker below 1600px to guarantee zero content collisions */
.cinematic-hud-tracker {
  display: none;
}

@media (min-width: 1680px) {
  .cinematic-hud-tracker {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    pointer-events: none;
  }
}

.manifesto-lead {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--text-secondary);
}

.manifesto-lead strong {
  color: var(--text-white);
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .about-pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px 30px;
  backdrop-filter: blur(20px);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
}

.pillar-index {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--primary-fire);
  margin-bottom: 18px;
}

.pillar-title {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.pillar-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   SERVICES MATRIX
   ========================================================================== */
.services-section {
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 38px 32px;
  backdrop-filter: blur(20px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s var(--transition-smooth);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(255, 77, 18, 0.2);
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.service-number {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-fire);
}

.service-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  color: var(--text-secondary);
}

.service-title {
  font-size: 1.65rem;
  margin-bottom: 14px;
  line-height: 1.15;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.service-deliverables {
  list-style: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-deliverables li {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-deliverables li::before {
  content: "→";
  color: var(--primary-fire);
}

.service-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.service-impact {
  color: #00FF87;
  font-weight: 600;
}

/* ==========================================================================
   SELECTED WORK / PORTFOLIO
   ========================================================================== */
.portfolio-section {
  position: relative;
}

.portfolio-filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.portfolio-filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.775rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.portfolio-filter-btn.active,
.portfolio-filter-btn:hover {
  background: var(--primary-fire);
  border-color: var(--primary-fire);
  color: #FFFFFF;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-highlight);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 77, 18, 0.2);
}

.case-card-media {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.case-media-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
  background-image: radial-gradient(rgba(255,255,255,0.15) 1px, transparent 0);
  background-size: 16px 16px;
}

.case-media-hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hud-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hud-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.case-media-center-graphic {
  position: relative;
  z-index: 2;
  text-align: center;
  margin: auto 0;
}

.media-orb {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255,255,255,0) 70%);
  margin: 0 auto 12px;
  opacity: 0.8;
  filter: blur(4px);
}

.media-preview-title {
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.case-media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 7, 9, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.case-card:hover .case-media-overlay {
  opacity: 1;
}

.case-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 18px;
  border-radius: 999px;
}

.case-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.case-client {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--primary-fire);
  letter-spacing: 0.06em;
}

.case-category-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.case-title {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.case-lead {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.case-metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
  margin-bottom: 16px;
}

.mini-metric {
  display: flex;
  flex-direction: column;
}

.m-val {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.m-lbl {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: var(--text-muted);
}

/* ==========================================================================
   CREATIVE PROCESS (THE AGNI ENGINE)
   ========================================================================== */
.process-section {
  position: relative;
  background: transparent;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 34px 28px;
  backdrop-filter: blur(20px);
  position: relative;
  transition: all 0.3s ease;
}

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

.process-step-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: 8px;
}

.process-phase {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--primary-fire);
  margin-bottom: 12px;
}

.process-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.process-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
}

.process-bullets {
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.process-bullets li::before {
  content: "•";
  color: var(--primary-fire);
  margin-right: 6px;
}

/* ==========================================================================
   TESTIMONIALS & PROOF
   ========================================================================== */
.proof-section {
  position: relative;
}

.testimonials-slider-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: clamp(32px, 6vw, 64px);
  backdrop-filter: blur(24px);
  position: relative;
  box-shadow: var(--card-glow);
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.4s ease;
}

.testimonial-slide.active {
  display: block;
}

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

.t-quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--primary-fire);
  opacity: 0.4;
  margin-bottom: -20px;
}

.t-quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.95rem);
  line-height: 1.4;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 36px;
}

.t-author-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.t-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.t-author-info {
  display: flex;
  flex-direction: column;
}

.t-author-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.t-author-role {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.t-author-loc {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.slider-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.t-dot.active {
  width: 24px;
  border-radius: 999px;
  background: var(--primary-fire);
}

.slider-nav-btns {
  display: flex;
  gap: 10px;
}

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

.slider-nav-btn:hover {
  background: var(--primary-fire);
  border-color: var(--primary-fire);
}

/* ==========================================================================
   CONTACT & BRIEF BUILDER
   ========================================================================== */
.contact-section {
  position: relative;
  background: transparent;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.studio-locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 32px 0;
}

@media (min-width: 640px) {
  .studio-locations-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.studio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 20px;
}

.studio-city {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.studio-address {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.direct-channels-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.channel-item a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Form Card */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 44px);
  backdrop-filter: blur(24px);
  box-shadow: var(--card-glow);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.service-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-choice-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.service-choice-chip.selected {
  background: rgba(255, 77, 18, 0.15);
  border-color: var(--primary-fire);
  color: var(--primary-fire);
}

.currency-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.currency-toggles {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px;
  border-radius: 6px;
}

.currency-toggle-btn {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.currency-toggle-btn.active {
  background: var(--primary-fire);
  color: #fff;
}

.budget-val-display {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #00FF87;
}

.range-slider {
  width: 100%;
  accent-color: var(--primary-fire);
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  outline: none;
}

.form-input-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .form-input-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 18px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.form-control:focus {
  border-color: var(--primary-fire);
}

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

.form-success-banner {
  display: none;
  background: rgba(0, 255, 135, 0.12);
  border: 1px solid #00FF87;
  color: #00FF87;
  padding: 16px 20px;
  border-radius: 12px;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  align-items: center;
  gap: 12px;
}

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

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  position: relative;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.faq-icon {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--primary-fire);
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.faq-answer.open {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 28px 24px 28px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #030305;
  padding-top: 80px;
  padding-bottom: 40px;
  position: relative;
  z-index: 2;
}

.footer-top-row {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .footer-top-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-cta-huge {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.social-pill {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 8px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  transition: all 0.25s ease;
}

.social-pill:hover {
  background: var(--primary-fire);
  border-color: var(--primary-fire);
  color: #fff;
}

.footer-bottom-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .footer-bottom-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ==========================================================================
   MODALS (CASE STUDY & SHOWREEL)
   ========================================================================== */
.custom-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 4, 6, 0.88);
  backdrop-filter: blur(28px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  padding: 20px;
  transition: opacity 0.35s ease;
}

.custom-modal-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog-window {
  width: 100%;
  max-width: 1040px;
  max-height: 90vh;
  background: #0D0D12;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.98), 0 0 40px rgba(255, 77, 18, 0.15);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s var(--transition-smooth);
}

.custom-modal-backdrop.is-active .modal-dialog-window {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--primary-fire);
  border-color: var(--primary-fire);
}

/* Modal Inner Body */
.modal-hero {
  padding: clamp(36px, 6vw, 60px) clamp(24px, 5vw, 48px);
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.modal-case-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 10px;
}

.modal-client-line {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.modal-headline-hero {
  font-size: 1.25rem;
  color: #FFFFFF;
  max-width: 750px;
  line-height: 1.45;
}

.modal-content-grid {
  padding: clamp(24px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  background: #0A0A0F;
}

@media (min-width: 840px) {
  .modal-content-grid {
    grid-template-columns: 1.3fr 0.7fr;
  }
}

.modal-section {
  margin-bottom: 32px;
}

.modal-section-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--primary-fire);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.modal-body-p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.modal-deliverables-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-deliverables-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #fff;
}

.modal-quote-box {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--primary-fire);
  padding: 24px;
  border-radius: 0 16px 16px 0;
  margin-top: 30px;
}

.modal-quote-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 12px;
  color: #fff;
}

.modal-quote-author strong {
  display: block;
  font-size: 0.95rem;
}

.modal-quote-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal-metrics-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
}

.modal-side-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.modal-metrics-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-metric-row {
  display: flex;
  flex-direction: column;
}

.m-big {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.m-desc {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

.modal-cta-card {
  background: linear-gradient(135deg, rgba(255, 77, 18, 0.1), rgba(255, 0, 85, 0.05));
  border: 1px solid rgba(255, 77, 18, 0.3);
  border-radius: 20px;
  padding: 24px;
}

.modal-cta-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.modal-cta-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

/* Showreel Modal Styling */
.reel-player-container {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  position: relative;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

#reel-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.reel-hud-controls {
  padding: 20px 28px;
  background: #0B0B0F;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.reel-timeline-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  cursor: pointer;
  border-radius: 2px;
}

#reel-progress-bar {
  width: 0%;
  height: 100%;
  background: var(--primary-fire);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--primary-fire);
}

.reel-control-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reel-timecode-display {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SCROLL REVEALS & PERFORMANCE
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
  will-change: opacity, transform;
}

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

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