/* ============================================================ */
/* XENTROX WIREFRAME — Shared Design Tokens & Styles             */
/* ============================================================ */

:root {
  /* Fonts */
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "Fira Code", monospace;

  /* Background surfaces */
  --bg-main: #000000;
  --bg-surface: #0a0a0a;
  --bg-elevated: #111111;
  --bg-panel: #141418;
  --bg-hover: #18181c;

  /* Brand accent — Cyan */
  --color-primary: #00b8ff;
  --color-primary-hover: #0099dd;
  --color-primary-glow: rgba(0, 184, 255, 0.35);

  /* Secondary accent — Pink */
  --color-accent-pink: #ff2fa3;
  --color-accent-pink-glow: rgba(255, 47, 163, 0.35);

  /* Tertiary accent — Violet (AI) */
  --color-accent-violet: #8b5cf6;
  --color-accent-violet-glow: rgba(139, 92, 246, 0.35);

  /* Yellow accent */
  --color-accent-yellow: #7f90ff;

  /* Text */
  --text-heading: #ffffff;
  --text-body: #a1a1aa;
  --text-muted: #52525b;
  --text-subtle: #71717a;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(0, 184, 255, 0.4);

  /* Status */
  --status-success: #10b981;
  --status-info: #38bdf8;
  --status-warning: #f59e0b;
  --status-error: #f43f5e;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 14px;
  --radius-2xl: 16px;
  --radius-full: 9999px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.55);
  --shadow-card-hover: 0 8px 24px -4px rgba(0, 0, 0, 0.65);
  --shadow-elevated: 0 12px 32px -8px rgba(0, 0, 0, 0.75);
  --shadow-neon-cyan: 0 4px 20px -2px rgba(0, 184, 255, 0.45);
  --shadow-neon-pink: 0 4px 20px -2px rgba(255, 47, 163, 0.45);
  --shadow-neon-violet: 0 4px 20px -2px rgba(139, 92, 246, 0.45);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Motion */
  --motion-fast: 0.2s;
  --motion-base: 0.3s;
  --motion-slow: 0.45s;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================ */
/* RESET & BASE                                                  */
/* ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================================================ */
/* UNDERLINE ELIMINATION — No underlines on cards, titles, links */
/* ============================================================ */
.card a,
.card a:hover,
.blog-card a,
.blog-card a:hover,
.blog-card-title,
.blog-card-title a,
.blog-card-title a:hover,
.blog-card-link,
.blog-card-link:hover,
.stack-card a,
.stack-card a:hover,
.contact-info-card a,
.contact-info-card a:hover,
.footer a,
.footer a:hover,
.hero-vision a,
.hero-vision a:hover,
.btn,
.btn:hover,
.nav-links a,
.nav-links a:hover {
  text-decoration: none !important;
}

/* ============================================================ */
/* LAYOUT                                                        */
/* ============================================================ */
.container {
  max-width: 1612px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}
.section {
  padding: var(--space-24) 0;
}
.section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}
.section-desc {
  font-size: 0.875rem;
  color: var(--text-body);
  max-width: 600px;
  line-height: 1.7;
}

/* ============================================================ */
/* NAVIGATION                                                    */
/* ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--motion-base) ease;
}
.nav-inner {
  max-width: 1612px;
  margin: 0 auto;
  padding: 0 var(--space-8);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* ============================================================ */
/* NAV BRAND MOTION — Canonical Production Header Brand         */
/* Matches Productions page: gradient X + white ENTROX + orbits */
/* ============================================================ */
.nav-logo {
  position: relative;
  overflow: visible;
  line-height: 64px;
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  isolation: isolate;
}
/* Brand halo glow behind XENTROX header wordmark */
.nav-logo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 118px;
  height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(ellipse at 25% 50%, rgba(57, 224, 255, 0.32), rgba(127, 144, 255, 0.16) 50%, rgba(255, 47, 163, 0.28) 80%, transparent 100%);
  filter: blur(14px);
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nav-logo:hover::before,
.nav-logo:focus::before {
  opacity: 1.25;
  transform: translate(-50%, -50%) scale(1.12);
}

/* Per-character spans for decode animation */
.nb-ch {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  transition: opacity 0.1s ease;
}

/* All characters crisp white (no gradient on first X) */
.nb-ch:first-child {
  color: var(--text-heading);
}

/* Tiny orbital rings behind brand text */
.nav-brand-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(57, 224, 255, 0.25);
  pointer-events: none;
  opacity: 0;
  animation: nbOrbitFadeIn 0.6s ease-out forwards;
}
.nav-brand-orbit::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: #39e0ff;
  box-shadow: 0 0 6px #39e0ff, 0 0 12px rgba(57, 224, 255, 0.4);
}

/* Orbit 1 — smaller, faster */
.nb-o1 {
  width: 36px;
  height: 36px;
  margin-top: -18px;
  margin-left: -18px;
  animation: nbOrbitSpin 8s linear infinite, nbOrbitFadeIn 0.6s ease-out forwards;
}

/* Orbit 2 — larger, reverse */
.nb-o2 {
  width: 52px;
  height: 52px;
  margin-top: -26px;
  margin-left: -26px;
  border-color: rgba(255, 47, 163, 0.2);
  animation: nbOrbitSpin 12s linear infinite reverse, nbOrbitFadeIn 0.6s ease-out 0.2s forwards;
}
.nb-o2::before {
  background: #ff2fa3;
  box-shadow: 0 0 6px #ff2fa3, 0 0 12px rgba(255, 47, 163, 0.4);
}

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

@keyframes nbOrbitFadeIn {
  0% { opacity: 0; }
  100% { opacity: 0.6; }
}

/* Glitch shake — triggered by data-active="1" on .nav-logo */
.nav-logo[data-active="1"] {
  animation: nbGlitchShake 0.4s steps(2) 2;
}
@keyframes nbGlitchShake {
  0% { transform: translate(0); }
  25% { transform: translate(-2px, 1px); text-shadow: 2px 0 #00b8ff, -2px 0 #ff2fa3; }
  50% { transform: translate(2px, -1px); text-shadow: -2px 0 #00b8ff, 2px 0 #ff2fa3; }
  75% { transform: translate(-1px, 1px); }
  100% { transform: translate(0); text-shadow: none; }
}

/* Post-animation done state — orbits fade to subtle persistent */
.nav-brand-done .nav-brand-orbit {
  opacity: 0.15;
  animation-duration: 20s;
}
.nav-brand-done .nb-o2 {
  animation-duration: 30s;
}

/* Hover/focus replay — boost orbits */
.nav-logo:hover .nav-brand-orbit,
.nav-logo:focus .nav-brand-orbit {
  opacity: 0.6;
}

/* Prefers-reduced-motion — skip animation entirely */
@media (prefers-reduced-motion: reduce) {
  .nav-brand-orbit {
    display: none !important;
  }
  .nav-logo,
  .nav-logo[data-active="1"] {
    animation: none !important;
  }
  .nb-ch {
    opacity: 1 !important;
  }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-subtle);
  transition: color var(--motion-base) var(--ease-out-expo);
  text-decoration: none;
  position: relative;
}
.nav-links a:hover {
  color: var(--text-heading);
  text-decoration: none;
}
.nav-links a.active {
  color: var(--text-heading);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  box-shadow: 0 0 8px var(--color-primary-glow);
}
/* Mobile nav toggle — Element #000002 */
.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-heading);
  cursor: pointer;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.nav-toggle:hover {
  background: rgba(0, 184, 255, 0.06);
  border-color: rgba(0, 184, 255, 0.2);
  box-shadow: 0 0 12px rgba(0, 184, 255, 0.1);
}
.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease, background 0.2s ease;
  transform-origin: center;
}
.nav-toggle.is-active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: #00b8ff;
}
.nav-toggle.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: #00b8ff;
}

