/* ==========================================================================
   Z99 CREATIVE STUDIO - DESIGN SYSTEM & STYLESHEET
   Domain: z99creativestudio.com
   Brand Colors:
     - Void Black:      #050505 (90% Backgrounds)
     - Soft White:      #F5F5F2 (Typography)
     - Graphite:        #2B2B2B (UI, dividers)
     - Smoke Gray:      #8E8E8E (Secondary text)
     - Neon Lime:       #D7FF3F (Highlights, motion, CTAs)
     - Electric Lime:   #C8FF00 (Optional brighter accent)
   ========================================================================== */
/* Fonts are loaded asynchronously in parallel via HTML <link rel="preconnect"> to eliminate CSS render-blocking delays */

:root {
  /* Brand Palette */
  --void-black: #050505;
  --surface-dark: #0a0a0a;
  --surface-card: #111111;
  --surface-card-hover: #161616;
  --soft-white: #F5F5F2;
  --graphite: #2B2B2B;
  --graphite-light: #3a3a3a;
  --smoke-gray: #8E8E8E;
  --smoke-dark: #606060;
  
  /* Signature Accents */
  --neon-lime: #D7FF3F;
  --electric-lime: #C8FF00;
  --lime-glow: rgba(215, 255, 63, 0.28);
  --lime-glow-strong: rgba(200, 255, 0, 0.45);
  --lime-faint: rgba(215, 255, 63, 0.08);

  /* Typography */
  --font-display: 'Archivo Black', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --font-tech: 'Space Grotesk', monospace;

  /* Spacing & Layout */
  --container-max: 1360px;
  --header-height: 80px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--void-black);
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background-color: var(--void-black);
  color: var(--soft-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

/* UI Elements & Controls: eliminate mobile blue tap flash and accidental text selection */
a, button, input, textarea, select,
.btn, .filter-btn, .case-cat-pill, .country-pill,
.hero-badge, .card-tag, .tag, .badge, .chip,
.nav-link, .nav-logo, .menu-toggle, .nav-item,
.project-card, .service-card, .expertise-card,
.stat-item, .stat-number, .stat-label,
.ticker-wrap, .ticker-item, .marquee-item,
.modal-close-btn, .floating-whatsapp,
.accordion-header, .showreel-trigger,
.country-dot, .filter-bar, .portfolio-filter {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  outline: none;
}

/* Eliminate default browser blue focus rings on tap */
*:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--neon-lime);
  outline-offset: 2px;
}

/* Eliminate 300ms mobile tap delay across all interactive elements */
html, body, a, button, [role="button"],
.btn, .filter-btn, .case-cat-pill, .country-pill,
.nav-link, .bento-card, .project-card, .hero-badge,
.modal-close-btn, .floating-whatsapp, .menu-toggle {
  touch-action: manipulation;
}

/* Instant tactile feedback on tap/press (Zero sluggishness feeling) */
.btn:active,
.filter-btn:active,
.case-cat-pill:active,
.country-pill:active,
.nav-link:active,
.bento-card:active,
.modal-close-btn:active,
a.btn:active {
  transform: scale(0.96) !important;
  opacity: 0.88;
  transition: transform 0.05s ease, opacity 0.05s ease !important;
}

/* On mobile touch devices: prevent accidental text selection while dragging or scrolling */
@media (hover: none) and (pointer: coarse) {
  body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }
  
  /* Keep form inputs editable and selectable */
  input, textarea, [contenteditable="true"] {
    -webkit-user-select: text;
    user-select: text;
  }
}

/* Luxury Branded Selection: replaces any blue selection with cyber Neon Lime on Black */
::selection {
  background-color: var(--neon-lime) !important;
  color: var(--void-black) !important;
}

::-moz-selection {
  background-color: var(--neon-lime) !important;
  color: var(--void-black) !important;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

button, input, textarea {
  font-family: inherit;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--void-black);
}
::-webkit-scrollbar-thumb {
  background: var(--graphite);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-lime);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

/* Section Headers */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-tech);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--neon-lime);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--neon-lime);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-lime);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--soft-white);
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--smoke-gray);
  max-width: 700px;
  line-height: 1.7;
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--graphite);
  margin: 30px 0 50px;
  border: none;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-smooth);
  background: transparent;
}

.header.scrolled {
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: none;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  z-index: 1002;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

.brand-logo-divider {
  width: 1px;
  height: 22px;
  background-color: var(--graphite);
  display: inline-block;
  opacity: 0.85;
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.brand-logo-tagline {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--soft-white);
  text-transform: uppercase;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.06);
  filter: drop-shadow(0 0 12px var(--lime-glow));
}

.brand-logo-link:hover .brand-logo-divider {
  background-color: var(--neon-lime);
  box-shadow: 0 0 8px var(--lime-glow);
}

.brand-logo-link:hover .brand-logo-tagline {
  color: var(--neon-lime);
}

/* Nav Links Desktop */
.desktop-nav {
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--soft-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 0;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  color: var(--neon-lime);
}

.nav-link.active {
  color: var(--neon-lime);
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--neon-lime);
  box-shadow: 0 0 10px var(--neon-lime);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 250px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--graphite);
  border-radius: var(--radius-md);
  padding: 12px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-smooth);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
}

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

.dropdown-item {
  margin-bottom: 4px;
}
.dropdown-item:last-child {
  margin-bottom: 0;
}

