/**
 * CASE CREATIVE — Master Stylesheet
 * High-End Digital Creative Agency Aesthetic
 * Inspired by Synchronized Studio (https://synchronized.studio/)
 */

@import url('./tokens.css');

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

html {
  font-size: 16px;
  background-color: var(--bg-black);
  color: var(--text-cream);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Lenis smooth scrolling specifications */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

body {
  background-color: var(--bg-black);
  color: var(--text-cream);
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
  line-height: 1.5;
}

body.is-loading {
  overflow: hidden !important;
}

/* Custom Cursor: hide default cursor on interactive buttons/links, preserve text caret on form inputs */
@media (pointer: fine) {
  body, a, button {
    cursor: none !important;
  }
  input, textarea, select {
    cursor: text !important;
  }
}

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

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

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

/* =========================================
   CANVAS BACKGROUND & SVG FILTERS
   ========================================= */
.ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
  contain: strict;
}

.svg-filter-stage {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* =========================================
   PRELOADER (MONUMENTAL LOGO ANIMATION)
   ========================================= */
.preloader {
  position: fixed;
  inset: 0;
  background-color: var(--bg-black);
  z-index: var(--z-preloader);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.85s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.8s ease;
  overflow: hidden;
}

.preloader-ambient-glow {
  position: absolute;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.16) 0%, rgba(0, 102, 255, 0.04) 45%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  animation: preloaderAmbientPulse 4s ease-in-out infinite alternate;
}

@keyframes preloaderAmbientPulse {
  0% { transform: scale(0.85); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 1; }
}

.preloader.preloader-exit {
  transform: translateY(-100%);
}

.preloader-center-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--space-6);
  max-width: 680px;
  width: 100%;
}

.preloader-sun-badge {
  width: 54px;
  height: 54px;
  color: var(--accent-blue);
  animation: spinContinuous 9s linear infinite;
  margin-bottom: var(--space-6);
  filter: drop-shadow(0 0 16px rgba(0, 210, 255, 0.6));
}

.preloader-sun-badge svg {
  width: 100%;
  height: 100%;
  display: block;
}

.preloader-logo-wrap {
  width: clamp(260px, 45vw, 520px);
  margin-bottom: var(--space-6);
  animation: preloaderLogoEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.preloader-logo-svg {
  width: 100%;
  height: auto;
  display: block;
  color: var(--text-cream);
  filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.4)) drop-shadow(0 0 45px rgba(0, 102, 255, 0.2));
  animation: preloaderLogoShimmer 3s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes preloaderLogoEntrance {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.92);
    filter: blur(8px) drop-shadow(0 0 30px rgba(0, 210, 255, 0.8));
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px) drop-shadow(0 0 20px rgba(0, 210, 255, 0.4));
  }
}

@keyframes preloaderLogoShimmer {
  0% {
    color: var(--text-cream);
    filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.3));
    transform: scale(1);
  }
  50% {
    color: #ffffff;
    filter: drop-shadow(0 0 28px rgba(0, 210, 255, 0.65)) drop-shadow(0 0 60px rgba(0, 102, 255, 0.3));
    transform: scale(1.015);
  }
  100% {
    color: var(--text-cream);
    filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.3));
    transform: scale(1);
  }
}

.preloader-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 440px;
  margin-bottom: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.preloader-status-code {
  color: var(--accent-lime);
  display: flex;
  align-items: center;
  gap: 6px;
}

.preloader-status-code::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-lime);
  box-shadow: 0 0 8px var(--accent-lime);
  animation: pulseDot 1s infinite alternate;
}

.preloader-counter-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 440px;
}

.preloader-counter {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--text-cream);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: var(--space-4);
  font-feature-settings: "tnum" 1;
}

.preloader-progress-track {
  width: 100%;
  height: 3px;
  background-color: rgba(253, 246, 236, 0.08);
  overflow: hidden;
  border-radius: var(--radius-full);
  position: relative;
}

.preloader-progress-track::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: shimmerScan 1.6s infinite;
  pointer-events: none;
}

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

.preloader-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #0052cc 0%, var(--accent-blue) 80%, #ffffff 100%);
  box-shadow: 0 0 14px var(--accent-blue);
  transition: width 0.06s var(--ease-out-expo);
}

/* =========================================
   TOP RUNNING MARQUEE (SYNCHRONIZED SIGNATURE)
   ========================================= */
.top-marquee-strip {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 28px;
  background-color: var(--bg-black);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  transform: translateZ(0);
  will-change: transform;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 28s linear infinite;
  will-change: transform;
}

.top-marquee-strip:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-segment {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-right: var(--space-6);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-cream);
}

.marquee-segment b {
  color: var(--accent-lime);
  font-weight: 700;
}

.marquee-star {
  color: var(--accent-lime);
  font-size: 0.85rem;
}

/* =========================================
   MAIN HEADER / NAVIGATION
   ========================================= */
.site-header {
  position: fixed;
  top: 28px;
  left: 0;
  width: 100%;
  height: 76px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-8);
  background: rgba(5, 8, 17, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  overflow: visible;
  transform: translateZ(0);
  will-change: transform;
}

/* Architectural top ambient rim light */
.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.4), transparent);
  pointer-events: none;
}

/* Iconic Animated Cyber Laser Sweep Beam along the bottom edge */
.site-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    transparent 15%, 
    rgba(0, 210, 255, 0.1) 25%, 
    rgba(0, 210, 255, 0.85) 45%, 
    #ffffff 50%, 
    rgba(0, 210, 255, 0.85) 55%, 
    rgba(56, 189, 248, 0.15) 75%, 
    transparent 85%, 
    transparent 100%
  );
  background-size: 250% 100%;
  animation: headerLaserSweep 4.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.75), 0 0 20px rgba(0, 102, 255, 0.45);
  pointer-events: none;
  z-index: 10;
  will-change: background-position;
}

@keyframes headerLaserSweep {
  0% { background-position: 125% 0; }
  100% { background-position: -125% 0; }
}

.site-header.is-scrolled {
  background: rgba(4, 7, 15, 0.94);
  border-bottom-color: rgba(0, 210, 255, 0.32);
  box-shadow: 0 12px 35px -10px rgba(0, 0, 0, 0.8), 0 0 24px -6px rgba(0, 210, 255, 0.2);
}

.header-left {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-cream);
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.logo-wrapper:hover {
  transform: scale(1.02);
  color: #ffffff;
  filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.8)) drop-shadow(0 0 20px rgba(0, 102, 255, 0.5));
}

.logo-svg {
  width: 138px;
  height: auto;
  transition: color var(--transition-fast);
}

/* Sound Toggle & Live Equalizer */
.sound-toggle-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  color: var(--text-cream);
  transition: all var(--transition-fast);
}

.sound-toggle-btn:hover {
  border-color: var(--accent-lime);
  color: var(--accent-lime);
  background: var(--accent-lime-dim);
}

.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  width: 14px;
}