/* ============================================================ */
/* BUTTONS                                                       */
/* ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color var(--motion-base) var(--ease-out-expo), border-color var(--motion-base) var(--ease-out-expo), box-shadow var(--motion-base) var(--ease-out-expo), transform var(--motion-fast) var(--ease-out-expo);
  text-decoration: none;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  height: 36px;
  padding: 0 var(--space-5);
  font-size: 0.8rem;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-neon-cyan);
  text-decoration: none;
}
.btn-outline {
  height: 36px;
  padding: 0 var(--space-5);
  font-size: 0.8rem;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-heading);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-neon-cyan);
  text-decoration: none;
}
.btn-ghost {
  height: 36px;
  padding: 0 var(--space-5);
  font-size: 0.8rem;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-body);
}
.btn-ghost:hover {
  background: var(--bg-hover);
  color: var(--text-heading);
  text-decoration: none;
}

/* ============================================================ */
/* CARDS                                                         */
/* ============================================================ */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform var(--motion-slow) var(--ease-out-expo), border-color var(--motion-base) var(--ease-out-expo), box-shadow var(--motion-base) var(--ease-out-expo);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card-hover);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: var(--space-4);
}
.card-icon-cyan { background: rgba(0, 184, 255, 0.12); color: var(--color-primary); }
.card-icon-pink { background: rgba(255, 47, 163, 0.12); color: var(--color-accent-pink); }
.card-icon-violet { background: rgba(139, 92, 246, 0.12); color: var(--color-accent-violet); }
.card-icon-yellow { background: rgba(127, 144, 255, 0.12); color: var(--color-accent-yellow); }
.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-2);
}
.card-desc {
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ============================================================ */
/* PLACEHOLDER BOXES (3D blocking)                               */
/* ============================================================ */
.placeholder-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle);
  font-size: 0.7rem;
  font-family: var(--font-mono);
  position: relative;
  overflow: hidden;
}
.placeholder-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.02) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.02) 75%, transparent 75%);
  background-size: 20px 20px;
  opacity: 0.5;
}
.placeholder-img {
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-panel));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle);
  font-size: 0.75rem;
  font-family: var(--font-mono);
}
.placeholder-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.015) 10px,
    rgba(255,255,255,0.015) 20px
  );
}
.placeholder-logo {
  width: 80px;
  height: 40px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-family: var(--font-mono);
  color: var(--text-subtle);
}

/* ============================================================ */
/* HALO EFFECTS                                                  */
/* ============================================================ */
@keyframes haloAuraDrift {
  0%, 100% { box-shadow: 0 0 20px -4px var(--color-primary-glow), 0 0 40px -8px var(--color-primary-glow); }
  50% { box-shadow: 0 0 32px -2px var(--color-primary-glow), 0 0 64px -8px var(--color-primary-glow); }
}
@keyframes haloAuraDriftPink {
  0%, 100% { box-shadow: 0 0 20px -4px var(--color-accent-pink-glow), 0 0 40px -8px var(--color-accent-pink-glow); }
  50% { box-shadow: 0 0 32px -2px var(--color-accent-pink-glow), 0 0 64px -8px var(--color-accent-pink-glow); }
}
.halo-aura { animation: haloAuraDrift 3s ease-in-out infinite; }
.halo-aura-pink { animation: haloAuraDriftPink 3s ease-in-out infinite; }

/* ============================================================ */
/* SCROLL REVEAL ANIMATIONS                                      */
/* ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for children */
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }
.stagger-6 { transition-delay: 0.48s; }

/* ============================================================ */
/* SHARED INTRO TOKENS — Standardize across all wireframe pages  */
/* Same font sizes, same L/R spacing, same vertical rhythm       */
/* ============================================================ */
:root {
  /* Decode wordmark font-size (default: Home "XENTROX" 7 chars) */
  --intro-wordmark-size: clamp(3.75rem, 19.5vw, 15.4rem);
  /* Brand label above wordmark (e.g. "XENTROX" on Productions) */
  --intro-brand-label-size: clamp(0.6rem, 1.2vw, 0.85rem);
  /* Pillars subtitle (three-word line) */
  --intro-pillars-size: clamp(0.65rem, 1.15vw, 0.8rem);
  /* Horizontal inset for intro content container */
  --intro-container-padding: var(--space-2);
  /* Hero vertical padding */
  --intro-hero-padding-top: 6.5rem;
  --intro-hero-padding-bottom: var(--space-12);
  /* Full-viewport minimum height */
  --intro-hero-min-height: 100vh;
  /* Page-hero (inner pages) vertical padding */
  --page-hero-padding-top: calc(64px + var(--space-24));
  --page-hero-padding-bottom: var(--space-20);
  /* Page-hero horizontal container max-width */
  --page-hero-max-width: 900px;
}

/* ============================================================ */
/* HERO — Decode Wordmark + Orbital Rings (Demo-style)          */
/* ============================================================ */
.hero-vision {
  position: relative;
  min-height: var(--intro-hero-min-height);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--intro-hero-padding-top) var(--space-4) var(--intro-hero-padding-bottom);
  overflow: hidden;
  isolation: isolate;
}
/* Opener content container — shared across all decode-wordmark pages */
.hero-opener-content {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--intro-container-padding);
}

/* Background layers */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-grid-fade {
  background-image:
    linear-gradient(rgba(57,224,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,224,255,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
  animation: gridDrift 28s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 64px 64px, 64px 64px; }
}
.hero-aurora {
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(0,184,255,0.18), transparent 60%),
    radial-gradient(ellipse 45% 35% at 80% 25%, rgba(255,47,163,0.14), transparent 55%),
    radial-gradient(ellipse 55% 45% at 50% 70%, rgba(127,144,255,0.12), transparent 60%);
  filter: blur(8px);
  animation: auroraShift 12s ease-in-out infinite alternate;
}
@keyframes auroraShift {
  from { transform: scale(1) translateY(0); opacity: .85; }
  to { transform: scale(1.08) translateY(-2%); opacity: 1; }
}
.hero-vignette {
  background: radial-gradient(ellipse at center, transparent 35%, rgba(3,4,10,0.85) 100%);
}
/* Core glow behind wordmark */
.hero-core-glow {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(560px, 70vw);
  height: min(560px, 70vw);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(57,224,255,0.22) 0%, rgba(255,47,163,0.08) 35%, transparent 65%);
  filter: blur(10px);
  animation: coreBreath 5s ease-in-out infinite;
  z-index: 1;
  opacity: .7;
  pointer-events: none;
}
@keyframes coreBreath {
  0%,100% { transform: scale(.92) translate(-50%, -50%); opacity: .7; }
  50% { transform: scale(1.05) translate(-50%, -50%); opacity: 1; }
}
/* Orbital rings */
.hero-orbit {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(57,224,255,0.18);
  border-radius: 50%;
  animation: orbitSpin linear infinite;
  z-index: 1;
  pointer-events: none;
}
.hero-orbit::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #39e0ff;
  box-shadow: 0 0 12px #39e0ff;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}