.dropdown-link {
  display: block;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--smoke-gray);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.dropdown-link:hover {
  background: rgba(215, 255, 63, 0.1);
  color: var(--neon-lime);
  transform: translateX(4px);
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--neon-lime);
  color: var(--void-black);
  box-shadow: 0 0 20px var(--lime-glow);
}

.btn-primary:hover {
  background-color: var(--electric-lime);
  color: var(--void-black);
  box-shadow: 0 0 30px var(--lime-glow-strong);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--soft-white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--neon-lime);
  color: var(--neon-lime);
  box-shadow: 0 0 20px rgba(215, 255, 63, 0.2);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  border-color: var(--neon-lime);
  color: var(--neon-lime);
  background: rgba(215, 255, 63, 0.06);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.78rem;
}

/* Mobile Hamburger Toggle */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: var(--surface-card);
  border: 1px solid var(--graphite);
  border-radius: var(--radius-sm);
  cursor: pointer;
  gap: 5px;
  z-index: 1002;
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background-color: var(--soft-white);
  transition: all var(--transition-smooth);
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--neon-lime);
}
.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--neon-lime);
}

/* Mobile Menu Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 88%;
  max-width: 380px;
  height: 100vh;
  height: 100dvh;
  background: rgba(8, 8, 8, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--graphite);
  z-index: 2100;
  padding: 24px 24px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.85);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-inner-top {
  display: flex;
  flex-direction: column;
}

.drawer-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--graphite);
}

.drawer-top-bar .brand-logo-img {
  height: 32px;
}

.drawer-top-bar .brand-logo-divider {
  height: 16px;
}

.drawer-top-bar .brand-logo-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}

.drawer-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-card);
  border: 1px solid var(--graphite);
  color: var(--soft-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.drawer-close-btn:hover {
  background: var(--neon-lime);
  color: var(--void-black);
  border-color: var(--neon-lime);
  box-shadow: 0 0 15px var(--lime-glow);
}

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

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--soft-white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 0;
  transition: all var(--transition-fast);
  display: inline-block;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--neon-lime);
  transform: translateX(6px);
}

.drawer-inner-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--graphite);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2050;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px 0 80px;
}

.hero-canvas-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(5, 5, 5, 0.4) 0%, rgba(5, 5, 5, 0.95) 85%),
              linear-gradient(to bottom, transparent 60%, var(--void-black) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-ambient-glow {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--lime-glow) 0%, transparent 65%);
  filter: blur(70px);
  z-index: 2;
  pointer-events: none;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(43, 43, 43, 0.45);
  border: 1px solid var(--graphite);
  border-radius: var(--radius-pill);
  font-family: var(--font-tech);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--neon-lime);
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 3.8rem);
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--soft-white);
  margin-bottom: 22px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

.hero-title .hero-line-1 {
  display: block;
  white-space: nowrap;
}

.hero-title .hero-line-2 {
  display: block;
  white-space: nowrap;
}

.hero-title .text-accent {
  color: var(--neon-lime);
  display: inline-block;
  text-shadow: 0 0 35px var(--lime-glow);
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--smoke-gray);
  max-width: 780px;
  margin: 0 auto 40px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  margin: 44px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: fit-content;
  gap: 10px;
  color: var(--smoke-gray);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-tech);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.hero-scroll-indicator:hover {
  color: var(--neon-lime);
  transform: translateY(3px);
}

.hero-scroll-indicator:hover .scroll-mouse {
  border-color: var(--neon-lime);
  box-shadow: 0 0 15px var(--lime-glow);
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--graphite);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 7px;
  background-color: var(--neon-lime);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollAnim 1.8s infinite ease-in-out;
}

@keyframes scrollAnim {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 14px); opacity: 0; }
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-text-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lead-paragraph {
  font-size: 1.25rem;
  color: var(--soft-white);
  line-height: 1.6;
  font-weight: 500;
}

.secondary-paragraph {
  color: var(--smoke-gray);
  font-size: 1.02rem;
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.stat-card {
  background: var(--surface-card);
  border: 1px solid var(--graphite);
  padding: 24px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--graphite);
  transition: background var(--transition-fast);
}

.stat-card:hover {
  border-color: rgba(215, 255, 63, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.stat-card:hover::before {
  background: var(--neon-lime);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--neon-lime);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--soft-white);
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--smoke-gray);
  margin-top: 4px;
}

/* About Visual Frame */
.about-visual-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--graphite);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.about-visual-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-visual-frame:hover .about-visual-img {
  transform: scale(1.04);
}

.about-visual-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--graphite);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-tag-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--soft-white);
  text-transform: uppercase;
}

.about-tag-sub {
  font-size: 0.8rem;
  color: var(--neon-lime);
  font-family: var(--font-tech);
}

/* ==========================================================================
   SHOWREEL SECTION
   ========================================================================== */
.showreel-container {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--graphite);
  overflow: hidden;
  background: var(--surface-card);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  margin-top: 40px;
}

.showreel-frame-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background: #000;
  overflow: hidden;
}

.showreel-thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.showreel-container:hover .showreel-thumbnail {
  transform: scale(1.02);
}

.showreel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.2) 60%, rgba(5, 5, 5, 0.7) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.play-button-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(215, 255, 63, 0.15);
  border: 2px solid var(--neon-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px var(--lime-glow);
  transition: all var(--transition-bounce);
  margin-bottom: 0;
}