.eq-bar {
  width: 2px;
  background-color: var(--accent-lime);
  animation: eqBounce 0.8s ease-in-out infinite alternate;
}

.eq-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.eq-bar:nth-child(2) { height: 100%; animation-delay: 0.3s; }
.eq-bar:nth-child(3) { height: 60%; animation-delay: 0.2s; }

.eq-bar.paused {
  animation: none;
  height: 2px !important;
  background-color: var(--text-muted);
}

.sound-toggle-btn.is-muted .eq-bar {
  animation: none;
  height: 2px;
  background-color: var(--text-muted);
}

/* Header Center: Live Clock & Status */
.header-center {
  display: none;
  align-items: center;
  gap: var(--space-6);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (min-width: 992px) {
  .header-center {
    display: flex;
  }
}

.live-clock {
  color: var(--text-muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 5px 12px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.28);
  border-radius: var(--radius-full);
  color: var(--text-cream);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  transition: border-color var(--transition-fast);
}

.status-pill:hover {
  border-color: var(--accent-lime);
}

.status-dot {
  position: relative;
  width: 7px;
  height: 7px;
  background-color: var(--accent-lime);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-lime), 0 0 14px rgba(0, 210, 255, 0.8);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

.status-dot::before,
.status-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--accent-lime);
  animation: radarSonarPing 2.5s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
  pointer-events: none;
}

.status-dot::after {
  animation-delay: 1.25s;
  border-color: rgba(56, 189, 248, 0.7);
}

@keyframes radarSonarPing {
  0% {
    transform: scale(0.6);
    opacity: 0.95;
  }
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}

/* Header Right: Language Switcher & Menu */
.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.lang-switch {
  display: flex;
  align-items: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}

.lang-btn {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: var(--text-cream);
  color: var(--text-dark);
  font-weight: 700;
}

.menu-trigger-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 18px;
  background: var(--text-cream);
  color: var(--text-dark);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
}

.menu-trigger-btn:hover {
  background: var(--accent-lime);
  color: var(--text-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lime-glow);
}

.menu-icon-bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 14px;
}

.menu-icon-bars span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
}

/* =========================================
   PAGE CONTAINER & SECTIONS
   ========================================= */
.main-wrapper {
  position: relative;
  z-index: 10;
  padding-top: 104px;
}

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

@media (max-width: 768px) {
  .site-header {
    padding: 0 var(--space-4);
    height: 68px;
  }
  .main-wrapper {
    padding-top: 96px;
  }
  .container {
    padding: 0 var(--space-4);
  }
  .header-left {
    gap: var(--space-3);
  }
  .header-right {
    gap: var(--space-2);
  }
  .logo-svg {
    width: 110px;
  }
  .sound-toggle-btn {
    padding: 4px 8px;
    font-size: 0.6875rem;
  }
  .menu-trigger-btn {
    padding: 6px 12px;
    font-size: var(--text-xs);
  }
}

@media (max-width: 480px) {
  .logo-svg {
    width: 95px;
  }
  .sound-toggle-btn span span:first-child {
    display: none;
  }
  .service-select-grid {
    grid-template-columns: 1fr;
  }
  .metrics-bento-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   HERO SECTION (SYNCHRONIZED BRUTALIST STYLE)
   ========================================= */
.hero-section {
  position: relative;
  min-height: calc(100vh - 104px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-16) 0 var(--space-12);
  overflow: hidden;
  text-align: center;
}

/* ThreeUI Generative Kinetic Simplex Flow Canvas */
.hero-flow-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  transform: translateZ(0);
  /* contain:strict was causing GPU composite penalty on every scroll frame */
  contain: layout style;
}

/* ThreeUI Architectural Framing Reticles & Telemetry HUD */
.hero-framing-grid {
  position: absolute;
  inset: var(--space-4);
  pointer-events: none;
  z-index: 3;
  border: 1px solid rgba(0, 210, 255, 0.08);
}

@media (min-width: 768px) {
  .hero-framing-grid {
    inset: var(--space-8);
  }
}

/* Four Corner Technical Brackets (MengTo/threeui Digital Expanse) */
.hero-corner-bracket {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  transition: border-color var(--transition-normal);
}

.hero-corner-bracket.corner-tl {
  top: -1px;
  left: -1px;
  border-top: 1.5px solid var(--accent-blue);
  border-left: 1.5px solid var(--accent-blue);
}

.hero-corner-bracket.corner-tr {
  top: -1px;
  right: -1px;
  border-top: 1.5px solid var(--accent-blue);
  border-right: 1.5px solid var(--accent-blue);
}

.hero-corner-bracket.corner-bl {
  bottom: -1px;
  left: -1px;
  border-bottom: 1.5px solid var(--accent-blue);
  border-left: 1.5px solid var(--accent-blue);
}

.hero-corner-bracket.corner-br {
  bottom: -1px;
  right: -1px;
  border-bottom: 1.5px solid var(--accent-blue);
  border-right: 1.5px solid var(--accent-blue);
}

/* ThreeUI Live Telemetry HUD Strips */
.hero-telemetry-hud {
  position: absolute;
  left: var(--space-4);
  right: var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(186, 220, 255, 0.88);
  user-select: none;
  pointer-events: none;
}

.hero-telemetry-hud.hud-top {
  top: var(--space-3);
}

.hero-telemetry-hud.hud-bottom {
  bottom: var(--space-3);
}

.telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(5, 8, 17, 0.72);
  padding: 3px 10px;
  border: 1px solid rgba(0, 210, 255, 0.14);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
}

.telemetry-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 10px var(--accent-blue);
  animation: pulseBeacon 2.2s ease-in-out infinite;
}

@keyframes pulseBeacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.75); }
}

@media (max-width: 640px) {
  .hero-telemetry-hud.hud-bottom {
    display: none;
  }
  .telemetry-badge.hud-right {
    display: none;
  }
}

.hero-sun-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: clamp(280px, 45vw, 680px);
  height: clamp(280px, 45vw, 680px);
  pointer-events: none;
  opacity: 0.12;
  z-index: 1;
  contain: strict;
  backface-visibility: hidden;
}

.rotating-sun-svg {
  width: 100%;
  height: 100%;
  color: var(--accent-lime);
  animation: spinContinuous 45s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Massive Brutalist Kinetic Typography */
.hero-giant-typography {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-display-giant);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--text-cream);
  user-select: none;
  text-align: center;
  width: 100%;
}

.hero-giant-typography .text-row {
  display: block;
  overflow: visible;
  padding: 0.03em 0;
  white-space: nowrap;
  transition: transform var(--transition-normal), color var(--transition-fast), -webkit-text-stroke var(--transition-fast), -webkit-text-fill-color var(--transition-fast), text-shadow var(--transition-fast);
}

.hero-giant-typography .row-1 {
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  color: var(--text-cream);
}

.hero-giant-typography .row-1:hover {
  color: var(--accent-lime);
  transform: skewX(-2.5deg) scale(1.015);
}