@keyframes orbitSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
/* Wordmark — large decode text */
.wordmark {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 0.01em;
  font-weight: 900;
  font-size: var(--intro-wordmark-size);
  line-height: 0.82;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  user-select: none;
  margin: 0;
  max-width: 88vw;
  padding: 0 3vw;
  color: var(--text-heading);
  -webkit-text-stroke: 0.4px var(--text-heading);
  paint-order: stroke fill;
}
.wordmark .ch {
  display: inline-block;
}
.glow-text {
  text-shadow:
    0 0 20px rgba(57,224,255,0.35),
    0 0 60px rgba(0,184,255,0.18),
    0 0 120px rgba(255,47,163,0.12);
}
/* Glitch shake on decode */
.glitch-wrap[data-active="1"] .wordmark {
  animation: glitchShake .55s steps(2) 2;
}
@keyframes glitchShake {
  0% { transform: translate(0); }
  20% { transform: translate(-4px,1px); text-shadow: 3px 0 #ff2fa3, -3px 0 #39e0ff; }
  40% { transform: translate(4px,-1px); text-shadow: -3px 0 #ff2fa3, 3px 0 #39e0ff; }
  60% { transform: translate(-2px,2px); }
  100% { transform: translate(0); text-shadow: none; }
}
/* Pillars — subtitle under wordmark */
.hero-pillars {
  position: relative;
  z-index: 10;
  margin-top: 1.75rem;
  display: inline-block;
  font-size: var(--intro-pillars-size);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 0.75rem 2rem;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(12px);
}
.hero-pillars.is-in {
  transition: opacity .7s ease, transform .7s ease;
  opacity: 1;
  transform: translateY(0);
}
/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.55;
}
.hero-scroll-cue span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.hero-scroll-cue .scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, rgba(57,224,255,0.8), transparent);
}
/* Particles canvas container */
.hero-particles canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* HERO LOGOS — Wrapper extends particles background below hero */
.hero-logos-wrapper {
  position: relative;
  overflow: hidden;
}
/* Background layer that continues the hero particles effect */
.hero-logos-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(0,184,255,0.10), transparent 60%),
    radial-gradient(ellipse 45% 35% at 80% 25%, rgba(255,47,163,0.08), transparent 55%),
    radial-gradient(ellipse 55% 45% at 50% 70%, rgba(127,144,255,0.06), transparent 60%);
  pointer-events: none;
}
/* Particles canvas for the logos area — positioned below hero */
.hero-logos-bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-logos {
  position: relative;
  z-index: 10;
  padding: var(--space-10) 0 var(--space-14);
  overflow: hidden;
}

/* ============================================================ */
/* STACK CARDS — Smooth 60fps scroll-driven sliding stack       */
/* ============================================================ */
.stack-pin {
  position: relative;
  height: 300vh;
}
.stack-lock-frame {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  z-index: 5;
}
.stack-header {
  flex: 0 0 auto;
  padding: 11vh var(--space-4) 0;
  text-align: center;
}
.stack-stage {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.stack-progress {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 40;
  pointer-events: none;
}
.stack-progress-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  transition: height 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.stack-progress-dot.is-active {
  height: 22px;
  background: #39e0ff;
  box-shadow: 0 0 10px rgba(57, 224, 255, 0.65);
}
.stack-card {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  display: block;
  width: 100%;
  height: clamp(440px, 59vh, 640px);
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #05070f;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55);
  z-index: calc(20 + var(--i));
  transform: translate3d(0, calc(-50% + 75%), 0) scale(0.96);
  opacity: 0;
  will-change: transform, opacity;
  contain: layout paint;
  pointer-events: none;
  transition: border-color 0.3s ease;
}
.stack-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(57, 224, 255, 0.6), transparent);
  pointer-events: none;
}
.stack-card:nth-child(1)::after {
  background: linear-gradient(90deg, transparent, rgba(255, 47, 163, 0.7), transparent);
}
.stack-card:nth-child(2)::after {
  background: linear-gradient(90deg, transparent, rgba(127, 144, 255, 0.75), transparent);
}
.stack-card:nth-child(3)::after {
  background: linear-gradient(90deg, transparent, rgba(57, 224, 255, 0.75), transparent);
}
.stack-card:nth-child(4)::after {
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.75), transparent);
}
.stack-card:nth-child(5)::after {
  background: linear-gradient(90deg, transparent, rgba(255, 47, 163, 0.75), transparent);
}
/* First card visible before JS runs */
.stack-card:first-child {
  transform: translate3d(0, -50%, 0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.stack-card.is-active {
  pointer-events: auto;
  border-color: rgba(57, 224, 255, 0.42);
}
.stack-card-shell {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background: #05070f;
}
.stack-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.stack-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  opacity: 0.94;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.stack-card.is-active:hover .stack-card-media img {
  transform: scale(1.05);
}
.stack-card-media-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(102deg, rgba(3, 5, 14, 0.88) 0%, rgba(3, 5, 14, 0.48) 44%, rgba(3, 5, 14, 0.14) 100%),
    linear-gradient(to top, rgba(3, 5, 14, 0.65), transparent 55%);
  pointer-events: none;
}
.stack-card-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 50% 75% at 0% 50%, rgba(255, 47, 163, 0.12), transparent 60%);
  pointer-events: none;
}
.stack-card:nth-child(2) .stack-card-bg {
  background: radial-gradient(ellipse 50% 75% at 0% 50%, rgba(127, 144, 255, 0.14), transparent 60%);
}
.stack-card:nth-child(3) .stack-card-bg {
  background: radial-gradient(ellipse 50% 75% at 0% 50%, rgba(57, 224, 255, 0.12), transparent 60%);
}
.stack-card:nth-child(4) .stack-card-bg {
  background: radial-gradient(ellipse 50% 75% at 0% 50%, rgba(139, 92, 246, 0.14), transparent 60%);
}
.stack-card:nth-child(5) .stack-card-bg {
  background: radial-gradient(ellipse 50% 75% at 0% 50%, rgba(255, 47, 163, 0.14), transparent 60%);
}
.stack-card-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: clamp(1.5rem, 3.2vw, 2.6rem);
}
.stack-card-label {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(5, 8, 20, 0.65);
  border: 1px solid rgba(57, 224, 255, 0.28);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(57, 224, 255, 0.92);
}
.stack-card-title {
  font-size: clamp(1.65rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  margin-bottom: var(--space-3);
}
.stack-card-desc {
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 300;
  line-height: 1.7;
  max-width: 32rem;
}
.stack-card-arrow {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 8, 20, 0.55);
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.2rem;
  transition: color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.stack-card.is-active:hover .stack-card-arrow {
  color: #39e0ff;
  border-color: rgba(57, 224, 255, 0.55);
  transform: translate(3px, -3px);
}
/* ============================================================ */
/* MARQUEE — Horizontal sliding rows (clients / slides)         */
/* ============================================================ */
.marquee-section {
  position: relative;
  padding: var(--space-16) 0;
  overflow: hidden;
}
.marquee-row {
  display: flex;
  overflow: hidden;
  width: 100%;
  will-change: transform;
}
.marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--space-6);
  min-width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track.reverse {
  animation: marqueeScrollReverse 30s linear infinite;
}
.marquee-row:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes marqueeScrollReverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.marquee-item {
  flex-shrink: 0;
  width: 160px;
  height: 80px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================ */
/* BOTTOM CTA BOX                                                */
/* ============================================================ */
.bottom-cta {
  position: relative;
  padding: var(--space-20) var(--space-4);
  text-align: center;
  overflow: hidden;
}
.bottom-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(57,224,255,0.06), transparent 60%),
    radial-gradient(ellipse 40% 40% at 30% 60%, rgba(255,47,163,0.04), transparent 50%);
  pointer-events: none;
}