.play-button-ring svg {
  width: 32px;
  height: 32px;
  fill: var(--neon-lime);
  margin-left: 2px;
  transition: transform var(--transition-fast);
}

.showreel-overlay:hover .play-button-ring {
  transform: scale(1.12);
  background: var(--neon-lime);
}

.showreel-overlay:hover .play-button-ring svg {
  fill: var(--void-black);
}

.showreel-lead-title {
  position: absolute;
  top: calc(50% + 60px);
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  color: var(--soft-white);
  letter-spacing: 0.06em;
  margin-bottom: 0;
  pointer-events: none;
}

.showreel-lead-sub {
  font-size: 0.95rem;
  color: var(--neon-lime);
  font-family: var(--font-tech);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ==========================================================================
   CAROUSEL & VISUAL SHOWCASE
   ========================================================================== */
.carousel-wrapper {
  position: relative;
  margin-top: 40px;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--graphite);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  height: 580px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .carousel-slide {
    height: 460px;
  }
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.5) 65%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 768px) {
  .carousel-slide-caption {
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

.slide-category {
  font-family: var(--font-tech);
  color: var(--neon-lime);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}

.slide-heading {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--soft-white);
  text-transform: uppercase;
}

.slide-desc {
  color: var(--smoke-gray);
  max-width: 500px;
  font-size: 0.95rem;
  margin-top: 8px;
}

/* Carousel Controls */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--graphite);
  color: var(--soft-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all var(--transition-fast);
}

.carousel-nav-btn:hover {
  background: var(--neon-lime);
  color: var(--void-black);
  border-color: var(--neon-lime);
  box-shadow: 0 0 20px var(--lime-glow);
}

.carousel-nav-btn.prev {
  left: 20px;
}

.carousel-nav-btn.next {
  right: 20px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.carousel-dot {
  width: 12px;
  height: 4px;
  background: var(--graphite);
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.carousel-dot.active {
  width: 36px;
  background: var(--neon-lime);
  box-shadow: 0 0 10px var(--lime-glow);
}

/* ==========================================================================
   PROJECTS SECTION (BENTO GRID)
   ========================================================================== */
.projects-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  background: var(--surface-card);
  border: 1px solid var(--graphite);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--smoke-gray);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--soft-white);
  border-color: var(--smoke-gray);
}

.filter-btn.active {
  background: var(--neon-lime);
  color: var(--void-black);
  border-color: var(--neon-lime);
  box-shadow: 0 0 15px var(--lime-glow);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--surface-card);
  border: 1px solid var(--graphite);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.bento-card.col-12 {
  grid-column: span 12;
}
.bento-card.col-12 .card-media-wrapper {
  height: 460px;
}
.bento-card.col-12 .card-action {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 768px) {
  .bento-card.col-12 .card-media-wrapper {
    height: 260px;
  }
  .bento-card.col-12 .card-action {
    flex-direction: column;
    align-items: flex-start;
  }
}
.bento-card.col-8 {
  grid-column: span 8;
}
.bento-card.col-4 {
  grid-column: span 4;
}
.bento-card.col-6 {
  grid-column: span 6;
}

@media (max-width: 992px) {
  .bento-card.col-12,
  .bento-card.col-8,
  .bento-card.col-4,
  .bento-card.col-6 {
    grid-column: span 12;
  }
}

.bento-card:hover {
  border-color: rgba(215, 255, 63, 0.45);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px var(--lime-faint);
  transform: translateY(-4px);
}

.card-media-wrapper {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover .card-img {
  transform: scale(1.06);
}

.card-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--graphite);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-tech);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--neon-lime);
  text-transform: uppercase;
  z-index: 2;
}

.card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--soft-white);
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-desc {
  font-size: 0.94rem;
  color: var(--smoke-gray);
  line-height: 1.6;
  margin-bottom: 24px;
}

.card-action {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--graphite);
  padding-top: 18px;
  margin-top: auto;
}

.card-tech-tags {
  font-family: var(--font-tech);
  font-size: 0.76rem;
  color: var(--smoke-gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

.explore-link {
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neon-lime);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.explore-link:hover {
  gap: 14px;
  color: var(--soft-white);
}

.catalog-cta-wrap {
  text-align: center;
  margin-top: 50px;
}

.catalog-cta-btn {
  padding: 15px 38px;
  font-size: 0.92rem;
  white-space: nowrap;
}

/* ==========================================================================
   GLOBAL SECTION ("WE WORK GLOBAL")
   ========================================================================== */
.global-box {
  background: radial-gradient(circle at top right, rgba(215, 255, 63, 0.05) 0%, transparent 60%),
              var(--surface-card);
  border: 1px solid var(--graphite);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .global-box {
    padding: 36px 20px;
  }
}

.countries-matrix {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.country-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--void-black);
  border: 1px solid var(--graphite);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-tech);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  color: var(--soft-white);
  transition: all var(--transition-fast);
  cursor: default;
}

.country-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-lime);
  box-shadow: 0 0 8px var(--neon-lime);
}

.country-pill:hover {
  border-color: var(--neon-lime);
  transform: translateY(-2px);
  background: rgba(215, 255, 63, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-info-card {
  background: var(--surface-card);
  border: 1px solid var(--graphite);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(43, 43, 43, 0.5);
  border: 1px solid var(--graphite);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-lime);
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--smoke-gray);
  font-family: var(--font-tech);
}