.hero-giant-typography .row-2 {
  animation: fadeInUp 1.15s cubic-bezier(0.16, 1, 0.3, 1) backwards, cyberClickPulse 3.5s ease-in-out infinite alternate;
  color: var(--accent-blue);
  -webkit-text-stroke: clamp(1.2px, 0.14vw, 2px) var(--accent-blue);
  -webkit-text-fill-color: var(--accent-blue);
  text-shadow: 0 0 50px var(--shadow-blue-glow), 0 0 25px var(--accent-blue);
  transform: skewX(-2.5deg) scale(1.015) translateZ(0);
  letter-spacing: 0.01em;
  paint-order: stroke fill;
  display: inline-block;
  will-change: transform, text-shadow;
}

.hero-giant-typography .row-2:hover,
.hero-giant-typography .row-2:active {
  transform: skewX(-2.5deg) scale(1.025) translateZ(0);
  text-shadow: 0 0 65px var(--shadow-blue-glow), 0 0 35px var(--accent-blue);
}

@keyframes cyberClickPulse {
  0%, 100% {
    text-shadow: 0 0 45px var(--shadow-blue-glow), 0 0 20px var(--accent-blue);
    transform: skewX(-2.5deg) scale(1.015);
  }
  50% {
    text-shadow: 0 0 65px var(--shadow-blue-glow), 0 0 35px var(--accent-blue), 0 0 10px rgba(255, 255, 255, 0.8);
    transform: skewX(-2.5deg) scale(1.02);
  }
}



@media (max-width: 480px) {
  .hero-giant-typography {
    line-height: 0.95;
    letter-spacing: -0.03em;
  }
}

/* Hero Center Stamp / Showreel Trigger */
.hero-interactive-hub {
  margin-top: var(--space-12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.showreel-stamp-btn {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px dashed var(--border-medium);
  transition: all var(--transition-normal);
  contain: strict;
  transform: translateZ(0);
}

.showreel-stamp-btn:hover {
  border-color: var(--accent-lime);
  transform: scale(1.08);
  background: var(--accent-lime-dim);
}

.stamp-rotating-text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spinContinuous 18s linear infinite;
  fill: var(--text-cream);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  will-change: transform;
  transform: translateZ(0);
}

.stamp-center-sun {
  width: 44px;
  height: 44px;
  color: var(--accent-lime);
  animation: spinContinuous 12s linear infinite reverse;
  will-change: transform;
  transform: translateZ(0);
}

.showreel-stamp-btn:hover .stamp-center-sun {
  transform: scale(1.15);
}

/* Hero Subtitle / Intro Description */
.hero-editorial-meta {
  max-width: 680px;
  margin: var(--space-8) auto 0;
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  color: var(--text-muted);
  line-height: 1.6;
  animation: fadeInUp 1.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.hero-editorial-meta strong {
  color: var(--text-cream);
  font-weight: 600;
}

/* Vertical Dividing Lines (Synchronized Architectural aesthetic) */
.architectural-lines {
  display: flex;
  justify-content: center;
  gap: var(--space-20);
  margin-top: var(--space-12);
  opacity: 0.3;
}

.architectural-lines span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent-lime), transparent);
}

/* =========================================
   SERVICES SECTION ("JUST ABOUT SERVICES")
   ========================================= */
.services-section {
  position: relative;
  padding: var(--space-24) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background-color: #050811;
  background-image: 
    radial-gradient(ellipse 65% 45% at 50% 0%, rgba(0, 102, 255, 0.09), transparent 75%),
    linear-gradient(to right, rgba(0, 210, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 210, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 550px at var(--mouse-x, 50%) var(--mouse-y, 30%), rgba(0, 210, 255, 0.05), transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.section-eyebrow-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-lime);
}

.eyebrow-sun {
  width: 20px;
  height: 20px;
  color: var(--accent-lime);
  animation: spinContinuous 8s linear infinite;
}

.section-headline {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--text-cream);
  margin-bottom: var(--space-4);
}

.section-subhead {
  max-width: 580px;
  margin: 0 auto var(--space-16);
  text-align: center;
  color: var(--text-muted);
  font-size: var(--text-body);
}

/* Services Kinetic List (Synchronized Style) */
.services-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
}

.service-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-8) var(--space-8);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.service-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at left, var(--accent-lime-dim), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.service-row:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-lime);
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
}

.service-row:hover::before {
  opacity: 1;
}

.service-left-col {
  display: flex;
  align-items: baseline;
  gap: var(--space-6);
  z-index: 2;
}

.service-number {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent-lime);
  font-weight: 700;
}

.service-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text-cream);
  transition: color var(--transition-fast);
}

.service-row:hover .service-title {
  color: var(--accent-lime);
}

.service-title i {
  font-style: italic;
  font-weight: 300;
  color: var(--text-cream);
}

.service-center-col {
  display: none;
  max-width: 420px;
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  z-index: 2;
}

@media (min-width: 1024px) {
  .service-center-col {
    display: block;
  }
}

.service-right-col {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  z-index: 2;
}

.service-tags-strip {
  display: none;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .service-tags-strip {
    display: block;
  }
}

.service-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-cream);
  transition: all var(--transition-fast);
}

.service-row:hover .service-arrow-btn {
  background: var(--accent-lime);
  color: var(--text-dark);
  border-color: var(--accent-lime);
  transform: rotate(45deg);
}

/* =========================================
   POST-SERVICES ARCHITECTURAL MARQUEE
   ========================================= */
.services-marquee-strip {
  position: relative;
  width: 100%;
  height: 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(5, 8, 17, 0.98), rgba(9, 16, 36, 0.92), rgba(5, 8, 17, 0.98));
  border-top: 1px solid rgba(0, 210, 255, 0.2);
  border-bottom: 1px solid rgba(0, 210, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(0, 210, 255, 0.15), inset 0 -1px 0 rgba(0, 210, 255, 0.15), 0 0 25px rgba(0, 102, 255, 0.08);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  z-index: 10;
  user-select: none;
}

.services-marquee-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.6), transparent);
  pointer-events: none;
}

.services-marquee-track {
  display: flex;
  width: max-content;
  animation: servicesMarqueeRun 34s linear infinite;
  will-change: transform;
}

.services-marquee-strip:hover .services-marquee-track {
  animation-play-state: paused;
}

.services-marquee-group {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-right: var(--space-6);
  white-space: nowrap;
}

.sm-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--accent-lime);
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.3);
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  transition: all var(--transition-fast);
}

.services-marquee-strip:hover .sm-badge {
  border-color: var(--accent-lime);
  background: rgba(0, 210, 255, 0.14);
}

.sm-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-cream);
  text-transform: uppercase;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.sm-title:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.7);
}

.sm-star {
  color: var(--accent-lime);
  font-size: 0.8rem;
  filter: drop-shadow(0 0 6px var(--accent-lime));
  animation: spinContinuous 12s linear infinite;
}