/* ============================================================ */
/* DESCRIPTION BLOCK                                             */
/* ============================================================ */
.desc-block {
  position: relative;
  padding: var(--space-16) 0;
}

/* Section ink — subtle glow behind sections */
.section-ink {
  position: relative;
}
.section-ink::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 10% 0%, rgba(0,184,255,0.05), transparent 55%),
    radial-gradient(ellipse 50% 35% at 90% 10%, rgba(255,47,163,0.04), transparent 50%);
  z-index: 0;
}
.section-ink > * {
  position: relative;
  z-index: 1;
}

/* Legacy hero-atmosphere kept for inner pages */
.hero-atmosphere {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: var(--page-hero-max-width);
  padding: 0 var(--space-8);
}
.hero-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  border: 1px solid var(--border-accent);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-8);
  background: rgba(0, 184, 255, 0.06);
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: var(--space-8);
}
.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-body);
  font-weight: 300;
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto var(--space-10);
}
.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .stack-pin { height: 300vh; }
  .stack-lock-frame { padding-top: 3.5rem; padding-bottom: 1rem; }
  .stack-card { height: 420px; }
  /* Default wordmark for Home on mobile */
  --intro-wordmark-size: clamp(2.5rem, 14vw, 5rem);
}

/* Scroll-driven typography text-through-space */
.scroll-text-section {
  position: relative;
  padding: var(--space-24) 0;
  overflow: hidden;
}
.scroll-text-line {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-align: center;
  opacity: 0.06;
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
  will-change: transform, opacity;
}
.scroll-text-line.active {
  opacity: 1;
}
.scroll-text-line span {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================ */
/* PAGE HERO (inner pages)                                       */
/* Standardized: same L/R spacing, same font sizes across all    */
/* ============================================================ */
.page-hero {
  position: relative;
  padding: var(--page-hero-padding-top) 0 var(--page-hero-padding-bottom);
  text-align: center;
  overflow: hidden;
}
.page-hero .container > * {
  max-width: var(--page-hero-max-width);
  margin-left: auto;
  margin-right: auto;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, var(--color-primary-glow) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

/* ============================================================ */
/* GRID LAYOUTS                                                  */
/* ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .container { padding: 0 var(--space-4); }
  .section { padding: var(--space-16) 0; }
}

/* ============================================================ */
/* PROCESS STEPS                                                 */
/* ============================================================ */
.process-steps {
  display: flex;
  gap: var(--space-8);
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: var(--border-subtle);
}
.process-step {
  flex: 1;
  text-align: center;
  position: relative;
}
.process-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 auto var(--space-4);
  position: relative;
  z-index: 1;
  transition: border-color var(--motion-base) var(--ease-out-expo), box-shadow var(--motion-base) var(--ease-out-expo), transform var(--motion-slow) var(--ease-out-expo);
}
.process-step:hover .process-number {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-neon-cyan);
  transform: scale(1.05);
}
.process-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-2);
}
.process-desc {
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ============================================================ */
/* CLIENTS STRIP                                                 */
/* ============================================================ */
.clients-strip {
  display: flex;
  gap: var(--space-6);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: var(--space-12) 0;
}

/* ============================================================ */
/* CTA SECTION                                                   */
/* ============================================================ */
.cta-section {
  text-align: center;
  padding: var(--space-24) 0;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, var(--color-primary-glow) 0%, transparent 70%);
  opacity: 0.15;
  pointer-events: none;
}

/* ============================================================ */
/* FOOTER — Canonical ambient footer (redesign-2026)             */
/* Ambient layers: orbital rings, particle gradients,           */
/* connecting dots, slow grid drift, XENTROX bg wordmark.       */
/* ============================================================ */

/* --- Footer root: distinct band vs body --- */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

/* --- Ambient Layer 1: Slow moving grid (CSS) --- */
.footer-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(57,224,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,224,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: footerGridDrift 32s linear infinite;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 10%, transparent 70%);
}
@keyframes footerGridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 48px 48px, 48px 48px; }
}

/* --- Ambient Layer 2: Soft particle aurora (CSS) --- */
.footer-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 40% 50% at 15% 40%, rgba(0,184,255,0.08), transparent 60%),
    radial-gradient(ellipse 35% 45% at 85% 30%, rgba(255,47,163,0.06), transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(127,144,255,0.05), transparent 60%);
  filter: blur(6px);
  animation: footerAuroraShift 16s ease-in-out infinite alternate;
}
@keyframes footerAuroraShift {
  0%   { transform: scale(1) translateY(0); opacity: 0.7; }
  100% { transform: scale(1.1) translateY(-3%); opacity: 1; }
}

/* --- Ambient Layer 3: Orbital rings (CSS, slow) --- */
.footer-orbit {
  position: absolute;
  border: 1px solid rgba(57,224,255,0.08);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: footerOrbitSpin linear infinite;
}
.footer-orbit::before {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}
.footer-orbit--1 {
  width: 280px; height: 280px;
  top: 10%; left: -5%;
  animation-duration: 30s;
}
.footer-orbit--1::before { background: var(--color-primary); box-shadow: 0 0 8px var(--color-primary); }
.footer-orbit--2 {
  width: 360px; height: 360px;
  top: 5%; right: -8%;
  animation-duration: 42s;
  animation-direction: reverse;
  border-color: rgba(255,47,163,0.06);
}
.footer-orbit--2::before { background: var(--color-accent-pink); box-shadow: 0 0 8px var(--color-accent-pink); }
.footer-orbit--3 {
  width: 220px; height: 220px;
  bottom: 15%; left: 30%;
  animation-duration: 24s;
  border-color: rgba(127,144,255,0.06);
}
.footer-orbit--3::before { background: var(--color-accent-yellow); box-shadow: 0 0 8px var(--color-accent-yellow); }
@keyframes footerOrbitSpin {
  to { transform: rotate(360deg); }
}