.contact-value {
  font-size: 1.05rem;
  color: var(--soft-white);
  font-weight: 600;
  margin-top: 2px;
}

.contact-value a:hover {
  color: var(--neon-lime);
}

/* Contact Form */
.contact-form {
  background: var(--surface-card);
  border: 1px solid var(--graphite);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--smoke-gray);
}

.form-input, .form-textarea, .form-select {
  background: var(--void-black);
  border: 1px solid var(--graphite);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--soft-white);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d7ff3f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  padding-right: 46px;
  color-scheme: dark;
  cursor: pointer;
}

.form-select option {
  background-color: #0c0c0c !important;
  color: var(--soft-white) !important;
  padding: 12px;
}

.form-select option:hover,
.form-select option:focus,
.form-select option:active,
.form-select option:checked {
  background-color: var(--neon-lime) !important;
  background: var(--neon-lime) !important;
  color: var(--void-black) !important;
  box-shadow: 0 0 10px 100px var(--neon-lime) inset !important;
}

/* Custom Rendered Dropdown Wrapper */
.custom-select-wrapper {
  position: relative;
  width: 100%;
  user-select: none;
}

.custom-select-trigger {
  width: 100%;
  background: var(--void-black);
  border: 1px solid var(--graphite);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--soft-white);
  font-size: 0.95rem;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.custom-select-trigger:hover,
.custom-select-wrapper.open .custom-select-trigger {
  border-color: var(--neon-lime);
  box-shadow: 0 0 16px var(--lime-faint);
}

.custom-select-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-lime);
  transition: transform 0.25s ease;
}

.custom-select-wrapper.open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #0d0d0d;
  border: 1px solid var(--neon-lime);
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.95), 0 0 25px rgba(215, 255, 63, 0.15);
  overflow: hidden;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-select-wrapper.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-option {
  padding: 13px 18px;
  font-size: 0.92rem;
  font-family: var(--font-body);
  color: var(--soft-white);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.custom-option:hover,
.custom-option.selected {
  background-color: var(--neon-lime);
  color: var(--void-black);
  font-weight: 700;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--neon-lime);
  box-shadow: 0 0 15px var(--lime-faint);
}

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

.whatsapp-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--void-black);
  border-top: 1px solid var(--graphite);
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--graphite);
}

.footer-brand {
  max-width: 380px;
}

.footer-tagline {
  color: var(--smoke-gray);
  font-size: 0.92rem;
  margin-top: 14px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-card);
  border: 1px solid var(--graphite);
  color: var(--smoke-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-icon-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-icon-btn:hover {
  background: var(--neon-lime);
  border-color: var(--neon-lime);
  color: var(--void-black);
  transform: translateY(-3px);
  box-shadow: 0 0 15px var(--lime-glow);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 30px;
  font-size: 0.82rem;
  color: var(--smoke-gray);
}

.footer-bottom a {
  color: var(--soft-white);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--neon-lime);
}

/* ==========================================================================
   MODAL & LIGHTBOX
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
  padding: 24px;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--surface-card);
  border: 1px solid var(--graphite);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9);
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
}

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

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.8);
  border: 1px solid var(--graphite);
  color: var(--soft-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--neon-lime);
  color: var(--void-black);
  border-color: var(--neon-lime);
}

.modal-video-container {
  position: relative;
  padding-bottom: 56.25%;
  background: #000;
}

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

/* Floating Quick Action */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--neon-lime);
  color: var(--void-black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px var(--lime-glow);
  cursor: pointer;
  transition: all var(--transition-bounce);
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(8deg);
  background: var(--electric-lime);
  box-shadow: 0 12px 35px var(--lime-glow-strong);
}

/* Toast Message */
.toast-notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--surface-card);
  border: 1px solid var(--neon-lime);
  color: var(--soft-white);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--lime-glow);
  z-index: 3000;
  transition: transform var(--transition-smooth);
  pointer-events: none;
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATION SYSTEM
   Breakpoints:
     - 1024px: Laptops / Tablets Landscape
     - 992px:  Tablets Portrait (Mobile Nav Trigger)
     - 768px:  Phablets & Mobile Devices
     - 480px:  Compact Smartphones (iPhone, Galaxy)
   ========================================================================== */

/* Prevent automatic zoom on iOS Safari when focusing input fields */
.form-input,
.form-textarea,
.form-select {
  font-size: 16px !important;
}

/* Tablet & Smaller (< 1024px) */
@media (max-width: 1024px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-menu {
    gap: 20px;
  }
}