@keyframes servicesMarqueeRun {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* =========================================
   BOTTOM CRAFT MARQUEE (REVERSE LEFT-TO-RIGHT)
   ========================================= */
.craft-bottom-marquee-strip {
  position: relative;
  width: 100%;
  height: 58px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: rgba(5, 9, 20, 0.94);
  border-top: 1px solid rgba(0, 210, 255, 0.18);
  border-bottom: 1px solid rgba(0, 210, 255, 0.18);
  z-index: 5;
  user-select: none;
}

.craft-bottom-marquee-strip::before,
.craft-bottom-marquee-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.craft-bottom-marquee-strip::before {
  left: 0;
  background: linear-gradient(to right, #050811, transparent);
}

.craft-bottom-marquee-strip::after {
  right: 0;
  background: linear-gradient(to left, #050811, transparent);
}

.craft-bottom-marquee-track {
  display: flex;
  width: max-content;
  animation: craftMarqueeRunReverse 32s linear infinite;
  will-change: transform;
}

.craft-bottom-marquee-strip:hover .craft-bottom-marquee-track {
  animation-play-state: paused;
}

.craft-bottom-marquee-group {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-right: var(--space-6);
  white-space: nowrap;
}

.cbm-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.35);
  color: var(--accent-lime);
  font-weight: 700;
  text-transform: uppercase;
  transition: all var(--transition-fast);
}

.craft-bottom-marquee-strip:hover .cbm-badge {
  border-color: #00d2ff;
  background: rgba(0, 210, 255, 0.2);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.3);
}

.cbm-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--text-cream);
  text-transform: uppercase;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.cbm-title:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.7);
}

.cbm-star {
  color: var(--accent-lime);
  font-size: 0.85rem;
  filter: drop-shadow(0 0 6px var(--accent-lime));
  animation: spinContinuous 14s linear infinite reverse;
}

@keyframes craftMarqueeRunReverse {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* =========================================
   PORTFOLIO CASES SECTION ("SELECTED CASES")
   ========================================= */
.cases-section {
  position: relative;
  padding: var(--space-24) 0;
  background-color: #050811;
  background-image: 
    radial-gradient(circle 700px at 85% 15%, rgba(0, 102, 255, 0.08), transparent 70%),
    radial-gradient(circle 600px at 15% 85%, rgba(0, 210, 255, 0.055), transparent 70%),
    linear-gradient(to right, rgba(0, 210, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 210, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 54px 54px, 54px 54px;
  overflow: hidden;
}

.cases-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 650px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 210, 255, 0.045), transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.cases-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.cases-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.cases-view-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(8, 14, 28, 0.85);
  border: 1px solid rgba(0, 210, 255, 0.28);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
  backdrop-filter: blur(12px);
}

.view-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.view-mode-btn .vm-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

.view-mode-btn:hover {
  color: var(--text-cream);
}

.view-mode-btn.active {
  background: rgba(0, 210, 255, 0.18);
  border-color: rgba(0, 210, 255, 0.6);
  color: #00d2ff;
  box-shadow: 0 0 14px rgba(0, 210, 255, 0.25);
}

.view-mode-btn.active .vm-dot {
  opacity: 1;
  box-shadow: 0 0 6px #00d2ff;
}

/* =========================================
   FISHEYE INFINITE GRID STAGE
   ========================================= */
.fisheye-grid-stage {
  position: relative;
  width: 100%;
  height: 620px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #040713;
  border: 1px solid rgba(0, 210, 255, 0.24);
  box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.8), inset 0 0 40px rgba(0, 210, 255, 0.04);
  cursor: grab;
  user-select: none;
  touch-action: pan-y; /* Crucial: Allows vertical touch scroll while enabling pointer drag in grid! */
  margin-bottom: var(--space-8);
}

.fisheye-grid-stage[data-dragging="true"] {
  cursor: grabbing;
}

.fisheye-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* Subtle Vignette & Depth Mask */
.fisheye-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 40%, rgba(4, 7, 18, 0.65) 100%);
  z-index: 2;
}

/* Top Floating HUD Indicator */
.fisheye-hud-top {
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 5;
  gap: 12px;
}

.fisheye-badge-live,
.fisheye-badge-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  color: rgba(253, 246, 236, 0.7);
  background: rgba(4, 7, 16, 0.78);
  border: 1px solid rgba(0, 210, 255, 0.2);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
}

.fisheye-badge-live .hud-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00d2ff;
  box-shadow: 0 0 8px #00d2ff;
  animation: pulseNeon 2s infinite ease-in-out;
}

.fisheye-drag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #00d2ff;
  background: rgba(0, 210, 255, 0.14);
  border: 1px solid rgba(0, 210, 255, 0.45);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.2);
}



/* Bottom Direct Project Jump Pills */
.fisheye-jump-bar {
  position: absolute;
  bottom: 16px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 5;
  background: rgba(4, 7, 16, 0.88);
  border: 1px solid rgba(0, 210, 255, 0.22);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(14px);
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.fisheye-jump-bar::-webkit-scrollbar {
  display: none;
}

.jump-bar-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  color: rgba(253, 246, 236, 0.55);
  font-weight: 700;
  margin-right: 4px;
}

.jump-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.25);
  color: var(--text-cream);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.jump-pill:hover {
  background: rgba(0, 210, 255, 0.25);
  border-color: #00d2ff;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.3);
}

.jump-pill.is-dimmed {
  opacity: 0.35;
  filter: grayscale(0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

.jump-pill.is-matching {
  opacity: 1;
  border-color: rgba(0, 210, 255, 0.45);
}

.cases-grid.is-hidden {
  display: none !important;
}

.fisheye-grid-stage.is-hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .fisheye-grid-stage {
    height: 490px;
  }
  .fisheye-badge-hint {
    display: none;
  }
  .fisheye-jump-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: var(--radius-lg);
  }
}

.filter-chip {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

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

.filter-chip.active {
  background: var(--accent-lime);
  color: var(--text-dark);
  border-color: var(--accent-lime);
  font-weight: 700;
  box-shadow: 0 0 15px var(--accent-lime-glow);
}

/* Case Cards Stack (Synchronized.studio signature cards - 2 Column Side-by-Side Grid) */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  width: 100%;
}

@media (min-width: 820px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

.case-card-outer {
  width: 100%;
  display: flex;
}

.case-card {
  position: relative;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-fast);
  cursor: pointer;
}

@media (min-width: 992px) {
  .case-card {
    padding: var(--space-6);
  }
}

.case-card:hover {
  border-color: var(--accent-lime);
  box-shadow: var(--shadow-heavy);
}

/* Progressive White Opacity Layer (Synchronized Signature) */
.case-bg-layer {
  position: absolute;
  inset: 0;
  background-color: #ffffff;
  pointer-events: none;
  z-index: 1;
}

.case-grid-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  height: 100%;
  justify-content: space-between;
}

.case-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #111;
}

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

.case-card:hover .case-img {
  transform: scale(1.04);
}

.case-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35), transparent 50%);
}

.case-index-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  color: #050507;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: -0.02em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 3;
}