/* --- Ambient Layer 4: Connecting dots canvas --- */
.footer-dots-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
}
@media (pointer: coarse) {
  .footer-dots-canvas { opacity: 0.25; }
}

/* --- Ambient Layer 5: XENTROX bg wordmark (tasteful glitch) --- */
.footer-bg-text {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
  overflow: hidden;
  max-width: 100%;
  z-index: 0;
}
.footer-bg-text span {
  display: block;
  font-size: 20vw;
  font-weight: 900;
  color: rgba(57,224,255,0.03);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  white-space: nowrap;
  margin: 0;
  position: relative;
}
/* Cyan glitch — periodic subtle flash */
.footer-bg-text span::before {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  color: var(--color-primary);
  opacity: 0;
  animation: footerGlitchCyan 8s ease-in-out infinite;
  z-index: -1;
}
/* Pink glitch — periodic subtle flash (offset) */
.footer-bg-text span::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  color: var(--color-accent-pink);
  opacity: 0;
  animation: footerGlitchPink 8s ease-in-out infinite;
  z-index: -1;
}
@keyframes footerGlitchCyan {
  0%, 85%, 100% { opacity: 0; transform: translate(0) skewX(0deg); }
  86%  { opacity: 0.12; transform: translate(2px, -1px) skewX(-1deg); }
  88%  { opacity: 0; transform: translate(0) skewX(0deg); }
  90%  { opacity: 0.08; transform: translate(-1px, 1px) skewX(0.5deg); }
  92%  { opacity: 0; transform: translate(0) skewX(0deg); }
}
@keyframes footerGlitchPink {
  0%, 78%, 100% { opacity: 0; transform: translate(0) skewX(0deg); }
  79%  { opacity: 0.10; transform: translate(-2px, 1px) skewX(1deg); }
  81%  { opacity: 0; transform: translate(0) skewX(0deg); }
  83%  { opacity: 0.06; transform: translate(1px, -1px) skewX(-0.5deg); }
  85%  { opacity: 0; transform: translate(0) skewX(0deg); }
}

/* --- Footer container --- */
.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .footer-container { padding: 0 3rem; }
}
@media (max-width: 768px) {
  .footer-container { padding: 0 1.25rem; }
}

/* --- 5-column grid --- */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
  align-items: start;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr 1fr; }
}

/* --- Badge pill --- */
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.25rem 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  margin-bottom: 1.5rem;
  cursor: default;
}
.footer-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 6px var(--color-primary);
}
.footer-badge-text {
  font-size: 10px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-body);
}

/* --- Brand column description --- */
.footer-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: #fff;
  line-height: 1.625;
  max-width: 20rem;
  margin-bottom: 1.5rem;
}

/* --- Contact links in brand column --- */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.footer-contact a {
  font-size: 0.875rem;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-contact a:hover {
  color: var(--text-heading);
}
.footer-contact-icon {
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* --- Brand name + copyright --- */
.footer-brand-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-heading);
  margin-top: 1rem;
}
.footer-copy {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-subtle);
}

/* --- Column headings --- */
.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-heading);
  margin-bottom: 1.5rem;
}

/* --- Link lists --- */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--text-heading);
}

/* ============================================================ */
/* METRICS                                                       */
/* ============================================================ */
.metrics-row {
  display: flex;
  gap: var(--space-12);
  justify-content: center;
  flex-wrap: wrap;
}
.metric-item {
  text-align: center;
}
.metric-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}
.metric-label {
  font-size: 0.75rem;
  color: var(--text-subtle);
  margin-top: var(--space-1);
}

/* ============================================================ */
/* DIVIDER                                                       */
/* ============================================================ */
.divider {
  height: 1px;
  background: var(--border-subtle);
  margin: var(--space-16) 0;
}

/* ============================================================ */
/* PROD SECTION HEADER — Shared across all wireframe pages       */
/* Pattern: line/divider → label → title → description            */
/* Pages may override .prod-header-line::after gradient colors    */
/* ============================================================ */
.prod-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-8);
}
.prod-header-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-subtle) 20%, var(--border-accent) 50%, var(--border-subtle) 80%, transparent 100%);
  margin-bottom: var(--space-5);
}
.prod-header-line::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  margin: 0 auto;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-pink));
  border-radius: 1px;
  box-shadow: 0 0 8px var(--color-primary-glow);
}

/* ============================================================ */
/* CINEMATIC HEADING — Animated gradient text with halo          */
/* Default: cyan → pink → violet → cyan sweep                     */
/* Pages may override gradient colors and animation name          */
/* ============================================================ */
@keyframes prodTextHaloPulse {
  0% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 6px rgba(0, 184, 255, 0.35));
  }
  50% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 12px rgba(255, 47, 163, 0.55));
  }
  100% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 6px rgba(0, 184, 255, 0.35));
  }
}
.cinematic-heading,
h2.section-title {
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent-pink) 40%, var(--color-accent-violet) 75%, var(--color-primary) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: prodTextHaloPulse 4.5s ease-in-out infinite;
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* ============================================================ */
/* SERVICE BLOCK — Card with halo glow (shared base)             */
/* Pages may override hover box-shadow color                      */
/* ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.service-block {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  min-height: 340px;
  transition: transform var(--motion-slow) var(--ease-out-expo),
              border-color var(--motion-base) var(--ease-out-expo),
              box-shadow var(--motion-base) var(--ease-out-expo);
  overflow: hidden;
}
/* Halo behind card — subtle gradient */
.service-block::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,0.03), transparent 60%);
  opacity: 0;
  transition: opacity var(--motion-base) var(--ease-out-expo);
  pointer-events: none;
}
.service-block:hover::before {
  opacity: 1;
}
/* Hover halo — neon glow */
.service-block::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 40px rgba(0,184,255,0.12),
              0 0 80px rgba(0,184,255,0.06);
  opacity: 0;
  transition: opacity var(--motion-slow) var(--ease-out-expo);
  pointer-events: none;
  z-index: -1;
}
.service-block:hover::after {
  opacity: 1;
}
.service-block:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-neon-cyan);
  z-index: 2;
}
.service-block-header {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}
.service-block-desc {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  flex: 1;
}
.service-block-img {
  margin-top: auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-panel));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.service-block-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 12px,
    rgba(255,255,255,0.012) 12px,
    rgba(255,255,255,0.012) 24px
  );
}
.service-block-img span {
  position: relative;
  z-index: 1;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--text-subtle);
  letter-spacing: 0.08em;
}
.service-block-img img,
.media-tile-img img,
.video-tile-inner img,
.campaign-tile-inner img,
.blog-card-img img,
.blog-card-placeholder img,
.placeholder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  position: relative;
  z-index: 1;
}