/* Mobile Navigation Breakpoint (< 992px) */
@media (max-width: 992px) {
  .header {
    height: 70px;
  }

  /* Completely hide desktop navigation & swap to mobile drawer */
  .desktop-nav {
    display: none !important;
  }

  .header-actions .btn {
    display: none !important; /* Keep header clean on mobile; drawer has primary CTA */
  }

  .hamburger-btn {
    display: flex !important;
  }

  .brand-logo-img {
    height: 34px;
  }

  .brand-logo-divider {
    height: 18px;
  }

  .brand-logo-tagline {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }

  /* Bento Grid full width on mobile/tablet */
  .bento-card.col-12,
  .bento-card.col-8,
  .bento-card.col-4,
  .bento-card.col-6 {
    grid-column: span 12;
  }

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

  .about-visual-frame {
    order: -1;
  }

  .about-visual-img {
    height: 380px;
  }

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

/* Mobile Devices (< 768px) */
@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .section-tag {
    font-size: 0.76rem;
    margin-bottom: 10px;
  }

  .section-title {
    font-size: clamp(1.45rem, 5.5vw, 1.95rem);
    line-height: 1.18;
    margin-bottom: 12px;
  }

  .section-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Hero Section Mobile */
  .hero {
    min-height: 100svh;
    padding: 100px 0 50px;
    display: flex;
    align-items: center;
  }

  .hero-badge {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    margin-bottom: 18px;
  }

  .hero-title {
    font-size: clamp(1.15rem, 5vw, 2.2rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
  }

  .hero-desc {
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 28px;
    padding: 0 4px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.88rem;
  }

  .hero-scroll-indicator {
    display: none;
  }

  /* About Us Mobile */
  .about-visual-img {
    height: 280px;
  }

  .about-visual-tag {
    padding: 12px 16px;
    bottom: 12px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .lead-paragraph {
    font-size: 1.1rem;
    line-height: 1.55;
  }

  .secondary-paragraph {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 10px;
  }

  .stat-card {
    padding: 16px 14px;
  }

  .stat-number {
    font-size: 2.1rem;
    margin-bottom: 4px;
  }

  .stat-label {
    font-size: 0.74rem;
    letter-spacing: 0.05em;
  }

  .stat-desc {
    font-size: 0.72rem;
    margin-top: 2px;
  }

  /* Showreel Mobile */
  .showreel-container {
    margin-top: 24px;
    border-radius: var(--radius-md);
  }

  .play-button-ring {
    width: 64px;
    height: 64px;
    margin-bottom: 0;
  }

  .play-button-ring svg {
    width: 22px;
    height: 22px;
    margin-left: 1px;
  }

  .showreel-lead-title {
    top: calc(50% + 44px);
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-align: center;
    padding: 0 12px;
  }

  /* Fix wrapping buttons on mobile — catalog CTA + contact submit */
  .btn:not(.hero-buttons .btn) {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    padding: 12px 20px;
  }

  .catalog-cta-wrap {
    margin-top: 32px;
  }

  .catalog-cta-btn {
    padding: 11px 18px;
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    max-width: 100%;
  }

  /* Showcase Carousel Mobile */
  .carousel-wrapper {
    margin-top: 24px;
  }

  .carousel-slide {
    height: 380px;
  }

  .carousel-slide-caption {
    padding: 20px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.65) 60%, transparent 100%);
  }

  .slide-category {
    font-size: 0.75rem;
    margin-bottom: 4px;
  }

  .slide-heading {
    font-size: 1.25rem;
    line-height: 1.2;
  }

  .slide-desc {
    font-size: 0.84rem;
    line-height: 1.5;
    margin-top: 4px;
  }

  .carousel-nav-btn {
    width: 40px;
    height: 40px;
    top: 36%;
    background: rgba(5, 5, 5, 0.85);
  }

  .carousel-nav-btn svg {
    width: 18px;
    height: 18px;
  }

  .carousel-nav-btn.prev {
    left: 8px;
  }

  .carousel-nav-btn.next {
    right: 8px;
  }

  .carousel-dots {
    margin-top: 18px;
    gap: 8px;
  }

  /* Bento Grid Mobile */
  .projects-filter-bar {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    margin-bottom: 24px;
    gap: 8px;
    scrollbar-width: none;
  }

  .projects-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    white-space: nowrap;
    padding: 8px 16px;
    font-size: 0.74rem;
    flex-shrink: 0;
  }

  .bento-grid {
    gap: 18px;
  }

  .card-media-wrapper {
    height: 220px;
  }

  .card-body {
    padding: 20px 16px;
  }

  .card-title {
    font-size: 1.22rem;
    margin-bottom: 8px;
  }

  .card-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 16px;
  }

  .card-action {
    padding-top: 14px;
  }

  /* We Work Global Mobile */
  .global-box {
    padding: 30px 18px;
    border-radius: var(--radius-md);
  }

  .countries-matrix {
    gap: 8px;
    margin-top: 24px;
  }

  .country-pill {
    padding: 7px 12px;
    font-size: 0.76rem;
    gap: 6px;
  }

  /* Contact Section Mobile */
  .contact-info-card,
  .contact-form {
    padding: 24px 18px;
    border-radius: var(--radius-md);
  }

  .contact-detail-row {
    gap: 14px;
    margin-bottom: 20px;
  }

  .contact-icon-box {
    width: 40px;
    height: 40px;
  }

  .contact-value {
    font-size: 0.95rem;
    word-break: break-word;
  }

  .whatsapp-submit-btn {
    padding: 12px 14px;
    font-size: 0.74rem;
    letter-spacing: 0.03em;
    gap: 7px;
    white-space: nowrap;
  }

  .whatsapp-submit-btn svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
  }

  /* Footer Mobile */
  .footer {
    padding: 40px 0 90px; /* Leave comfortable clearance for floating WhatsApp */
    margin-top: 40px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 20px;
  }

  /* Floating WhatsApp */
  .floating-whatsapp {
    bottom: 20px;
    right: 18px;
    width: 48px;
    height: 48px;
  }

  .floating-whatsapp svg {
    width: 26px;
    height: 26px;
  }

  /* Modals Mobile */
  .modal-backdrop {
    padding: 14px;
  }

  .modal-box {
    border-radius: var(--radius-md);
  }

  .modal-close-btn {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }

  /* Mobile Horizontal Scrollable Pill Strip */
  .case-category-pills {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    justify-content: flex-start !important;
    align-items: center !important;
    width: calc(100% + 32px) !important;
    margin: 12px -16px 0 !important;
    padding: 6px 16px 14px !important;
    gap: 8px !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .case-category-pills::-webkit-scrollbar {
    display: none;
  }

  .case-cat-pill {
    flex-shrink: 0 !important;
    scroll-snap-align: start;
    padding: 7px 14px;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
  }
}