.case-content-block {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.case-tag-pill {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.06);
  color: #111111;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.case-heading {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #050507;
  line-height: 1.15;
  margin-bottom: var(--space-2);
}

.case-desc {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: #444444;
  line-height: 1.55;
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-bottom-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: auto;
}

.case-metrics-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: #222222;
  font-weight: 700;
}

.case-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 16px;
  background: var(--bg-deep);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
}

.case-explore-btn:hover {
  background: var(--accent-blue);
  color: var(--text-dark);
  border-color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
}

.arrow-glyph {
  font-size: 1.1em;
  transition: transform var(--transition-fast);
}

.case-explore-btn:hover .arrow-glyph {
  transform: translate(2px, -2px);
}

@media (max-width: 640px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .case-card {
    padding: 10px;
    border-radius: var(--radius-md);
  }

  .case-grid-inner {
    gap: 8px;
  }

  .case-image-wrapper {
    aspect-ratio: 16 / 11;
    border-radius: var(--radius-sm);
  }

  .case-index-badge {
    top: 6px;
    right: 6px;
    font-size: 0.7rem;
    padding: 2px 6px;
  }

  .case-tags {
    gap: 3px;
    margin-bottom: 2px;
  }

  .case-tag-pill {
    font-size: 0.54rem;
    padding: 2px 5px;
    letter-spacing: 0.03em;
  }

  .case-tag-pill:nth-child(n+3) {
    display: none;
  }

  .case-heading {
    font-size: clamp(0.78rem, 3.2vw, 0.95rem);
    line-height: 1.15;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
  }

  .case-desc {
    font-size: 0.68rem;
    line-height: 1.35;
    margin-bottom: 6px;
    -webkit-line-clamp: 2;
  }

  .case-bottom-action-row {
    padding-top: 6px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .case-metrics-strip {
    font-size: 0.56rem;
    flex-direction: column;
    gap: 2px;
  }

  .case-explore-btn {
    width: 100%;
    justify-content: center;
    padding: 5px 8px;
    font-size: 0.62rem;
  }
}

/* =========================================
   MANIFESTO & METRICS SECTION
   ========================================= */
.manifesto-section {
  position: relative;
  padding: var(--space-24) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background-color: #050811;
  background-image: 
    radial-gradient(ellipse 75% 50% at 50% 30%, rgba(0, 102, 255, 0.13), rgba(5, 8, 17, 0.98) 80%),
    linear-gradient(to right, rgba(0, 210, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 210, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 42px 42px, 42px 42px;
  overflow: hidden;
}

.manifesto-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 550px at var(--mouse-x, 50%) var(--mouse-y, 40%), rgba(0, 210, 255, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.manifesto-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-cream);
  max-width: 960px;
  line-height: 1.25;
  margin-bottom: var(--space-16);
}

.manifesto-quote span {
  color: var(--accent-lime);
}

.metrics-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  width: 100%;
  max-width: 960px;
}

@media (min-width: 768px) {
  .metrics-bento-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
  }
}

.metric-card {
  position: relative;
  padding: var(--space-6) var(--space-4);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all var(--transition-normal);
  overflow: hidden;
}

/* ThreeUI Technical Corner Marks */
.metric-card::before,
.metric-card::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--accent-blue);
  opacity: 0.35;
  pointer-events: none;
  transition: all 0.3s ease;
}

.metric-card::before {
  top: 0;
  left: 0;
}

.metric-card::after {
  bottom: 0;
  right: 0;
}

.metric-card:hover::before,
.metric-card:hover::after {
  opacity: 1;
  box-shadow: 0 0 8px var(--accent-blue);
}

.metric-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-lime);
  transform: translateY(-3px);
}

.metric-card-val {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  font-weight: 900;
  color: var(--accent-lime);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.metric-card-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =========================================
   PROJECT INQUIRY & PROPOSAL ESTIMATOR
   ========================================= */
.inquiry-section {
  position: relative;
  padding: var(--space-24) 0;
  background-color: #050811;
  background-image: 
    radial-gradient(ellipse 90% 65% at 50% 100%, rgba(0, 210, 255, 0.12), rgba(0, 102, 255, 0.06) 50%, transparent 85%),
    linear-gradient(to right, rgba(0, 210, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 210, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  overflow: hidden;
}

.inquiry-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 600px at var(--mouse-x, 50%) var(--mouse-y, 70%), rgba(0, 210, 255, 0.05), transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.inquiry-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(0, 210, 255, 0.2);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px -5px rgba(0, 210, 255, 0.16);
}

/* Rainbow Laser Border Engine */
.rainbow-laser-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    #00d2ff 35deg,
    #3b82f6 75deg,
    #8b5cf6 115deg,
    #ec4899 155deg,
    #f43f5e 195deg,
    #fb923c 235deg,
    #00f5d4 275deg,
    #00d2ff 315deg,
    transparent 360deg
  );
  animation: rainbowLaserSpin 8s linear infinite;
  z-index: -2;
  will-change: transform;
  filter: blur(1.5px);
}

.rainbow-laser-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: #060b17;
  border-radius: calc(var(--radius-xl) - 2px);
  z-index: -1;
  pointer-events: none;
}

@keyframes rainbowLaserSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (min-width: 992px) {
  .inquiry-bento {
    grid-template-columns: 5fr 7fr;
    padding: var(--space-16);
  }
}

.inquiry-info-side,
.inquiry-form-side {
  position: relative;
  z-index: 1;
}

.inquiry-info-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.inquiry-big-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-cream);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.inquiry-desc {
  color: var(--text-muted);
  font-size: var(--text-body);
  line-height: 1.6;
  margin-bottom: var(--space-8);
}

.quick-contact-box {
  padding: var(--space-6);
  background: var(--bg-glass);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-md);
  margin-top: auto;
}

.quick-contact-email {
  font-family: var(--font-mono);
  font-size: var(--text-body);
  color: var(--accent-lime);
  margin-bottom: var(--space-3);
}

.copy-email-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-cream);
  padding: 6px 14px;
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.copy-email-btn:hover {
  background: var(--accent-lime);
  color: var(--text-dark);
  border-color: var(--accent-lime);
}

/* Inquiry Form Elements */
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.form-group-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-cream);
  margin-bottom: var(--space-3);
  display: block;
}

.service-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.service-select-chip {
  padding: 12px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--text-cream);
  text-align: left;
  transition: all var(--transition-fast);
}

.service-select-chip:hover {
  border-color: var(--accent-lime);
}

.service-select-chip.selected {
  background: var(--accent-lime);
  color: var(--text-dark);
  border-color: var(--accent-lime);
  font-weight: 700;
}

/* Animated Cyber-Bento Budget Matrix */
.budget-selector-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-2);
}

.budget-selector-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.budget-label-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.budget-sublabel {
  font-size: 0.8125rem;
  color: rgba(253, 246, 236, 0.55);
  font-family: var(--font-body);
}

.budget-active-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.4);
  border-radius: var(--radius-full);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.2);
  backdrop-filter: blur(8px);
}