/* ============================================================ */
/* SERVICE BLOCK — Multi-Color Accent Variants                  */
/* Each card cycles through cyan, magenta, violet, amber        */
/* ============================================================ */

/* --- Accent: Cyan (#00b8ff) --- */
.service-block.accent-cyan {
  --accent-color: #00b8ff;
  --accent-glow: rgba(0, 184, 255, 0.2);
  --accent-glow-strong: rgba(0, 184, 255, 0.35);
}
.service-block.accent-cyan .service-block-header {
  color: var(--accent-color);
}
.service-block.accent-cyan .service-block-img span {
  color: var(--accent-color);
}
.service-block.accent-cyan::after {
  box-shadow: 0 0 40px rgba(0,184,255,0.12),
              0 0 80px rgba(0,184,255,0.06);
}
.service-block.accent-cyan:hover {
  border-color: var(--accent-color);
  box-shadow: 0 4px 20px -2px rgba(0, 184, 255, 0.45);
}
.service-block.accent-cyan:hover::before {
  background: radial-gradient(ellipse at 30% 0%, rgba(0,184,255,0.08) 0%, transparent 60%);
}
.service-block.accent-cyan:hover .service-block-header {
  color: #ffffff;
}
.service-block.accent-cyan:hover .service-block-img span {
  color: var(--accent-color);
}

/* --- Accent: Magenta/Pink (#ff2fa3) --- */
.service-block.accent-magenta {
  --accent-color: #ff2fa3;
  --accent-glow: rgba(255, 47, 163, 0.2);
  --accent-glow-strong: rgba(255, 47, 163, 0.35);
}
.service-block.accent-magenta .service-block-header {
  color: var(--accent-color);
}
.service-block.accent-magenta .service-block-img span {
  color: var(--accent-color);
}
.service-block.accent-magenta::after {
  box-shadow: 0 0 40px rgba(255,47,163,0.12),
              0 0 80px rgba(255,47,163,0.06);
}
.service-block.accent-magenta:hover {
  border-color: var(--accent-color);
  box-shadow: 0 4px 20px -2px rgba(255, 47, 163, 0.45);
}
.service-block.accent-magenta:hover::before {
  background: radial-gradient(ellipse at 30% 0%, rgba(255,47,163,0.08) 0%, transparent 60%);
}
.service-block.accent-magenta:hover .service-block-header {
  color: #ffffff;
}
.service-block.accent-magenta:hover .service-block-img span {
  color: var(--accent-color);
}

/* --- Accent: Violet (#8b5cf6) --- */
.service-block.accent-violet {
  --accent-color: #8b5cf6;
  --accent-glow: rgba(139, 92, 246, 0.2);
  --accent-glow-strong: rgba(139, 92, 246, 0.35);
}
.service-block.accent-violet .service-block-header {
  color: var(--accent-color);
}
.service-block.accent-violet .service-block-img span {
  color: var(--accent-color);
}
.service-block.accent-violet::after {
  box-shadow: 0 0 40px rgba(139,92,246,0.12),
              0 0 80px rgba(139,92,246,0.06);
}
.service-block.accent-violet:hover {
  border-color: var(--accent-color);
  box-shadow: 0 4px 20px -2px rgba(139, 92, 246, 0.45);
}
.service-block.accent-violet:hover::before {
  background: radial-gradient(ellipse at 30% 0%, rgba(139,92,246,0.08) 0%, transparent 60%);
}
.service-block.accent-violet:hover .service-block-header {
  color: #ffffff;
}
.service-block.accent-violet:hover .service-block-img span {
  color: var(--accent-color);
}

/* --- Accent: Amber (#f59e0b) --- */
.service-block.accent-amber {
  --accent-color: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.2);
  --accent-glow-strong: rgba(245, 158, 11, 0.35);
}
.service-block.accent-amber .service-block-header {
  color: var(--accent-color);
}
.service-block.accent-amber .service-block-img span {
  color: var(--accent-color);
}
.service-block.accent-amber::after {
  box-shadow: 0 0 40px rgba(245,158,11,0.12),
              0 0 80px rgba(245,158,11,0.06);
}
.service-block.accent-amber:hover {
  border-color: var(--accent-color);
  box-shadow: 0 4px 20px -2px rgba(245, 158, 11, 0.45);
}
.service-block.accent-amber:hover::before {
  background: radial-gradient(ellipse at 30% 0%, rgba(245,158,11,0.08) 0%, transparent 60%);
}
.service-block.accent-amber:hover .service-block-header {
  color: #ffffff;
}
.service-block.accent-amber:hover .service-block-img span {
  color: var(--accent-color);
}

/* ============================================================ */
/* ABOUT / WHO WE ARE — Animated stats row                       */
/* ============================================================ */

/* Stats row — 3 columns, wide full-width cards */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin: var(--space-12) auto 0;
  max-width: 100%;
  width: 100%;
}
.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-10) var(--space-8);
  background: #090a0f;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: visible;
  transition: border-color 0.6s var(--ease-out-expo),
              transform 0.6s var(--ease-out-expo);
}
/* Breathing halo glow — always active, not just on hover */
.about-stat::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  opacity: 0.6;
  animation: statHaloBreathe 3s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
.about-stat:nth-child(1)::before {
  background: transparent;
  box-shadow: 0 0 20px -4px var(--color-primary-glow), 0 0 40px -8px var(--color-primary-glow);
  animation-name: statHaloCyan;
}
.about-stat:nth-child(2)::before {
  background: transparent;
  box-shadow: 0 0 20px -4px var(--color-accent-pink-glow), 0 0 40px -8px var(--color-accent-pink-glow);
  animation-name: statHaloPink;
}
.about-stat:nth-child(3)::before {
  background: transparent;
  box-shadow: 0 0 20px -4px var(--color-accent-violet-glow), 0 0 40px -8px var(--color-accent-violet-glow);
  animation-name: statHaloViolet;
}
.about-stat:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
}
@keyframes statHaloCyan {
  0%, 100% {
    box-shadow: 0 0 20px -4px var(--color-primary-glow), 0 0 40px -8px var(--color-primary-glow);
    opacity: 0.5;
  }
  50% {
    box-shadow: 0 0 32px -2px var(--color-primary-glow), 0 0 64px -8px var(--color-primary-glow), 0 0 80px -12px var(--color-primary-glow);
    opacity: 0.9;
  }
}
@keyframes statHaloPink {
  0%, 100% {
    box-shadow: 0 0 20px -4px var(--color-accent-pink-glow), 0 0 40px -8px var(--color-accent-pink-glow);
    opacity: 0.5;
  }
  50% {
    box-shadow: 0 0 32px -2px var(--color-accent-pink-glow), 0 0 64px -8px var(--color-accent-pink-glow), 0 0 80px -12px var(--color-accent-pink-glow);
    opacity: 0.9;
  }
}
@keyframes statHaloViolet {
  0%, 100% {
    box-shadow: 0 0 20px -4px var(--color-accent-violet-glow), 0 0 40px -8px var(--color-accent-violet-glow);
    opacity: 0.5;
  }
  50% {
    box-shadow: 0 0 32px -2px var(--color-accent-violet-glow), 0 0 64px -8px var(--color-accent-violet-glow), 0 0 80px -12px var(--color-accent-violet-glow);
    opacity: 0.9;
  }
}