/* Compact Smartphones (< 480px) */
@media (max-width: 480px) {
  .brand-logo-img {
    height: 28px;
  }

  .brand-logo-divider {
    height: 14px;
    margin: 0 1px;
  }

  .brand-logo-tagline {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .brand-logo-link {
    gap: 8px;
  }

  .hero-title {
    font-size: clamp(0.95rem, 4.8vw, 1.45rem);
    letter-spacing: -0.02em;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .card-media-wrapper {
    height: 190px;
  }

  .carousel-slide {
    height: 340px;
  }

  .carousel-slide-caption {
    padding: 16px 14px;
  }

  .slide-heading {
    font-size: 1.15rem;
  }

  .catalog-cta-btn {
    padding: 10px 14px;
    font-size: 0.68rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }

  .case-cat-pill {
    padding: 6px 13px;
    font-size: 0.68rem;
  }

  .whatsapp-submit-btn {
    padding: 11px 8px;
    font-size: 0.67rem;
    letter-spacing: 0.02em;
    gap: 5px;
    white-space: nowrap;
  }

  .whatsapp-submit-btn svg {
    width: 15px;
    height: 15px;
  }
}

/* ==========================================================================
   THE Z99 PRODUCTION PIPELINE & REGIONAL REACH
   ========================================================================== */
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pipeline-card {
  background: var(--surface-card);
  border: 1px solid var(--graphite);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--speed-normal) ease, border-color var(--speed-normal) ease, box-shadow var(--speed-normal) ease;
  position: relative;
  overflow: hidden;
}

.pipeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon-lime), transparent);
  opacity: 0;
  transition: opacity var(--speed-normal) ease;
}

.pipeline-card:hover {
  transform: translateY(-6px);
  border-color: rgba(215, 255, 63, 0.4);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(215, 255, 63, 0.08);
}

.pipeline-card:hover::before {
  opacity: 1;
}

.pipeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pipeline-number {
  font-family: var(--font-tech);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--neon-lime);
  letter-spacing: -0.02em;
}

.pipeline-step-tag {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--smoke-gray);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
}

.pipeline-img-wrap {
  width: 100%;
  height: 170px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pipeline-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.pipeline-card:hover .pipeline-img {
  transform: scale(1.06);
}

.pipeline-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--soft-white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.pipeline-text {
  font-size: 0.92rem;
  color: var(--smoke-gray);
  line-height: 1.65;
  margin-bottom: 16px;
  flex-grow: 1;
}

.pipeline-punchline {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  color: var(--soft-white);
  padding: 10px 12px;
  background: rgba(215, 255, 63, 0.04);
  border-left: 2px solid var(--neon-lime);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  line-height: 1.45;
}

/* Regional Hubs Grid */
.regional-hubs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.regional-hub-card {
  background: rgba(18, 18, 18, 0.7);
  border: 1px solid var(--graphite);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  backdrop-filter: blur(10px);
  transition: border-color var(--speed-normal) ease, transform var(--speed-normal) ease;
}

.regional-hub-card:hover {
  border-color: var(--neon-lime);
  transform: translateY(-4px);
}

.hub-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.hub-status-badge {
  font-family: var(--font-tech);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--neon-lime);
  text-transform: uppercase;
}

.hub-country {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--soft-white);
  letter-spacing: 0.04em;
}

.hub-title {
  font-size: 1.05rem;
  color: var(--soft-white);
  margin-bottom: 10px;
  font-weight: 600;
}

.hub-desc {
  font-size: 0.86rem;
  color: var(--smoke-gray);
  line-height: 1.6;
}

/* Responsive adjustments for Pipeline & Hubs */
@media (max-width: 1024px) {
  .pipeline-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .regional-hubs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pipeline-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .regional-hubs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pipeline-img-wrap {
    height: 190px;
  }
}

/* ==========================================================================
   PROJECTS CATALOG & CASE STUDY PAGES
   ========================================================================== */
.page-hero-banner {
  padding: 140px 0 60px;
  background: radial-gradient(circle at 50% 0%, rgba(215, 255, 63, 0.04) 0%, transparent 70%);
  border-bottom: 1px solid var(--graphite);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--smoke-gray);
  margin-bottom: 24px;
}

.breadcrumb-nav a {
  color: var(--smoke-gray);
  transition: color var(--transition-fast);
}

.breadcrumb-nav a:hover {
  color: var(--neon-lime);
}

.breadcrumb-nav .sep {
  color: var(--graphite);
}

.breadcrumb-nav .current {
  color: var(--neon-lime);
}

.case-study-header {
  margin-bottom: 36px;
}