.budget-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00d2ff;
  box-shadow: 0 0 8px #00d2ff;
  animation: pulseNeon 1.8s infinite ease-in-out;
}

.budget-active-amount {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9375rem;
  color: #00d2ff;
  letter-spacing: 0.05em;
}

/* Animated Neon Energy Progress Rail */
.budget-energy-rail {
  position: relative;
  width: 100%;
  height: 5px;
  background: rgba(0, 210, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: visible;
  margin-top: 2px;
  margin-bottom: 6px;
}

.budget-energy-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #00d2ff, #3b82f6 60%, #8b5cf6);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.6);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.budget-energy-flare {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: energyFlare 2.4s infinite linear;
}

.energy-spark {
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: #ffffff;
  text-shadow: 0 0 8px #00d2ff;
  animation: sparkSpin 3s infinite linear;
}

/* Animated Interactive Budget Slider */
.budget-slider-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(6, 11, 24, 0.7);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 32px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  margin-top: 4px;
}

.budget-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.budget-active-display-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.45);
  border-radius: var(--radius-full);
  padding: 7px 18px;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.25);
  backdrop-filter: blur(8px);
}

.budget-display-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00d2ff;
  box-shadow: 0 0 10px #00d2ff, 0 0 20px #00d2ff;
  animation: pulseNeon 1.8s infinite ease-in-out;
}

.budget-display {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: #00d2ff;
  letter-spacing: 0.02em;
  text-shadow: 0 0 12px rgba(0, 210, 255, 0.4);
}

.budget-slider-track-wrap {
  position: relative;
  width: 100%;
  height: 12px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.22);
  border-radius: var(--radius-full);
  overflow: visible;
  display: flex;
  align-items: center;
}

.budget-slider-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #00d2ff 0%, #3b82f6 50%, #a855f7 100%);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.7);
  pointer-events: none;
  transition: width 0.15s ease-out;
}

.budget-range-input {
  position: relative;
  width: 100%;
  height: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  outline: none;
  cursor: pointer;
  z-index: 2;
  margin: 0;
}

.budget-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #00d2ff;
  box-shadow: 0 0 14px #00d2ff, 0 0 28px rgba(0, 210, 255, 0.5), inset 0 0 4px rgba(0, 0, 0, 0.4);
  cursor: grab;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.budget-range-input::-webkit-slider-thumb:hover,
.budget-range-input:active::-webkit-slider-thumb {
  transform: scale(1.22);
  box-shadow: 0 0 22px #00d2ff, 0 0 40px rgba(0, 210, 255, 0.8), inset 0 0 6px rgba(0, 0, 0, 0.4);
  cursor: grabbing;
}

.budget-range-input::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #00d2ff;
  box-shadow: 0 0 14px #00d2ff, 0 0 28px rgba(0, 210, 255, 0.5);
  cursor: grab;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.budget-range-input::-moz-range-thumb:hover,
.budget-range-input:active::-moz-range-thumb {
  transform: scale(1.22);
  cursor: grabbing;
}

.budget-steps-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  width: 100%;
}

.budget-step-tick {
  background: rgba(8, 14, 28, 0.8);
  border: 1px solid rgba(0, 210, 255, 0.16);
  border-radius: 8px;
  padding: 8px 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(253, 246, 236, 0.6);
  cursor: pointer;
  text-align: center;
  transition: all 0.22s ease;
  outline: none;
}

.budget-step-tick:hover {
  border-color: rgba(0, 210, 255, 0.5);
  color: #ffffff;
  background: rgba(0, 210, 255, 0.1);
  transform: translateY(-2px);
}

.budget-step-tick.active {
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.22), rgba(59, 130, 246, 0.2));
  border-color: #00d2ff;
  color: #00d2ff;
  box-shadow: 0 0 14px rgba(0, 210, 255, 0.35);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .budget-steps-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .budget-slider-wrapper {
    padding: 16px 18px;
  }
  .budget-display {
    font-size: 0.9375rem;
  }
}

/* Form Inputs */
.input-field {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-cream);
  font-family: var(--font-body);
  font-size: var(--text-body);
  outline: none;
  transition: border-color var(--transition-fast);
}

.input-field:focus {
  border-color: var(--accent-lime);
  background: rgba(253, 246, 236, 0.05);
}

textarea.input-field {
  resize: vertical;
  min-height: 100px;
}

.submit-inquiry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  height: 54px;
  min-height: 54px;
  padding: 0 32px;
  background: var(--accent-lime);
  color: var(--text-dark);
  border: 1px solid var(--accent-lime);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  cursor: pointer;
  box-sizing: border-box;
  margin-top: 0;
}

.submit-inquiry-btn:hover {
  background: var(--text-cream);
  color: var(--text-dark);
  border-color: var(--text-cream);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(253, 246, 236, 0.35);
}

/* MengTo/threeui High-Tech Blueprint Matrix & Dot-Border Micro-interactions */
.submit-inquiry-btn,
.showreel-stamp-btn,
.btn-primary {
  position: relative;
  overflow: hidden;
}

.submit-inquiry-btn::before,
.showreel-stamp-btn::before,
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 0 1px, transparent 2px 6px);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.submit-inquiry-btn:hover::before,
.showreel-stamp-btn:hover::before,
.btn-primary:hover::before {
  opacity: 1;
}

/* MengTo/threeui High-Tech Section Divider Rulers */
.threeui-section-ruler {
  width: 100%;
  height: 8px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: var(--space-8) 0;
  opacity: 0.28;
  pointer-events: none;
}

.threeui-section-ruler .ruler-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.threeui-section-ruler .ruler-tick {
  width: 1px;
  height: 6px;
  background: var(--accent-blue);
}

.threeui-section-ruler .ruler-tick.major {
  height: 10px;
  width: 2px;
  background: var(--accent-cyan);
}

/* =========================================
   SITE FOOTER
   ========================================= */
.site-footer {
  position: relative;
  background-color: var(--bg-black);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-top-row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

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

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

.footer-logo-svg {
  width: 160px;
  height: auto;
  color: var(--text-cream);
  margin-bottom: var(--space-4);
}

.footer-tagline {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.footer-links-grid {
  display: flex;
  gap: var(--space-12);
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-lime);
  margin-bottom: var(--space-4);
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer-link-list a:hover {
  color: var(--text-cream);
}

.footer-bottom-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(253, 246, 236, 0.05);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-dim);
}

@media (min-width: 768px) {
  .footer-bottom-row {
    flex-direction: row;
  }
}

.back-to-top-btn {
  color: var(--text-cream);
  transition: color var(--transition-fast);
}

.back-to-top-btn:hover {
  color: var(--accent-lime);
}

/* =========================================
   MODALS & DRAWERS
   ========================================= */
.studio-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 7, 0.85);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: var(--space-4);
}

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

.modal-card {
  position: relative;
  background: #0d0e14;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 980px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-8);
  box-shadow: var(--shadow-heavy);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.studio-modal.is-open .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-cream);
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-lime);
  color: var(--text-dark);
  transform: scale(1.1);
}