/* Value row — number + suffix on the same line */
.about-stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  line-height: 1;
  position: relative;
  z-index: 1;
}

/* Animated number with gradient */
.about-stat-number {
  font-size: clamp(3rem, 6vw, 4.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

/* Plus suffix — inline next to number */
.about-stat-suffix {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  animation: pulseSuffix 2s ease-in-out infinite;
}
@keyframes pulseSuffix {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.about-stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  position: relative;
  z-index: 1;
  margin-top: var(--space-2);
}

/* Helper subtitle below label */
.about-stat-desc {
  font-size: 0.75rem;
  color: var(--text-subtle);
  text-align: center;
  margin-top: 0.25rem;
  position: relative;
  z-index: 1;
}

/* ============================================================ */
/* ABOUT — Editorial 2-column split (Who We Are)                 */
/* ============================================================ */
.about-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-12);
  align-items: start;
  margin-top: var(--space-8);
}
.about-lead-headline {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-heading);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}
.about-lead-sub {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
}
.about-narrative-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}
.about-tag-pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  border: 1px solid rgba(0,184,255,0.25);
  background: rgba(0,184,255,0.05);
  color: var(--color-primary);
  border-radius: 9999px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* ============================================================ */
/* CTA — Shared base (glow orb + ring + buttons)                 */
/* ============================================================ */
.productions-cta {
  position: relative;
  text-align: center;
  padding: clamp(5rem, 10vw, 8rem) 0;
  overflow: hidden;
}

/* Background glow orb — breathing pulse */
.productions-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,184,255,0.1) 0%, rgba(255,47,163,0.06) 40%, transparent 70%);
  animation: prodCtaGlowPulse 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Decorative orbital ring */
.productions-cta-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(0,184,255,0.08);
  animation: prodCtaRingSpin 30s linear infinite;
  pointer-events: none;
  z-index: 0;
}
.productions-cta-ring::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 10%;
  border-radius: 50%;
  border: 1px solid rgba(255,47,163,0.06);
  animation: prodCtaRingSpin 20s linear infinite reverse;
}

/* Content sits above decorations */
.productions-cta > .container {
  position: relative;
  z-index: 1;
}

/* CTA section header — spacing for CTA context */
.productions-cta .prod-section-header {
  margin-bottom: var(--space-8);
}

/* CTA title — gradient text with halo pulse */
.cta-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: var(--space-4);
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent-pink) 30%, var(--color-accent-violet) 60%, var(--color-primary) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: prodTextHaloPulse 4.5s ease-in-out infinite;
}

/* CTA action buttons */
.cta-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-6);
}
.cta-btn-primary {
  position: relative;
  overflow: hidden;
}
.cta-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-pink));
  opacity: 0;
  transition: opacity var(--motion-base) var(--ease-out-expo);
  z-index: 0;
}
.cta-btn-primary:hover::before {
  opacity: 1;
}
.cta-btn-primary span,
.cta-btn-primary {
  position: relative;
  z-index: 1;
}
.cta-btn-secondary {
  border: 1px solid var(--border-accent);
  color: var(--color-primary);
  background: transparent;
  transition: all var(--motion-base) var(--ease-out-expo);
}
.cta-btn-secondary:hover {
  background: rgba(0,184,255,0.08);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-neon-cyan);
  text-decoration: none;
}

/* ============================================================ */
/* FAQ ACCORDION — Shared base                                   */
/* ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--motion-base) var(--ease-out-expo);
}
.faq-item:hover {
  border-color: var(--border-strong);
}
.faq-question {
  padding: var(--space-5) var(--space-6);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-toggle {
  font-size: 1rem;
  color: var(--text-subtle);
  transition: transform var(--motion-base) var(--ease-out-expo);
  flex-shrink: 0;
  margin-left: var(--space-3);
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--motion-slow) var(--ease-out-expo),
              padding var(--motion-slow) var(--ease-out-expo);
}
.faq-item.open .faq-answer {
  max-height: 200px;
}
.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-5);
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* ============================================================ */
/* LOGO MARQUEE — Shared base                                    */
/* ============================================================ */
.logo-marquee-section {
  padding: var(--space-16) 0;
  overflow: hidden;
}
.logo-marquee-label {
  text-align: center;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--text-subtle);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-8);
}
.logo-marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.logo-marquee-track {
  display: flex;
  gap: var(--space-6);
  width: max-content;
  animation: logo-marquee-scroll 40s linear infinite;
}
.logo-marquee-track:hover {
  animation-play-state: paused;
}
@keyframes logo-marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* MARQUEE LOGO PILL (Full-Bleed Chamfered Tile) */
.logo-pill {
  flex-shrink: 0;
  width: 108px;
  height: 108px;
  padding: 0 !important;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 0 !important;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  -webkit-clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--motion-base) var(--ease-out-expo),
              background var(--motion-base) var(--ease-out-expo),
              transform var(--motion-base) var(--ease-out-expo);
}
.logo-pill:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.logo-pill img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain;
  display: block;
  filter: brightness(0.98) contrast(1.08);
  opacity: 0.92;
  transition: opacity 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}
.logo-pill:hover img {
  opacity: 1;
  filter: brightness(1.15);
  transform: scale(1.06);
}
.logo-pill span {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-subtle);
  letter-spacing: 0.08em;
}

/* ============================================================ */
/* MAJOR SERVICES GRID — 3-column obsidian cards (Homepage)      */
/* ============================================================ */
.major-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.major-service-card {
  position: relative;
  background: #090a0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  overflow: hidden;
}
.major-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.major-service-card::after {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 184, 255, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.major-service-card:hover::before {
  opacity: 1;
}
.major-service-card:hover::after {
  opacity: 1;
}
.major-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 184, 255, 0.25);
  box-shadow: 0 8px 40px -8px rgba(0, 184, 255, 0.15), 0 0 0 1px rgba(0, 184, 255, 0.08);
}
/* Neon icon badge */
.major-service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--space-2);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.major-service-icon.cyan {
  background: rgba(0, 184, 255, 0.08);
  box-shadow: 0 0 20px rgba(0, 184, 255, 0.12), inset 0 0 16px rgba(0, 184, 255, 0.06);
}
.major-service-icon.pink {
  background: rgba(255, 47, 163, 0.08);
  box-shadow: 0 0 20px rgba(255, 47, 163, 0.12), inset 0 0 16px rgba(255, 47, 163, 0.06);
}
.major-service-icon.violet {
  background: rgba(139, 92, 246, 0.08);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.12), inset 0 0 16px rgba(139, 92, 246, 0.06);
}
.major-service-icon::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.major-service-icon.cyan::after {
  background: radial-gradient(circle at center, rgba(0, 184, 255, 0.15), transparent 70%);
}
.major-service-icon.pink::after {
  background: radial-gradient(circle at center, rgba(255, 47, 163, 0.15), transparent 70%);
}
.major-service-icon.violet::after {
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.15), transparent 70%);
}
.major-service-card:hover .major-service-icon::after {
  opacity: 1;
}
.major-service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.major-service-desc {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* ============================================================ */
/* CLIENT LOGO GRID — 3x3 static grid (Contact page)             */
/* ============================================================ */
.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.client-logo-card {
  position: relative;
  background: #090a0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  overflow: hidden;
}
.client-logo-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 0.75rem;
  box-shadow: 0 0 30px rgba(0, 184, 255, 0.08),
              0 0 60px rgba(0, 184, 255, 0.04);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}