.case-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.case-badge {
  font-family: var(--font-tech);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neon-lime);
  background: rgba(215, 255, 63, 0.08);
  border: 1px solid rgba(215, 255, 63, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.case-meta-item {
  font-family: var(--font-tech);
  font-size: 0.82rem;
  color: var(--smoke-gray);
  letter-spacing: 0.06em;
}

.case-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  color: var(--soft-white);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.case-lead {
  font-size: 1.12rem;
  color: var(--smoke-gray);
  line-height: 1.7;
  max-width: 900px;
}

/* Cinema Video Wrapper */
.cinema-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--graphite);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(215, 255, 63, 0.05);
  margin-bottom: 60px;
}



.cinema-video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
  outline: none;
}

.cinema-video-wrapper.square-video {
  aspect-ratio: 1 / 1;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.case-study-content-section {
  padding: 50px 0 80px;
}

/* Case Study Content Grid */
.case-study-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
}

.case-story-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.case-story-block h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--soft-white);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.case-story-block p {
  color: var(--smoke-gray);
  font-size: 1.02rem;
  line-height: 1.8;
}

/* Technical Specs Box */
.specs-sidebar-box {
  background: var(--surface-card);
  border: 1px solid var(--graphite);
  border-radius: var(--radius-md);
  padding: 32px;
  height: fit-content;
}

.specs-box-title {
  font-family: var(--font-tech);
  font-size: 0.85rem;
  color: var(--neon-lime);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--graphite);
  margin-bottom: 20px;
}

.specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.specs-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-label {
  font-family: var(--font-tech);
  font-size: 0.74rem;
  color: var(--smoke-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.spec-val {
  font-size: 0.95rem;
  color: var(--soft-white);
  font-weight: 600;
}

/* Curated Moodboard Section */
.moodboard-section {
  padding: 60px 0;
  border-top: 1px solid var(--graphite);
  margin-bottom: 80px;
}

.moodboard-header {
  margin-bottom: 36px;
}

.moodboard-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.moodboard-item {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--graphite);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
  transition: all var(--transition-smooth);
}

.moodboard-item:hover {
  border-color: rgba(215, 255, 63, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 25px var(--lime-faint);
  transform: translateY(-4px);
}

.moodboard-item.col-8 {
  grid-column: span 8;
  height: 420px;
}

.moodboard-item.col-4 {
  grid-column: span 4;
  height: 420px;
}

.moodboard-item.col-6 {
  grid-column: span 6;
  height: 360px;
}

.moodboard-item.col-12 {
  grid-column: span 12;
  height: 500px;
}

.moodboard-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.moodboard-item:hover img {
  transform: scale(1.05);
}

.moodboard-num-tag {
  display: none !important;
}

.moodboard-caption {
  display: none !important;
}

/* Lightbox Modal for Moodboards */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(16px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

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

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--graphite);
  box-shadow: 0 25px 60px rgba(0,0,0,0.95);
}

.lightbox-caption {
  margin-top: 14px;
  font-family: var(--font-tech);
  font-size: 0.85rem;
  color: var(--soft-white);
  letter-spacing: 0.08em;
  text-align: center;
}

.lightbox-close-btn {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(18, 18, 18, 0.9);
  border: 1px solid var(--graphite);
  color: var(--soft-white);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 5020;
  backdrop-filter: blur(12px);
}

.lightbox-close-btn:hover {
  background: var(--neon-lime);
  color: var(--void-black);
  border-color: var(--neon-lime);
}

.lightbox-nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  background: rgba(15, 15, 15, 0.88);
  border: 1px solid rgba(215, 255, 63, 0.45);
  color: var(--neon-lime);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 5010;
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.85);
}

.lightbox-nav-btn svg {
  stroke: var(--neon-lime);
  transition: stroke var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background: var(--neon-lime);
  color: var(--void-black);
  border-color: var(--neon-lime);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 30px rgba(215, 255, 63, 0.6);
}

.lightbox-nav-btn:hover svg {
  stroke: var(--void-black);
}

.lightbox-prev-btn {
  left: 32px;
}

.lightbox-next-btn {
  right: 32px;
}

@media (max-width: 768px) {
  .lightbox-close-btn {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
  .lightbox-nav-btn {
    width: 44px;
    height: 44px;
  }
  .lightbox-prev-btn {
    left: 12px;
  }
  .lightbox-next-btn {
    right: 12px;
  }
}

/* ==========================================================================
   IN-CATEGORY STREAM NAVIGATION & CATEGORY SWITCHER (MSQUARED FLOW)
   ========================================================================== */
.case-bottom-nav {
  margin-top: 60px;
  padding: 50px 0 20px;
  border-top: 1px solid var(--graphite);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.case-category-switcher {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.case-switcher-label {
  font-family: var(--font-tech);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--smoke-gray);
  text-transform: uppercase;
}

.case-category-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.case-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface-card);
  border: 1px solid var(--graphite);
  border-radius: var(--radius-pill);
  font-family: var(--font-tech);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--smoke-gray);
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.case-cat-pill:hover {
  color: var(--neon-lime);
  border-color: var(--neon-lime);
  background: rgba(215, 255, 63, 0.12);
  box-shadow: 0 0 16px var(--lime-glow);
  transform: translateY(-1px);
}

.case-cat-pill.active {
  background: var(--neon-lime);
  color: var(--void-black);
  border-color: var(--neon-lime);
  box-shadow: 0 0 15px var(--lime-glow);
}