/* Modal Inner Grid for Case Details */
.modal-inner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .modal-inner-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.modal-hero-img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.modal-header-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent-lime);
  margin-bottom: var(--space-3);
}

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-cream);
  margin-bottom: var(--space-4);
}

.modal-narrative h4, .modal-results h4 {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  color: var(--accent-lime);
  margin: var(--space-6) 0 var(--space-2);
}

.modal-narrative p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.modal-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.metric-box {
  padding: 10px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-cream);
}

.modal-cta-row {
  margin-top: var(--space-8);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 24px;
  background: var(--accent-lime);
  color: var(--text-dark);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn-primary:hover {
  background: var(--text-cream);
}

/* Service Detail Modal Content */
.service-modal-header {
  margin-bottom: var(--space-6);
}

.service-kicker {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  color: var(--accent-lime);
}

.service-title-large {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-cream);
  margin: var(--space-2) 0;
}

.service-timeline-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  padding: 4px 12px;
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

.deliverable-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: var(--space-6) 0 var(--space-8);
}

.deliverable-checklist li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-body);
  color: var(--text-cream);
}

.check-sun {
  color: var(--accent-lime);
  font-size: 1.2rem;
}

/* Showreel Video Modal */
.video-modal-card {
  max-width: 1080px;
  padding: var(--space-4);
  background: #000;
}

.showreel-video-element {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  object-fit: cover;
}

/* Slide-In Archive Drawer */
.archive-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 86vw);
  height: 100vh;
  background: rgba(10, 11, 16, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-left: 1px solid var(--border-subtle);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.7);
  z-index: 10005;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.archive-drawer.is-open {
  transform: translateX(0);
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-8);
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-cream);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.drawer-link:hover {
  color: var(--accent-blue);
  background: rgba(0, 210, 255, 0.08);
  border-color: rgba(0, 210, 255, 0.28);
  transform: translateX(4px);
}

/* =========================================
   CUSTOM CURSOR (DIFFERENCE BLEND MODE)
   ========================================= */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-cursor);
  pointer-events: none;
}

@media (pointer: coarse), (hover: none), (max-width: 1024px) {
  .custom-cursor,
  .cursor-dot,
  .cursor-circle {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

.cursor-dot {
  position: absolute;
  top: -3px;
  left: -3px;
  width: 6px;
  height: 6px;
  background-color: var(--accent-lime);
  border-radius: 50%;
  mix-blend-mode: difference;
}

.cursor-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  border: 1px solid rgba(253, 246, 236, 0.4);
  border-radius: 50%;
  mix-blend-mode: difference;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              height 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              margin 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s ease, 
              border-color 0.25s ease;
}

.cursor-circle.cursor-active {
  width: 80px;
  height: 80px;
  margin-top: -40px;
  margin-left: -40px;
  background-color: var(--text-cream);
  border-color: transparent;
}

.cursor-circle.has-text .cursor-text {
  display: block;
}

.cursor-text {
  display: none;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #000;
  text-transform: uppercase;
}

/* =========================================
   TOAST NOTIFICATION
   ========================================= */
.studio-toast {
  position: fixed;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text-cream);
  color: var(--text-dark);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  box-shadow: var(--shadow-heavy);
  z-index: var(--z-cursor);
  opacity: 0;
  transition: all var(--transition-normal);
  pointer-events: none;
}

.studio-toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-sun {
  color: var(--accent-orange);
  animation: spinContinuous 4s linear infinite;
}

/* =========================================
   ANIMATIONS & KEYFRAMES
   ========================================= */
@keyframes spinContinuous {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes scrollMarquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes eqBounce {
  0% { height: 20%; }
  100% { height: 100%; }
}

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

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

/* =========================================
   UTILITY HELPERS
   ========================================= */
.d-flex { display: flex; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.text-sm { font-size: var(--text-sm); }
.color-muted { color: var(--text-muted); }

/* =========================================
   CRAFT SHOWCASE (BEFORE / AFTER SPLIT SLIDER)
   ========================================= */
.craft-section {
  padding: var(--space-20) 0;
  position: relative;
  background-color: #04070e;
  background-image: 
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(0, 210, 255, 0.06), rgba(4, 7, 14, 0.98) 80%),
    radial-gradient(circle 1.5px at center, rgba(186, 220, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.craft-slider-card {
  margin-top: var(--space-10);
  background: var(--bg-surface);
  border: 1px solid rgba(253, 246, 236, 0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
}

.before-after-stage {
  position: relative;
  width: 100%;
  height: clamp(380px, 58vh, 640px);
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  background: #000000;
  touch-action: pan-y;
  contain: paint layout;
  transform: translateZ(0);
}

.split-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: strict;
}

.split-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.layer-raw .raw-img {
  filter: contrast(0.95) brightness(0.95);
}

.layer-master {
  position: absolute;
  inset: 0;
  z-index: 2;
  will-change: clip-path;
  contain: strict;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.layer-master .master-img {
  filter: contrast(1.1) saturate(1.2) brightness(1.05);
}

.split-badge {
  position: absolute;
  top: var(--space-4);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(5, 5, 7, 0.92);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-cream);
  border: 1px solid rgba(253, 246, 236, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.badge-left {
  left: var(--space-4);
}

.badge-right {
  right: var(--space-4);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.raw-dot {
  background-color: #888888;
}

.master-dot {
  background-color: var(--accent-lime);
  box-shadow: 0 0 8px var(--accent-lime);
}

.raw-camera-metadata {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  z-index: 4;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: rgba(253, 246, 236, 0.45);
  background: rgba(0, 0, 0, 0.65);
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  pointer-events: none;
}

.raw-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.master-campaign-stamp {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent-lime);
  background: rgba(5, 5, 7, 0.85);
  padding: 6px 14px;
  border: 1px solid var(--accent-lime);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.split-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  z-index: 10;
  transform: translateX(-50%);
  pointer-events: none;
}

.split-divider-line {
  width: 100%;
  height: 100%;
  background-color: var(--accent-lime);
  box-shadow: 0 0 12px var(--accent-lime);
}

.split-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-black);
  border: 2px solid var(--accent-blue);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--accent-blue);
  font-size: 0.7rem;
}

.knob-sun {
  font-size: 0.85rem;
  animation: spinContinuous 6s linear infinite;
}

.craft-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  background: var(--bg-deep);
  border-top: 1px solid rgba(186, 220, 255, 0.08);
}

.craft-hint {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.craft-tags {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.craft-tag-pill {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(186, 220, 255, 0.05);
  color: var(--text-cream);
  border: 1px solid rgba(186, 220, 255, 0.08);
}

/* =========================================
   DYNAMIC SCOPE & TIMELINE ESTIMATOR
   ========================================= */
.scope-estimator-card {
  margin: var(--space-6) 0;
  padding: var(--space-6);
  background: rgba(0, 210, 255, 0.035);
  border: 1px solid rgba(0, 210, 255, 0.28);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: border-color var(--transition-normal);
}

.scope-estimator-card:hover {
  border-color: rgba(0, 210, 255, 0.5);
}

.estimator-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(0, 210, 255, 0.14);
}

.estimator-sun {
  color: var(--accent-lime);
  font-size: 0.9rem;
  animation: spinContinuous 8s linear infinite;
}

.estimator-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-lime);
  text-transform: uppercase;
}

.estimator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.estimator-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.estimator-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.estimator-val {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-cream);
}