.client-logo-card:hover::before {
  opacity: 1;
}
.client-logo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 184, 255, 0.2);
  box-shadow: 0 8px 32px -8px rgba(0, 184, 255, 0.12), 0 0 0 1px rgba(0, 184, 255, 0.06);
}
.client-logo-card img {
  display: block;
  max-width: 100%;
  height: auto;
  filter: brightness(0.95);
  transition: filter 0.3s ease;
}
.client-logo-card:hover img {
  filter: brightness(1.1);
}

/* ============================================================ */
/* RESPONSIVE — Shared grid breakpoints                          */
/* ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .major-services-grid { grid-template-columns: repeat(2, 1fr); }
  .client-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-pill {
    width: 88px;
    height: 88px;
    padding: 0;
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
    -webkit-clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
  }
  .logo-pill img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
  }
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .major-services-grid { grid-template-columns: 1fr; }
  .client-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: 1fr; gap: var(--space-4); max-width: 100%; width: 100%; }
  .about-editorial-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .productions-cta-glow { width: 300px; height: 300px; }
  .productions-cta-ring { width: 250px; height: 250px; }
  .logo-pill {
    width: 88px;
    height: 88px;
    padding: 0;
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
    -webkit-clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
  }
  .logo-pill img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
  }
  .logo-marquee-section { padding: var(--space-10) 0; }
  .cta-title {
    font-size: clamp(1.5rem, 6vw, 2.25rem);
  }
}

/* ============================================================ */
/* RESPONSIVE NAV                                                */
/* ============================================================ */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: var(--space-6) var(--space-8);
    gap: var(--space-4);
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-links.open { display: flex; }
  .process-steps { flex-direction: column; }
  .process-steps::before { display: none; }
}

/* MARQUEE LOGO PILL (Edge-to-Edge Full Bleed Chamfered Tile with Outline & Shadow Bed) */
.logo-pill {
  flex-shrink: 0;
  width: 108px !important;
  height: 108px !important;
  padding: 0 !important;
  margin: 0 !important;
  background-color: var(--bg-surface) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='108' height='108' viewBox='0 0 108 108' fill='none'%3E%3Cpolygon points='14,0.5 94,0.5 107.5,14 107.5,94 94,107.5 14,107.5 0.5,94 0.5,14' stroke='rgba(255,255,255,0.22)' stroke-width='1.2'/%3E%3C/svg%3E") !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  border: none !important;
  border-radius: 0 !important;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px) !important;
  -webkit-clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px) !important;
  overflow: hidden;
  display: flex !important;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.85)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6)) !important;
  transition: transform var(--motion-base) var(--ease-out-expo),
              filter var(--motion-base) var(--ease-out-expo),
              background-image var(--motion-base) var(--ease-out-expo) !important;
}

.logo-pill:hover {
  transform: translateY(-3px) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='108' height='108' viewBox='0 0 108 108' fill='none'%3E%3Cpolygon points='14,0.5 94,0.5 107.5,14 107.5,94 94,107.5 14,107.5 0.5,94 0.5,14' stroke='rgba(139,92,246,0.65)' stroke-width='1.5'/%3E%3C/svg%3E") !important;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 12px rgba(139, 92, 246, 0.35)) !important;
}

.logo-pill img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain;
  display: block;
  filter: brightness(0.98) contrast(1.08);
  opacity: 0.92;
  transition: opacity 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

.logo-pill:hover img {
  opacity: 1;
  filter: brightness(1.15);
  transform: scale(1.04);
}

/* CONTACT PAGE CLIENTS GRID (14 Square Chamfered Logo Pills) */
.contact-clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-6);
  max-width: 960px;
  margin: var(--space-10) auto 0;
}
@media (max-width: 768px) {
  .contact-clients-grid {
    gap: var(--space-4);
  }
}

/* ============================================================ */
/* UNIFIED BLOG CARDS — Canonical 1:1 Square Image & Equal Height */
/* Matches blog.html card design across all pages               */
/* ============================================================ */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  transition: transform var(--motion-base) var(--ease-out-expo),
              box-shadow var(--motion-base) var(--ease-out-expo),
              border-color var(--motion-base) var(--ease-out-expo);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-strong);
}
.blog-card-img,
.blog-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}
.blog-card-img img,
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--motion-slow) var(--ease-out-expo);
}
.blog-card:hover .blog-card-img img,
.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}
.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: var(--space-6);
}
.blog-card-body .blog-card-link,
.blog-card-body .blog-card-read-more {
  margin-top: auto;
  padding-top: var(--space-4);
  text-decoration: none !important;
}

/* ============================================================ */
/* UNIFIED SERVICE BLOCK CARDS — Matches Productions What We Offer */
/* ============================================================ */
.services-grid .service-block {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.services-grid .service-block-img {
  width: 100%;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  margin-top: auto;
  overflow: hidden;
  border-radius: var(--radius-lg, 14px);
}
.services-grid .service-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Canonical Productions "What We Offer" Card Polish (Single Source of Truth) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.services-grid .service-block {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  min-height: 340px;
  overflow: hidden;
}
.services-grid .service-block-header {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}
.services-grid .service-block-desc {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  flex: 1;
}
.services-grid .service-block:hover .service-block-img img {
  transform: scale(1.04);
}
.services-grid .service-block.accent-cyan:hover {
  border-color: #00b8ff;
  box-shadow: 0 0 35px rgba(0, 184, 255, 0.45), 0 0 70px rgba(0, 184, 255, 0.2);
}
.services-grid .service-block.accent-magenta:hover {
  border-color: #ff2fa3;
  box-shadow: 0 0 35px rgba(255, 47, 163, 0.45), 0 0 70px rgba(255, 47, 163, 0.2);
}
.services-grid .service-block.accent-violet:hover {
  border-color: #8b5cf6;
  box-shadow: 0 0 35px rgba(139, 92, 246, 0.45), 0 0 70px rgba(139, 92, 246, 0.2);
}
.services-grid .service-block.accent-amber:hover {
  border-color: #f59e0b;
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.45), 0 0 70px rgba(245, 158, 11, 0.2);
}
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}