.case-cat-pill.active:hover {
  background: var(--electric-lime);
  color: var(--void-black);
  border-color: var(--electric-lime);
  box-shadow: 0 0 20px var(--lime-glow-strong);
  transform: translateY(-1px);
}

.case-stream-card {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
  border: 1px solid var(--graphite);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition: all var(--transition-smooth);
}

.case-stream-card:hover {
  border-color: rgba(215, 255, 63, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--lime-faint);
}

.case-stream-info {
  max-width: 620px;
}

.case-stream-badge {
  display: inline-block;
  font-family: var(--font-tech);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--neon-lime);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.case-stream-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--soft-white);
  margin-bottom: 8px;
}

.case-stream-desc {
  font-size: 0.86rem;
  color: var(--smoke-gray);
  line-height: 1.6;
  margin: 0;
}

.case-stream-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.case-stream-actions .btn {
  white-space: nowrap;
  padding: 10px 24px;
  font-size: 0.8rem;
}

.case-stream-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-tech);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition-smooth);
}

.case-stream-actions .btn-secondary:hover {
  background: rgba(215, 255, 63, 0.12);
  border-color: var(--neon-lime);
  color: var(--neon-lime);
  box-shadow: 0 0 20px rgba(215, 255, 63, 0.3);
  transform: translateY(-2px);
}

@media (max-width: 860px) {
  .case-stream-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }
  .case-stream-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
}

/* Responsive adjustments for Case Study */
@media (max-width: 992px) {
  .case-study-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .moodboard-item.col-8,
  .moodboard-item.col-4,
  .moodboard-item.col-6,
  .moodboard-item.col-12 {
    grid-column: span 12;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .page-hero-banner {
    padding: 110px 0 40px;
  }

  .cinema-video-wrapper {
    margin-bottom: 36px;
  }

  .case-bottom-nav {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .case-nav-btn {
    justify-content: center;
  }
}

/* ============================================
   Dual Video Showcase
   ============================================ */
.dual-video-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 60px;
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.video-card-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.video-label-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--soft-white);
  margin: 0;
  line-height: 1;
}

.video-label-num {
  color: var(--neon-lime);
}

.video-card .cinema-video-wrapper {
  margin-bottom: 0;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.video-card:hover .cinema-video-wrapper {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95), 0 0 40px rgba(215, 255, 63, 0.12);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .dual-video-showcase {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 36px;
  }
}



/* ==========================================================================
   PAGE PRELOADER
   ========================================================================== */
#z99-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: var(--void-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  pointer-events: all;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1),
              opacity 0.4s ease 0.65s;
}

#z99-preloader.exit {
  transform: translateY(-100%);
  opacity: 0;
}

/* Logo block — the hero */
.preloader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: preloader-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.preloader-logo-img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 0 24px rgba(215, 255, 63, 0.15));
}

.preloader-logo-tagline {
  font-family: var(--font-tech);
  font-size: 0.7rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--smoke-gray);
}

/* Progress bar — sits inline below the logo */
.preloader-bar-track {
  width: 260px;
  height: 2px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  overflow: hidden;
  animation: preloader-rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.preloader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--neon-lime);
  border-radius: 99px;
  box-shadow: 0 0 16px rgba(215, 255, 63, 0.65),
              0 0 40px rgba(215, 255, 63, 0.2);
  transition: width 0.04s linear;
}

@keyframes preloader-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   LUXURY LEGAL & GOVERNANCE DESIGN SYSTEM (privacy.html & terms.html)
   ========================================================================== */
.legal-wrapper {
  padding-top: 140px;
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
}

.legal-hero {
  margin-bottom: 48px;
  position: relative;
}



.legal-meta-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.legal-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-tech);
  font-size: 0.72rem;
  color: var(--smoke-gray);
  letter-spacing: 0.06em;
}

.legal-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-lime);
  box-shadow: 0 0 8px var(--neon-lime);
}

.legal-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

/* Sticky Navigation Sidebar */
.legal-sidebar {
  position: sticky;
  top: 110px;
  background: rgba(14, 14, 14, 0.85);
  border: 1px solid var(--graphite);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-sidebar-title {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--smoke-gray);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-nav-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--smoke-gray);
  font-weight: 500;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.legal-nav-item a:hover {
  color: var(--neon-lime);
  background: rgba(215, 255, 63, 0.06);
}

.legal-nav-item.active a {
  color: #000;
  background: var(--neon-lime);
  font-weight: 700;
}

.legal-sidebar-cta {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Section Cards */
.legal-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.legal-card {
  background: rgba(18, 18, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.legal-card:hover {
  border-color: rgba(215, 255, 63, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.legal-card-tag {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--neon-lime);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.legal-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  color: var(--soft-white);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.legal-card-body {
  color: var(--smoke-gray);
  font-size: 0.92rem;
  line-height: 1.75;
}

.legal-card-body p:not(:last-child) {
  margin-bottom: 14px;
}

.legal-callout {
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(215, 255, 63, 0.04);
  border-left: 3px solid var(--neon-lime);
  border-radius: 0 10px 10px 0;
  font-size: 0.86rem;
  color: var(--soft-white);
  line-height: 1.6;
}

.legal-callout strong {
  color: var(--neon-lime);
  font-family: var(--font-tech);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 960px) {
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .legal-sidebar {
    position: static;
  }
  .legal-card {
    padding: 24px 20px;
  }
}