.estimator-val.highlight {
  color: var(--accent-lime);
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: 700;
}

.estimator-deliverables-block {
  margin-top: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.estimator-deliverables-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.deliverable-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(253, 246, 236, 0.06);
  border: 1px solid rgba(253, 246, 236, 0.12);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-cream);
  letter-spacing: 0.05em;
}

.deliverable-pill::before {
  content: '✦';
  color: var(--accent-lime);
  font-size: 0.6rem;
}

/* =========================================
   INQUIRY ACTIONS & DISCOVERY BOOKING MODAL
   ========================================= */
.inquiry-actions-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  align-items: stretch;
  margin-top: var(--space-6);
  width: 100%;
}

.inquiry-actions-row .submit-inquiry-btn,
.inquiry-actions-row .book-call-trigger-btn {
  margin-top: 0;
  width: 100%;
  min-height: 54px;
  height: 100%;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 0.85vw, 0.8125rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
  transition: all var(--transition-normal);
}

.book-call-trigger-btn {
  background: rgba(0, 210, 255, 0.06);
  color: var(--accent-lime);
  border: 1px solid rgba(0, 210, 255, 0.35);
  cursor: pointer;
}

.book-call-trigger-btn:hover {
  background: var(--accent-blue);
  color: #050811;
  border-color: var(--accent-blue);
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.45);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .inquiry-actions-row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: var(--space-4);
  }

  .inquiry-actions-row .submit-inquiry-btn,
  .inquiry-actions-row .book-call-trigger-btn {
    min-height: 50px;
    padding: 14px 16px;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }
}

.booking-modal-card {
  max-width: 600px;
}

.booking-step {
  margin-bottom: var(--space-4);
}

.booking-slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.booking-slot-chip {
  background: var(--bg-surface);
  border: 1px solid rgba(186, 220, 255, 0.12);
  border-radius: var(--radius-xs);
  padding: 12px;
  color: var(--text-cream);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.booking-slot-chip:hover {
  border-color: var(--accent-blue);
  background: rgba(0, 210, 255, 0.08);
}

.booking-slot-chip.selected {
  border-color: var(--accent-blue);
  background: rgba(0, 210, 255, 0.16);
  color: var(--accent-blue);
  font-weight: 700;
}

.booking-slot-chip.selected .slot-dot {
  background-color: var(--accent-blue);
  box-shadow: 0 0 8px var(--accent-blue);
}

.slot-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #666;
}

.booking-success-view {
  text-align: center;
  padding: var(--space-6) 0;
}

.booking-success-badge {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-4);
  color: var(--accent-blue);
  filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.65));
}

.success-sun-icon {
  width: 100%;
  height: 100%;
  animation: spinContinuous 10s linear infinite;
}

.booking-meet-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--bg-deep);
  border: 1px solid rgba(0, 210, 255, 0.35);
  padding: 16px;
  border-radius: var(--radius-sm);
  margin: var(--space-4) 0;
  text-align: left;
}

.meet-icon {
  font-size: 1.6rem;
}

.meet-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meet-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.meet-slot {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-cream);
}

/* =========================================
   FLOATING SERVICE MEDIA CAPSULE
   ========================================= */
.floating-service-capsule {
  position: fixed;
  top: 0;
  left: 0;
  width: 290px;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 0.22s ease, transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.floating-service-capsule.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.capsule-inner {
  position: relative;
  background: var(--bg-black);
  border: 1px solid var(--accent-blue);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 210, 255, 0.35);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.capsule-media {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.capsule-info {
  padding: 10px 14px;
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.capsule-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--accent-blue);
  text-transform: uppercase;
}

.capsule-title {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-cream);
}

/* =========================================
   THREEUI HUD & ARCHITECTURAL ACCENTS
   ========================================= */
.threeui-hud-bracket-container {
  position: relative;
}

.threeui-hud-bracket {
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  z-index: 3;
}

.threeui-hud-bracket.bracket-tl {
  top: 8px;
  left: 8px;
  border-top: 1.5px solid rgba(0, 210, 255, 0.45);
  border-left: 1.5px solid rgba(0, 210, 255, 0.45);
}

.threeui-hud-bracket.bracket-tr {
  top: 8px;
  right: 8px;
  border-top: 1.5px solid rgba(0, 210, 255, 0.45);
  border-right: 1.5px solid rgba(0, 210, 255, 0.45);
}

.threeui-hud-bracket.bracket-bl {
  bottom: 8px;
  left: 8px;
  border-bottom: 1.5px solid rgba(0, 210, 255, 0.45);
  border-left: 1.5px solid rgba(0, 210, 255, 0.45);
}

.threeui-hud-bracket.bracket-br {
  bottom: 8px;
  right: 8px;
  border-bottom: 1.5px solid rgba(0, 210, 255, 0.45);
  border-right: 1.5px solid rgba(0, 210, 255, 0.45);
}

.threeui-telemetry-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  margin-bottom: var(--space-6);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  color: rgba(186, 220, 255, 0.45);
  text-transform: uppercase;
  border-bottom: 1px dashed rgba(0, 210, 255, 0.15);
  user-select: none;
}

.threeui-telemetry-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.threeui-telemetry-tag .telemetry-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-lime);
  box-shadow: 0 0 6px var(--accent-lime);
  animation: pulseDot 2s infinite;
}

/* =========================================
   ULTRA-SMALL MOBILE (375px)
   ========================================= */
@media (max-width: 375px) {
  .hero-giant-typography .text-row {
    font-size: clamp(1rem, 10vw, 2.5rem);
  }
  .container {
    padding-inline: var(--space-3);
  }
  .section-header-label {
    font-size: var(--text-xs);
  }
}

/* =========================================
   ULTRA-WIDE DESKTOP (1440px+)
   ========================================= */
@media (min-width: 1440px) {
  .services-marquee-track {
    gap: var(--space-12);
  }
}

/* =========================================
   PRINT MEDIA STYLESHEET
   ========================================= */
@media print {
  body {
    background: #ffffff !important;
    color: #050811 !important;
  }

  .ambient-canvas,
  #hero-canvas,
  .custom-cursor,
  .preloader,
  .top-marquee-strip,
  .site-footer-interactive-sun,
  .svg-filter-stage {
    display: none !important;
  }

  .site-header {
    position: static !important;
    background: none !important;
    border: none !important;
  }

  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }

  a {
    color: #0052cc !important;
    text-decoration: underline !important;
  }
}

