 :root {
  --brand-bg: #0A0A0A;
  --brand-white: #FFFFFF;
  --brand-red: #FF0040;
  --brand-teal: #00E5FF;
  --brand-navy: #1A1A2E;
  --brand-muted: #8A8A8A;

  --bg: var(--brand-bg);
  --bg-2: color-mix(in oklab, var(--brand-bg), black 8%);
  --surface: color-mix(in oklab, var(--brand-navy), var(--brand-bg) 62%);
  --surface-2: color-mix(in oklab, var(--brand-navy), var(--brand-bg) 48%);
  --text: var(--brand-white);
  --muted: color-mix(in oklab, var(--brand-muted), var(--brand-white) 24%);
  --line: color-mix(in oklab, var(--brand-teal), var(--brand-bg) 42%);
  --line-soft: color-mix(in oklab, var(--brand-navy), var(--brand-teal) 40%);
  --accent: var(--brand-red);
  --accent-2: var(--brand-teal);
  --radius: 20px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background:
    radial-gradient(62% 46% at 10% -8%, rgba(255,0,64,0.42), transparent 64%),
    radial-gradient(56% 42% at 92% 10%, rgba(0,229,255,0.36), transparent 66%),
    linear-gradient(180deg, var(--brand-bg) 0%, var(--bg-2) 52%, color-mix(in oklab, var(--brand-bg), var(--brand-navy) 20%) 100%);
  color: var(--text);
  line-height: 1.7;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: radial-gradient(circle at 1px 1px, var(--brand-white) 1px, transparent 0);
  background-size: 3px 3px;
}

body::after {
  content: "";
  position: fixed;
  inset: -10% -5%;
  pointer-events: none;
  background:
    radial-gradient(44% 34% at 15% 35%, rgba(255,0,64,0.2), transparent 72%),
    radial-gradient(38% 34% at 82% 62%, rgba(0,229,255,0.2), transparent 72%);
}
.container { width: min(1280px, 92vw); margin: 0 auto; }

.page-curtain {
  position: fixed; inset: 0; z-index: 100;
  background: linear-gradient(180deg, color-mix(in oklab, var(--brand-bg), black 6%), color-mix(in oklab, var(--brand-bg), var(--brand-navy) 20%));
  transform: scaleY(0); transform-origin: top; pointer-events: none;
}

.intro {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #030305 0%, #080810 60%, #0a0a12 100%);
}

/* Subtle cinematic glow */
.intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(255,0,64,0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: introGlow 8s ease-in-out infinite;
}

.intro::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: radial-gradient(circle at 1px 1px, var(--brand-white) 1px, transparent 0);
  background-size: 3px 3px;
  z-index: 0;
}

@keyframes introMoody {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 50% 50%; }
}

@keyframes darkPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

@keyframes introGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.intro-static::before {
  content: "";
  position: absolute;
  width: min(140vw, 1600px);
  height: min(100vw, 1000px);
  border-radius: 50%;
  background: 
    radial-gradient(circle at 30% 40%, rgba(255,0,64,0.45) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(0,229,255,0.35) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(255,0,64,0.2) 0%, transparent 60%);
  filter: blur(40px);
  transform: translateY(15%);
  opacity: 0.85;
  animation: introDrift 8s ease-in-out infinite;
}

@keyframes introDrift {
  0%, 100% { 
    transform: translateY(15%) translateX(-5%) scale(1);
    background-position: 0% 0%;
  }
  25% { 
    transform: translateY(10%) translateX(5%) scale(1.05);
    background-position: 25% 25%;
  }
  50% { 
    transform: translateY(20%) translateX(-3%) scale(0.98);
    background-position: 50% 50%;
  }
  75% { 
    transform: translateY(12%) translateX(4%) scale(1.02);
    background-position: 75% 75%;
  }
}

.intro-inner {
  max-width: 90vw;
  padding: 2rem;
  position: relative;
  z-index: 2;
  animation: introEntrance .75s cubic-bezier(.22,.61,.36,1) both;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* INPACT - fills most of screen */
.intro-kicker {
  display: flex;
  justify-content: center;
  gap: 0;
  font-size: clamp(4rem, 15vw, 12rem);
  margin-bottom: 0.5rem;
}

.intro-kicker span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: charReveal 0.5s ease forwards;
}

.intro-kicker span:nth-child(1) { animation-delay: 0.1s; }
.intro-kicker span:nth-child(2) { animation-delay: 0.15s; }
.intro-kicker span:nth-child(3) { animation-delay: 0.2s; }
.intro-kicker span:nth-child(4) { animation-delay: 0.25s; }
.intro-kicker span:nth-child(5) { animation-delay: 0.3s; }
.intro-kicker span:nth-child(6) { animation-delay: 0.35s; }

@keyframes charReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Word animation for headline */
.intro h1 .word-anim {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  animation: wordReveal 0.8s cubic-bezier(.22,.61,.36,1) forwards;
}

.intro h1 .word-anim:nth-child(1) { animation-delay: 0.5s; }
.intro h1 .word-anim:nth-child(2) { animation-delay: 0.7s; }
.intro h1 .word-anim:nth-child(3) { animation-delay: 0.9s; }

@keyframes wordReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Fade animation for description */
.intro p.fade-anim {
  opacity: 0;
  animation: fadeUp 0.6s ease 1.1s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button animation */
.btn-anim {
  opacity: 0;
  animation: btnReveal 0.5s ease 1.4s forwards;
}

@keyframes btnReveal {
  to {
    opacity: 1;
  }
}

/* Subtle floating on the whole intro content */
.intro-inner {
  animation: introEntrance .75s cubic-bezier(.22,.61,.36,1) both;
}

@keyframes contentFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.intro-kicker { 
  color: color-mix(in oklab, var(--brand-red), var(--brand-white) 62%); 
  letter-spacing: .2em; 
  text-transform: uppercase; 
  font-size: .78rem; 
  margin: 0; 
  position: relative;
  display: inline-block;
}

.intro-kicker::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,0,64,0.4) 0%, transparent 70%);
  filter: blur(15px);
  z-index: -1;
}
.intro h1 { 
  font-size: clamp(2rem, 8vw, 6rem);
  margin: .45rem 0 .8rem; 
  line-height: .95; 
  position: relative; 
  white-space: nowrap;
  text-align: center;
}

.intro p {
  color: var(--muted); 
  max-width: 680px; 
  margin: 0 auto 1.2rem; 
  text-align: center;
}
.intro h1::before {
  content: "";
  position: absolute;
  inset: -18% -12%;
  z-index: -1;
  background: radial-gradient(circle, rgba(255,0,64,.22), rgba(0,229,255,.12), transparent 72%);
  filter: blur(14px);
}
.intro p { color: var(--muted); max-width: 80vw; margin: 0 auto 1.2rem; text-align: center; font-size: clamp(1rem, 3vw, 1.5rem); }

.hero {
  min-height: 100vh;
  position: relative;
  padding-bottom: 12vh;
  background:
    linear-gradient(125deg, rgba(255,0,64,0.16), transparent 46%),
    linear-gradient(235deg, rgba(0,229,255,0.16), transparent 50%),
    radial-gradient(70% 55% at 50% -10%, rgba(50,64,86,0.28), transparent 74%);
  background-size: 220% 220%;
  animation: heroDrift 10s ease-in-out infinite;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(44% 36% at 42% 24%, rgba(255,0,64,0.18), rgba(0,229,255,0.2), transparent 70%);
  filter: blur(14px);
}.hero-short { min-height: 58vh; }

.nav {
  position: sticky; top: 0.8rem; z-index: 50;
  width: min(1280px, 92vw); margin: .9rem auto 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .85rem 1rem;
  border: 1px solid color-mix(in oklab, var(--line-soft), transparent 45%);
  border-radius: 16px;
  background: rgba(20,14,21,.72);
  backdrop-filter: blur(10px);
  transition: background .3s ease, border-color .3s ease;
}

.nav.scrolled {
  background: rgba(16, 12, 20, .88);
  border-color: color-mix(in oklab, var(--line-soft), transparent 25%);
}
.brand { display: flex; flex-direction: column; }
.brand span { 
  font-weight: 800; 
  letter-spacing: .06em; 
  color: var(--brand-teal); /* Teal in nav */
  text-transform: uppercase;
}
.brand small { color: var(--muted); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.nav-links a { position: relative; color: var(--text); text-decoration: none; opacity: .92; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }

.hero-content { padding: 18vh 0 4rem; }
.hero-split .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 4vw;
}
.hero-split {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.hero-panel, .hero-totem {
  min-height: 300px;
}
.hero-panel {
  width: 90%;
  max-width: 800px;
  padding: clamp(1.6rem, 3vw, 2.7rem);
  border: 1px solid color-mix(in oklab, var(--line-soft), transparent 40%);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(23, 34, 52, .82), rgba(20, 33, 48, .68));
  margin-left: 0;
  min-height: auto;
  box-shadow: 0 24px 56px rgba(8,10,16,.35), inset 0 0 26px rgba(255,255,255,.03);
}
.eyebrow { color: color-mix(in oklab, var(--brand-red), var(--brand-white) 62%); letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; margin: 0; animation: eyebrowBreath 5.5s ease-in-out infinite; }
h1 { font-size: clamp(2.7rem, 7vw, 6rem); line-height: 1.02; margin: .55rem 0 1rem; }
.hero-panel h1 { position: relative; animation: headlineBreath 6s ease-in-out infinite; }
.hero-panel h1::before {
  content: "";
  position: absolute;
  inset: -16% -8%;
  z-index: -1;
  background: radial-gradient(circle, rgba(255,0,64,.24), rgba(0,229,255,.14), transparent 72%);
  filter: blur(12px);
}
.lead { font-size: clamp(1.08rem, 2.2vw, 1.42rem); color: var(--muted); max-width: 860px; line-height: 1.75; }

.hero-totem {
  border-radius: 24px;
  border: none;
  position: relative;
  right: auto;
  top: auto;
  width: 90%;
  max-width: 800px;
  min-height: 300px;
  background: #12121a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  margin-top: 2rem;
  transition: transform 0.4s ease, box-shadow 0.5s ease;
  overflow: hidden;
}

.hero-totem-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero-totem-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-totem:hover {
  transform: scale(1.02);
  box-shadow: 0 0 50px rgba(255,0,64,.7), 0 0 100px rgba(0,229,255,.6);
}

.hero-totem::before,
.hero-totem::after {
  display: none;
}

.hero-totem span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(180,140,150,0.8);
  transition: color 0.3s ease;
}

.hero-totem strong {
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  line-height: 1.05;
  background: linear-gradient(90deg, #FF0040, #00E5FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.hero-totem:hover span {
  color: rgba(255,255,255,0.9);
}

.hero-totem:hover strong {
  background: linear-gradient(90deg, #00E5FF, #FF0040);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-block; padding: .86rem 1.2rem; border-radius: 12px;
  border: 1px solid transparent; text-decoration: none; font-weight: 700; cursor: pointer;
  background: linear-gradient(90deg, var(--brand-red), color-mix(in oklab, var(--brand-red), var(--brand-white) 26%)); color: var(--brand-white)5f8;
  box-shadow: 0 10px 28px rgba(255, 77, 109, .24);
  transition: transform .26s ease, box-shadow .26s ease, background .26s ease;
}
.btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 34px rgba(255,0,64,.34); }
.btn:active { transform: translateY(0) scale(0.99); }
.btn-ghost { background: rgba(0,229,255,.1); border-color: rgba(0,229,255,.42); color: var(--text); }
.btn-ghost:hover { box-shadow: 0 0 0 1px rgba(0,229,255,.32) inset, 0 10px 24px rgba(0,229,255,.22); transform: translateY(-2px) scale(1.02); }
.btn-ghost:active { transform: translateY(0) scale(0.99); }
.cta-row { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.5rem; }
.trust-line { margin-top: 1rem; color: color-mix(in oklab, var(--brand-white), var(--brand-muted) 26%); opacity: .9; font-size: .88rem; }

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 32px;
  height: 54px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(0,229,255,.16), inset 0 0 14px rgba(255,0,64,.12);
}
.scroll-indicator span {
  position: absolute;
  width: 5px;
  height: 10px;
  background: var(--brand-white);
  border-radius: 99px;
  left: 50%; top: 11px;
  transform: translateX(-50%);
  animation: scrollDot 2s ease-in-out infinite;
}

.section {
  padding: clamp(8rem, 15vw, 12rem) 0;
  position: relative;
}
.section h2 { font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 1.5rem; }
.section p { color: color-mix(in oklab, var(--brand-white), var(--brand-muted) 40%); font-size: clamp(1.3rem, 2vw, 1.5rem); }

main > section {
  margin-block: clamp(1.2rem, 2.8vw, 2.2rem);
  border-radius: 28px;
}

main > section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.22;
}

/* Chapter-like scene separation */
main > section:nth-of-type(odd) {
  background: linear-gradient(180deg, rgba(39, 24, 33, 0.34), rgba(15, 21, 29, 0.2));
  border: 1px solid rgba(122, 73, 91, 0.26);
}

main > section:nth-of-type(odd)::before {
  background: radial-gradient(circle at 10% 0%, rgba(211, 35, 40, 0.14), transparent 40%);
}

main > section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(19, 26, 29, 0.3), rgba(40, 24, 35, 0.2));
  border: 1px solid rgba(67, 102, 99, 0.24);
}

main > section:nth-of-type(even)::before {
  background: radial-gradient(circle at 85% 0%, rgba(67, 93, 88, 0.14), transparent 42%);
}

.scene-panel {
  border: 1px solid rgba(123,74,93,.4); border-radius: 24px;
  background: linear-gradient(160deg, rgba(42,24,34,.42), rgba(13,30,30,.3));
  padding-inline: clamp(1rem, 2vw, 1.6rem);
  overflow: hidden;
  transform: none !important;
  opacity: 1 !important;
}

.scene-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.05;
  background-image: radial-gradient(circle at 1px 1px, var(--brand-white) 1px, transparent 0);
  background-size: 3px 3px;
}

.immersive-stage { margin-top: 12rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: 1rem; align-items: center; }
.stage-visual { min-height: 320px; position: relative; overflow: hidden; border-radius: 20px; }
.stage-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.stage-window {
  position: absolute; inset: 0; border-radius: 20px;
  border: 1px solid var(--line-soft);
  background: transparent;
  z-index: 1;
}
.stage-window > span { position: absolute; top: 12px; width: 9px; height: 9px; border-radius: 999px; background: color-mix(in oklab, var(--brand-red), var(--brand-white) 60%); }
.stage-window > span:nth-child(1) { left: 14px; }
.stage-window > span:nth-child(2) { left: 29px; }
.stage-window > span:nth-child(3) { left: 44px; background: color-mix(in oklab, var(--brand-teal), var(--brand-white) 42%); }
.stage-gradient {
  display: none;
}
.stage-chip {
  position: absolute; padding: .4rem .66rem; border-radius: 999px;
  border: 1px solid var(--line-soft); background: rgba(29,21,32,.78);
  color: color-mix(in oklab, var(--brand-red), var(--brand-white) 86%); font-size: .76rem; letter-spacing: .04em;
}
.chip-a { top: -8px; right: 28px; } .chip-b { bottom: 8px; left: -12px; } .chip-c { bottom: 36px; right: -10px; }

.marquee { overflow: hidden; border-block: 1px solid rgba(123,74,93,.45); background: linear-gradient(90deg, rgba(47,22,33,.88), rgba(11,34,34,.88)); margin-top: 10rem; padding: 3rem 0; }
.marquee-track { display: flex; gap: 2rem; white-space: nowrap; padding: .82rem 0; width: max-content; animation: marqueeMove 50s linear infinite; will-change: transform; }
.marquee-track span { font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in oklab, var(--brand-white), var(--brand-muted) 30%); flex-shrink: 0; }

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

.stats-strip { margin-top: 1.4rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.stats-strip article { position: relative; padding: 1.1rem 1rem 1rem 2.2rem; border: 1px solid rgba(123,74,93,.35); border-radius: 14px; background: linear-gradient(150deg, rgba(46,24,33,.84), rgba(13,28,29,.76)); box-shadow: 0 20px 60px rgba(0,0,0,.35); transition: transform .3s ease; }
.stats-strip article:hover { transform: translateY(-4px); }
.stats-strip article::before {
  content: "✦";
  position: absolute;
  left: .95rem;
  top: 1rem;
  color: var(--brand-teal);
  font-size: .9rem;
}
.stats-strip strong { display: block; font-size: 1.16rem; }
.stats-strip span { color: color-mix(in oklab, var(--brand-white), var(--brand-muted) 44%); font-size: .87rem; }

#about { box-shadow: 0 24px 60px rgba(15, 8, 14, 0.22); }
#pipeline { box-shadow: 0 26px 66px rgba(8, 12, 16, 0.26); }
#services { box-shadow: 0 24px 58px rgba(10, 10, 18, 0.22); }
#contact { box-shadow: 0 26px 64px rgba(8, 14, 14, 0.24); }

.dark { background: linear-gradient(180deg, rgba(21,15,24,.88), rgba(10,23,25,.84)); border-block: 1px solid var(--line); }
.pipeline-rail { height: 2px; margin: 1rem 0 1.2rem; background: linear-gradient(90deg, rgba(227,59,90,.2), rgba(31,125,118,.2)); border-radius: 999px; overflow: hidden; }
.pipeline-rail span { display: block; width: 30%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,182,196,.95), transparent); animation: railScan 4.2s ease-in-out infinite; }

.grid { margin-top: 1.8rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card {
  position: relative;
  border-radius: 18px; padding: 1.45rem;
  border: 1px solid rgba(112,66,82,.38); border-left: 3px solid rgba(255,0,64,.72);
  background: linear-gradient(180deg, rgba(40,21,31,.58), rgba(16,24,28,.46));
  backdrop-filter: blur(5px);
  box-shadow: 0 20px 60px rgba(0,0,0,.35), inset 0 0 22px rgba(255,255,255,.03);
  transition: transform .35s ease, box-shadow .35s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,0,64,.18), rgba(0,229,255,.14), transparent 66%);
  background-size: 210% 210%;
  animation: heroDrift 11s ease-in-out infinite;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(0,229,255,.14);
  opacity: .8;
  transition: opacity .35s ease, box-shadow .35s ease;
}
.card > * { position: relative; z-index: 1; }
.card:hover { transform: translateY(-4px) scale(1.006); box-shadow: 0 24px 66px rgba(0,0,0,.42); }
.card:hover::after { opacity: 1; box-shadow: inset 0 0 0 1px rgba(255,0,64,.26); }
.card h3 { margin: 0 0 .62rem; font-size: 1.14rem; line-height: 1.3; }
.card p { margin: 0; color: color-mix(in oklab, var(--brand-white), var(--brand-muted) 26%); line-height: 1.68; }
.step-number { color: color-mix(in oklab, var(--brand-teal), var(--brand-white) 46%); font-size: .92rem; letter-spacing: .09em; margin-right: .45rem; text-shadow: 0 0 12px rgba(0,229,255,.45); }

.service-tag { font-size: .72rem; letter-spacing: .1em; color: color-mix(in oklab, var(--brand-teal), var(--brand-white) 52%); border: 1px solid rgba(31,125,118,.55); border-radius: 999px; padding: .16rem .34rem; }

.services-scene {
  padding-inline: clamp(1.4rem, 2.4vw, 2.2rem);
}

.services-head {
  margin-bottom: 2.2rem;
}

.services-chapter {
  padding-block: 1.4rem;
  border-top: 1px solid rgba(123, 74, 93, 0.34);
}

.services-label {
  margin: 0 0 .55rem;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--brand-red), var(--brand-white) 70%);
}

.editorial-list {
  list-style: none;
  padding: 0;
  margin: .3rem 0 0;
  display: grid;
  gap: 1rem;
}

.editorial-list li {
  display: flex;
  align-items: baseline;
  gap: .85rem;
  font-size: clamp(1.18rem, 2.2vw, 1.8rem);
  line-height: 1.34;
  padding-block: .38rem;
  border: none;
  background: none;
}

.editorial-list li::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-left: auto;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-teal));
  opacity: .7;
}

.editorial-list li span {
  color: color-mix(in oklab, var(--brand-teal), var(--brand-white) 35%);
  font-size: .8rem;
  letter-spacing: .14em;
  min-width: 2.2rem;
}

.services-support {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.services-support h3 {
  margin: 0 0 .55rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.services-support p {
  margin: 0;
}

.quote { text-align: center; padding: 200px 0; }

.contact-panel { 
  max-width: 900px; 
  margin: 0 auto; 
  padding: clamp(2rem, 5vw, 4rem); 
  border-radius: 32px; 
  border: 1px solid rgba(255,255,255,0.1); 
  background: linear-gradient(145deg, rgba(20,15,30,0.9), rgba(10,25,30,0.85)); 
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 60px rgba(0,255,230,0.08), 0 0 100px rgba(255,0,100,0.05);
  position: relative;
  overflow: hidden;
}

.contact-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 20%, rgba(255,0,100,0.15) 0%, transparent 50%),
              radial-gradient(ellipse 70% 50% at 80% 80%, rgba(0,255,230,0.12) 0%, transparent 50%);
  pointer-events: none;
}

.contact-panel h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  position: relative;
}

.contact-panel p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  position: relative;
}

.contact-meta { 
  margin: 1.5rem 0 2rem; 
  display: flex; 
  flex-wrap: wrap; 
  justify-content: center; 
  gap: 1rem;
  position: relative;
}

.contact-meta span { 
  border: 1px solid rgba(0,255,230,0.3); 
  border-radius: 999px; 
  padding: 0.5rem 1.25rem; 
  font-size: 0.85rem; 
  color: #00E5FF;
  background: rgba(0,255,230,0.05);
}

#contact .btn { 
  padding: 1rem 2rem; 
  font-size: 1rem;
  position: relative;
}

.portfolio-grid, .pricing-grid, .about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.video-card, .pricing-card { border-radius: 18px; border: 1px solid rgba(116,71,88,.6); background: linear-gradient(170deg, rgba(38,23,31,.8), rgba(16,34,34,.72)); padding: 1rem; }
.video-placeholder { width: 100%; aspect-ratio: 16/9; border-radius: 12px; border: 1px dashed color-mix(in oklab, var(--brand-red), var(--brand-navy) 50%); display: grid; place-items: center; font-size: .8rem; color: color-mix(in oklab, var(--brand-white), var(--brand-muted) 38%); background: linear-gradient(135deg, color-mix(in oklab, var(--brand-red), var(--brand-bg) 72%), color-mix(in oklab, var(--brand-teal), var(--brand-bg) 62%)); }

.brief-form { margin-top: 1rem; border: 1px solid var(--line-soft); border-radius: 18px; background: linear-gradient(165deg, rgba(18,22,36,.94), rgba(11,14,24,.94)); padding: 1.2rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.form-grid label { display: flex; flex-direction: column; gap: .45rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; border: 1px solid color-mix(in oklab, var(--brand-red), var(--brand-navy) 58%); border-radius: 11px; background: color-mix(in oklab, var(--brand-bg), var(--brand-navy) 18%); color: var(--brand-white)5f8; padding: .72rem; font: inherit;
}

.footer { border-top: 1px solid var(--line); padding: 1.4rem 0; color: var(--muted); font-size: .92rem; text-align: center; }
.footer-logo { height: 60px; margin: 0 0 0.5rem 0; }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.22,.61,.36,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-child {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .65s ease, transform .65s ease;
  transition-delay: var(--stagger-delay, 0ms);
}
.reveal-child.in {
  opacity: 1;
  transform: translateY(0);
}

/* Base is-active styles (mirrors :hover) */

@keyframes introEntrance {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes headlineBreath {
  0%, 100% { text-shadow: 0 0 0 rgba(255,0,64,0); }
  50% { text-shadow: 0 0 18px rgba(255,0,64,.22), 0 0 24px rgba(0,229,255,.16); }
}
@keyframes eyebrowBreath {
  0%, 100% { opacity: .8; }
  50% { opacity: 1; }
}
@keyframes heroDrift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes scrollDot {
  0%, 100% { opacity: .25; transform: translate(-50%, 0); }
  50% { opacity: 1; transform: translate(-50%, 12px); }
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 12px 26px rgba(255,0,64,.26); }
  50% { box-shadow: 0 16px 34px rgba(255,0,64,.42); }
}
@keyframes marqueeMove { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes railScan { 0% { transform: translateX(-120%); } 100% { transform: translateX(360%); } }

@media (max-width: 1100px) {
  .grid, .portfolio-grid, .pricing-grid, .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .nav { width: min(1280px, 94vw); }
  .hero-content { padding: 9vh 0 3rem; }
  h1 { font-size: clamp(2.2rem, 10vw, 3.8rem); }
  .section { padding: clamp(4rem, 10vw, 5.6rem) 0; }
  .hero-split,
  .immersive-stage, .grid, .services-support, .portfolio-grid, .pricing-grid, .about-grid, .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .nav-links a { font-size: .9rem; }
  .btn { width: 100%; text-align: center; }
  .stats-strip { grid-template-columns: 1fr; }
  .footer { text-align: center; font-size: .84rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none !important; }
}


.build-badge{position:fixed;top:14px;right:14px;z-index:120;padding:.35rem .6rem;border-radius:999px;background:linear-gradient(90deg,var(--brand-red),var(--brand-teal));color:var(--brand-white);font-weight:700;font-size:.72rem;letter-spacing:.06em;box-shadow:0 10px 22px rgba(0,0,0,.25)}

/* Red Eye Effect */
.eye-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(70vw, 700px);
  height: min(70vw, 700px);
  border-radius: 50%;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 50%, rgba(255,0,64,0.25) 0%, transparent 70%),
    radial-gradient(circle at 50% 50%, rgba(0,229,255,0.12) 0%, rgba(255,0,64,0.18) 30%, transparent 60%);
  animation: eyeMoody 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.eye-glow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(25vw, 220px);
  height: min(25vw, 220px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,0,64,0.5) 0%, rgba(255,0,64,0.15) 50%, transparent 70%);
  filter: blur(25px);
  animation: eyeCore 4s ease-in-out infinite;
}

@keyframes eyeMoody {
  0%, 100% { 
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% { 
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes eyeCore {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ========== ENHANCED ANIMATIONS ========== */

/* Floating orb decorations */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.15;
  animation: floatOrb 20s ease-in-out infinite;
}

.floating-orb-1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--brand-red), transparent 70%);
  top: 20%; left: -10%;
  animation-delay: 0s;
}

.floating-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--brand-teal), transparent 70%);
  top: 50%; right: -15%;
  animation-delay: -7s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(20px, 10px) scale(1.02); }
}

/* Text reveal animations */
@keyframes textReveal {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

h1, h2, h3, p {
  animation: textReveal 0.8s ease-out both;
}

h2 { animation-delay: 0.1s; }
h3 { animation-delay: 0.2s; }
p { animation-delay: 0.15s; }

/* Subtle hover lift */
a, .btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a:hover, .btn:hover {
  transform: translateY(-2px);
}

/* Glowing accent on focus */
*:focus-visible {
  outline: 2px solid var(--brand-teal);
  outline-offset: 3px;
}

/* Section fade-in on scroll (for future JS enhancement) */
section {
  opacity: 1;
  transition: opacity 0.6s ease;
}

section.fade-in {
  opacity: 0;
  transform: translateY(20px);
}

/* Marquee enhanced */
.marquee-track span {
  animation: marqueeMove 15s linear infinite;
  display: inline-block;
  padding: 0 2rem;
}

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

/* Chip float animation */
.stage-chip {
  animation: chipFloat 6s ease-in-out infinite;
}

.chip-a { animation-delay: 0s; }
.chip-b { animation-delay: 2s; }
.chip-c { animation-delay: 4s; }

@keyframes chipFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

/* Enhanced button pulse */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::before {
  transform: translateX(100%);
}

/* Mobile nav improvements */
@media (max-width: 768px) {
  .nav {
    padding: 0.7rem;
    top: 0.4rem;
    border-radius: 12px;
  }

  /* Tighter spacing for tablet/small laptop */
  .hero-content { padding: 8vh 0 2rem; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .section { padding: clamp(3rem, 6vw, 4rem) 0; }
  .section h2 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
  .lead { font-size: clamp(0.9rem, 1.5vw, 1rem); }
  .intro h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
  .pipeline-step { max-width: 140px; padding: 1rem 0.6rem; }
  .pipeline-step h3 { font-size: 0.85rem; }
  .pipeline-step p { font-size: 0.75rem; }
  .step-num { font-size: 0.75rem; }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 100;
  }
  
  .nav-links.active {
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links a {
    font-size: 1.5rem;
    font-weight: 500;
  }
  
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 101;
    padding: 5px;
  }
  
  .nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ========== Services Grid ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--line);
}

.service-card {
  background: var(--brand-bg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.4s ease;
  cursor: pointer;
}

.service-card:hover,
.service-card.is-active {
  background: var(--surface);
}

.service-card:hover .service-arrow,
.service-card.is-active .service-arrow {
  transform: translate(8px, -4px);
  opacity: 1;
}

.service-card:hover h3,
.service-card.is-active h3 {
  color: var(--brand-red);
}

.service-num {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--brand-teal);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-arrow {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  font-size: 1.5rem;
  color: var(--brand-red);
  opacity: 0;
  transform: translate(0, 0);
  transition: all 0.4s ease;
}

/* ========== Features Grid ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

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

.feature-card {
  background: var(--brand-bg);
  padding: 3rem 2.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover,
.feature-card.is-active {
  background: var(--surface);
}

.feature-tag {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--brand-teal);
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.cta-card {
  background: var(--surface);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.cta-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ========== Hero Short ========== */
.hero-short {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-short .hero-content {
  padding: 8vh 0 4rem;
}

/* ========== Pipeline Section ========== */
.pipeline-section {
  padding: 100px 0 180px;
  position: relative;
  transform: translateZ(0);
  backface-visibility: hidden;
}



.pipeline-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 6rem;
  position: relative;
  z-index: 1;
}

.pipeline-header h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #fff, rgba(255,255,255,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pipeline-header p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted);
  line-height: 1.6;
}

.pipeline-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.pipeline-step {
  flex: 1;
  max-width: 260px;
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  background: linear-gradient(180deg, rgba(30,30,45,0.6) 0%, rgba(20,20,35,0.4) 100%);
  border: 1px solid rgba(123,74,93,0.2);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.pipeline-step:hover,
.pipeline-step.is-active {
  transform: translateY(-10px);
}

.pipeline-step[data-color="ingest"]:hover,
.pipeline-step[data-color="ingest"].is-active { border-color: rgba(0,229,255,0.5); box-shadow: 0 25px 50px rgba(0,0,0,0.4), 0 0 35px rgba(0,229,255,0.15); }
.pipeline-step[data-color="ingest"] .step-num { border-color: rgba(0,229,255,0.4); color: #00E5FF; }
.pipeline-step[data-color="ingest"] .step-icon { color: rgba(0,229,255,0.7); }
.pipeline-step[data-color="ingest"]:hover .step-icon,
.pipeline-step[data-color="ingest"].is-active .step-icon { color: #00E5FF; }

.pipeline-step[data-color="edit"]:hover,
.pipeline-step[data-color="edit"].is-active { border-color: rgba(255,0,64,0.5); box-shadow: 0 25px 50px rgba(0,0,0,0.4), 0 0 35px rgba(255,0,64,0.15); }
.pipeline-step[data-color="edit"] .step-num { border-color: rgba(255,0,64,0.4); color: #FF0040; }
.pipeline-step[data-color="edit"] .step-icon { color: rgba(255,0,64,0.7); }
.pipeline-step[data-color="edit"]:hover .step-icon,
.pipeline-step[data-color="edit"].is-active .step-icon { color: #FF0040; }

.pipeline-step[data-color="vfx"]:hover,
.pipeline-step[data-color="vfx"].is-active { border-color: rgba(0,255,136,0.5); box-shadow: 0 25px 50px rgba(0,0,0,0.4), 0 0 35px rgba(0,255,136,0.15); }
.pipeline-step[data-color="vfx"] .step-num { border-color: rgba(0,255,136,0.4); color: #00FF88; }
.pipeline-step[data-color="vfx"] .step-icon { color: rgba(0,255,136,0.7); }
.pipeline-step[data-color="vfx"]:hover .step-icon,
.pipeline-step[data-color="vfx"].is-active .step-icon { color: #00FF88; }

.pipeline-step[data-color="color"]:hover,
.pipeline-step[data-color="color"].is-active { border-color: rgba(255,140,0,0.5); box-shadow: 0 25px 50px rgba(0,0,0,0.4), 0 0 35px rgba(255,140,0,0.15); }
.pipeline-step[data-color="color"] .step-num { border-color: rgba(255,140,0,0.4); color: #FF8C00; }
.pipeline-step[data-color="color"] .step-icon { color: rgba(255,140,0,0.7); }
.pipeline-step[data-color="color"]:hover .step-icon,
.pipeline-step[data-color="color"].is-active .step-icon { color: #FF8C00; }

.pipeline-step[data-color="sound"]:hover,
.pipeline-step[data-color="sound"].is-active { border-color: rgba(155,89,182,0.5); box-shadow: 0 25px 50px rgba(0,0,0,0.4), 0 0 35px rgba(155,89,182,0.15); }
.pipeline-step[data-color="sound"] .step-num { border-color: rgba(155,89,182,0.4); color: #9B59B6; }
.pipeline-step[data-color="sound"] .step-icon { color: rgba(155,89,182,0.7); }
.pipeline-step[data-color="sound"]:hover .step-icon,
.pipeline-step[data-color="sound"].is-active .step-icon { color: #9B59B6; }

.pipeline-step[data-color="deliver"]:hover,
.pipeline-step[data-color="deliver"].is-active { border-color: rgba(255,215,0,0.5); box-shadow: 0 25px 50px rgba(0,0,0,0.4), 0 0 35px rgba(255,215,0,0.15); }
.pipeline-step[data-color="deliver"] .step-num { border-color: rgba(255,215,0,0.4); color: #FFD700; }
.pipeline-step[data-color="deliver"] .step-icon { color: rgba(255,215,0,0.7); }
.pipeline-step[data-color="deliver"]:hover .step-icon,
.pipeline-step[data-color="deliver"].is-active .step-icon { color: #FFD700; }

.pipeline-step[data-color="edit"] { --step-color: #FF0040; }
.pipeline-step[data-color="edit"]:hover { border-color: rgba(255,0,64,0.5); box-shadow: 0 25px 50px rgba(0,0,0,0.4), 0 0 35px rgba(255,0,64,0.15); }
.pipeline-step[data-color="edit"] .step-num { border-color: rgba(255,0,64,0.4); color: #FF0040; }
.pipeline-step[data-color="edit"] .step-icon { color: rgba(255,0,64,0.7); }
.pipeline-step[data-color="edit"]:hover .step-icon { color: #FF0040; }

.pipeline-step[data-color="vfx"] { --step-color: #00FF88; }
.pipeline-step[data-color="vfx"]:hover { border-color: rgba(0,255,136,0.5); box-shadow: 0 25px 50px rgba(0,0,0,0.4), 0 0 35px rgba(0,255,136,0.15); }
.pipeline-step[data-color="vfx"] .step-num { border-color: rgba(0,255,136,0.4); color: #00FF88; }
.pipeline-step[data-color="vfx"] .step-icon { color: rgba(0,255,136,0.7); }
.pipeline-step[data-color="vfx"]:hover .step-icon { color: #00FF88; }

.pipeline-step[data-color="color"] { --step-color: #FF8C00; }
.pipeline-step[data-color="color"]:hover { border-color: rgba(255,140,0,0.5); box-shadow: 0 25px 50px rgba(0,0,0,0.4), 0 0 35px rgba(255,140,0,0.15); }
.pipeline-step[data-color="color"] .step-num { border-color: rgba(255,140,0,0.4); color: #FF8C00; }
.pipeline-step[data-color="color"] .step-icon { color: rgba(255,140,0,0.7); }
.pipeline-step[data-color="color"]:hover .step-icon { color: #FF8C00; }

.pipeline-step[data-color="sound"] { --step-color: #9B59B6; }
.pipeline-step[data-color="sound"]:hover { border-color: rgba(155,89,182,0.5); box-shadow: 0 25px 50px rgba(0,0,0,0.4), 0 0 35px rgba(155,89,182,0.15); }
.pipeline-step[data-color="sound"] .step-num { border-color: rgba(155,89,182,0.4); color: #9B59B6; }
.pipeline-step[data-color="sound"] .step-icon { color: rgba(155,89,182,0.7); }
.pipeline-step[data-color="sound"]:hover .step-icon { color: #9B59B6; }

.pipeline-step[data-color="deliver"] { --step-color: #FFD700; }
.pipeline-step[data-color="deliver"]:hover { border-color: rgba(255,215,0,0.5); box-shadow: 0 25px 50px rgba(0,0,0,0.4), 0 0 35px rgba(255,215,0,0.15); }
.pipeline-step[data-color="deliver"] .step-num { border-color: rgba(255,215,0,0.4); color: #FFD700; }
.pipeline-step[data-color="deliver"] .step-icon { color: rgba(255,215,0,0.7); }
.pipeline-step[data-color="deliver"]:hover .step-icon { color: #FFD700; }

.step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  background: #0a0a12;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid;
  letter-spacing: 0.1em;
}

.step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.pipeline-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.pipeline-step p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

.pipeline-connector {
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
}

.pipeline-connector::after {
  content: '';
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0,229,255,0.3), rgba(0,229,255,0.1));
}

@media (max-width: 1100px) {
  .pipeline-flow {
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
  }
  .pipeline-connector {
    display: none;
  }
  .pipeline-step {
    max-width: 180px;
  }
}

@media (max-width: 600px) {
  .pipeline-step {
    max-width: 100%;
    flex: 1 1 calc(50% - 1rem);
  }
}

/* Featured Work */
.section-spacer { height: 120px; }
@media (min-width: 901px) { .section-spacer { height: 350px; } }

#work { margin-top: -40px; }

#work { clear: both; }
.featured-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(255,0,64,0.06) 0%, transparent 50%), radial-gradient(circle at 70% 70%, rgba(0,229,255,0.04) 0%, transparent 50%); pointer-events: none; }
.featured-header { text-align: center; margin-bottom: 4rem; }
.featured-header h2 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; margin-bottom: 1rem; }
.featured-header p { font-size: clamp(1rem, 2vw, 1.25rem); color: var(--muted); }
.work-cta { text-align: center; margin-top: 3rem; }
.work-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.5rem; padding: 0 4rem; max-width: 1400px; margin: 0 auto; height: 600px; }

.video-card { position: relative; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, rgba(42,24,34,0.5) 0%, rgba(13,30,30,0.35) 100%); border: 1px solid rgba(123,74,93,0.25); transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease, border-color 0.3s ease; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.video-card:hover,
.video-card.is-active { transform: translateY(-12px) scale(1.02); border-color: rgba(0,229,255,0.6); box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(255,0,64,0.3), 0 0 80px rgba(0,229,255,0.2); }
.video-card::before { content: ''; position: absolute; inset: 0; border-radius: 24px; padding: 1px; background: linear-gradient(135deg, rgba(255,0,64,0.8), rgba(0,229,255,0.6), rgba(255,0,64,0.8)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.4s ease; z-index: 2; }
.video-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,0,64,0.15), transparent 50%, rgba(0,229,255,0.1)); opacity: 0; transition: opacity 0.5s ease; z-index: 1; }
.video-card:hover,
.video-card.is-active { transform: translateY(-12px) scale(1.02); border-color: rgba(0,229,255,0.6); box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(255,0,64,0.3), 0 0 80px rgba(0,229,255,0.2); }
.video-card:hover::before,
.video-card.is-active::before { opacity: 1; }
.video-card:hover::after,
.video-card.is-active::after { opacity: 1; }
.video-card video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.video-card.featured-tall img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform: scale(1.2); }
.video-card.featured-tall video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.video-card.tall img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; transform: scale(1.2); }
.video-card.small img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }
.video-card:hover video,
.video-card.is-active video { transform: scale(1.08); }

.video-card.featured-tall { border: none; position: relative; background: #12121a; transition: transform 0.4s ease, box-shadow 0.5s ease; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.video-card.featured-tall:hover,
.video-card.featured-tall.is-active { transform: scale(1.03); box-shadow: 0 0 50px rgba(0,229,255,0.5), 0 0 100px rgba(0,229,255,0.3), 0 30px 60px rgba(0,0,0,0.5); }
.video-card.featured-tall::before { display: none; }
.video-card.featured-tall::after { content: ''; position: absolute; inset: 0; border-radius: 24px; background: linear-gradient(160deg, rgba(20,20,30,0.95), rgba(15,25,35,0.9)); z-index: -1; }

.video-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; background: linear-gradient(transparent 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.95) 100%); transition: opacity 0.4s ease, background 0.4s ease; opacity: 0; z-index: 3; }
.video-card:not(.featured-tall):hover .video-overlay,
.video-card:not(.featured-tall).is-active .video-overlay { opacity: 1; background: linear-gradient(transparent 0%, rgba(255,0,64,0.15) 30%, rgba(0,0,0,0.95) 100%); }
.video-card.featured-tall .video-overlay { opacity: 1; }
.video-title { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; background: linear-gradient(90deg, #fff, rgba(255,255,255,0.8)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; transition: background 0.3s ease, transform 0.3s ease; display: inline-block; }
.video-card:not(.featured-tall):hover .video-title { background: linear-gradient(90deg, #FF0040, #00E5FF); -webkit-background-clip: text; background-clip: text; transform: translateY(-5px); }
.video-card.featured-tall .video-title { background: linear-gradient(90deg, #FF0040, #00E5FF); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.video-stack { display: flex; flex-direction: column; gap: 1.5rem; height: 100%; }
.video-stack .video-card { flex: 1; }
@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr 1fr; height: auto; padding: 0 1rem; } .video-card.featured-tall { grid-column: span 2; height: 300px; } .video-stack { flex-direction: row; } .video-stack .video-card { height: 200px; } }
@media (max-width: 600px) { .work-grid { grid-template-columns: 1fr; } .video-card.featured-tall { grid-column: span 1; } }

/* ========== Bright Section Wrapper ========== */
.bright-section-wrapper {
  background: linear-gradient(180deg, #1a0a20 0%, #150f25 15%, #0f1a25 30%, #0a1520 50%, #100f20 70%, #1a0f20 100%);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.bright-section-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 250px;
  background: linear-gradient(to bottom, #0a0a12 0%, rgba(10,10,18,0.7) 40%, transparent 100%);
  pointer-events: none;
  z-index: 4;
}

/* Bright gradient background (revealed by flashlight) */
.bright-section-wrapper .gradient-layer {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 100% 80% at 0% 0%, rgba(255,0,100,0.55) 0%, transparent 50%),
    radial-gradient(ellipse 100% 80% at 100% 0%, rgba(0,255,230,0.55) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(180,50,180,0.4) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* Dark overlay - full darkness */
.bright-section-wrapper .dark-overlay {
  content: '';
  position: absolute;
  inset: 0;
  background: #050308;
  pointer-events: none;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.3s ease;
}

@keyframes orbDrift {
  0%, 100% { 
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  25% { 
    transform: translate(30px, -20px) scale(1.1);
    opacity: 0.8;
  }
  50% { 
    transform: translate(-20px, 20px) scale(0.95);
    opacity: 1;
  }
  75% {
    transform: translate(-30px, -10px) scale(1.05);
    opacity: 0.9;
  }
}

.bright-section-wrapper > * {
  position: relative;
  z-index: 1;
}

/* Background floating elements */
.bright-section-wrapper .bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orbFloat 15s ease-in-out infinite;
}

.bg-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(255,0,100,0.15);
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.bg-orb-2 {
  width: 350px;
  height: 350px;
  background: rgba(0,255,230,0.12);
  top: 50%;
  right: -5%;
  animation-delay: -5s;
}

.bg-orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(180,50,180,0.1);
  bottom: 10%;
  left: 30%;
  animation-delay: -10s;
}

.bg-shape {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.05);
  animation: shapeFloat 20s ease-in-out infinite;
}

.bg-shape-1 {
  width: 200px;
  height: 200px;
  border-radius: 30%;
  top: 20%;
  right: 15%;
  animation-delay: 0s;
  transform: rotate(0deg);
}

.bg-shape-2 {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  bottom: 25%;
  left: 10%;
  animation-delay: -7s;
}

.bg-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,255,230,0.1), transparent);
  animation: linePulse 8s ease-in-out infinite;
}

.bg-line-1 {
  width: 60%;
  top: 35%;
  left: 20%;
  animation-delay: 0s;
}

.bg-line-2 {
  width: 40%;
  bottom: 40%;
  right: 10%;
  background: linear-gradient(90deg, transparent, rgba(255,0,100,0.1), transparent);
  animation-delay: -4s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(40px, 10px) scale(1.05); }
}

@keyframes shapeFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.3; }
  50% { transform: translate(20px, -30px) rotate(180deg); opacity: 0.5; }
}

@keyframes linePulse {
  0%, 100% { opacity: 0.3; transform: scaleX(1); }
  50% { opacity: 0.6; transform: scaleX(1.2); }
}

/* Nav Cards override for wrapper */
.bright-section-wrapper .nav-cards-section {
  background: transparent !important;
}
.bright-section-wrapper .nav-cards-section::before,
.bright-section-wrapper .nav-cards-section::after {
  display: none !important;
}

/* Pipeline override for wrapper */
.bright-section-wrapper .pipeline-section {
  background: transparent !important;
}
.bright-section-wrapper .pipeline-section::before {
  display: none !important;
}

/* Brand Marquee */
.brand-marquee { padding: 180px 0; text-align: center; background: linear-gradient(135deg, #2a1a35 0%, #1a2535 25%, #152535 50%, #1a2030 75%, #251a30 100%); position: relative; overflow: hidden; }
.brand-marquee::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 120% 100% at 0% 0%, rgba(255,0,100,0.35) 0%, transparent 50%), radial-gradient(ellipse 100% 100% at 100% 100%, rgba(0,255,230,0.3) 0%, transparent 50%), radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255,100,150,0.2) 0%, transparent 50%); pointer-events: none; }
.brand-marquee::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 50%, rgba(0,229,255,0.05) 100%); pointer-events: none; }
.brand-marquee-header { margin-bottom: 3rem; position: relative; z-index: 1; }
.brand-marquee-header .eyebrow { color: #00E5FF; font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.5rem; text-shadow: 0 0 10px rgba(0,229,255,0.5); }
.brand-marquee-header h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 800; background: linear-gradient(90deg, #fff, #00E5FF); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.marquee-container { display: flex; flex-direction: column; gap: 1.5rem; }
.marquee-row { overflow: hidden; width: 100%; }
.brand-marquee .marquee-track { display: flex; gap: 4rem; width: max-content; animation: marqueeScroll 70s linear infinite; will-change: transform; }
.brand-marquee .marquee-track[style*="reverse"] { animation-direction: reverse; }
.marquee-item { font-size: 1.8rem; font-weight: 800; color: rgba(255,255,255,0.6); white-space: nowrap; letter-spacing: 0.05em; flex-shrink: 0; }
.marquee-item:hover { opacity: 1; color: #00E5FF; }

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

/* Nav Cards */
.nav-cards-section { padding: 120px 0; min-height: auto; display: flex; align-items: center; position: relative; }
.nav-cards-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 0 3rem; max-width: 1400px; margin: 0 auto; width: 100%; position: relative; z-index: 1; }

.nav-card { 
  display: block;
  text-decoration: none;
  background: rgba(255,255,255,0.03); 
  border: 1px solid rgba(255,255,255,0.08); 
  border-radius: 20px; 
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1); 
  position: relative;
  overflow: hidden;
}

.nav-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.nav-card:hover { 
  transform: translateY(-8px); 
  border-color: rgba(0,255,230,0.4); 
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 40px rgba(0,255,230,0.1);
}
.nav-card:hover::before { opacity: 1; }

.nav-card-inner { 
  padding: 3rem 2rem; 
  height: 100%; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  text-align: center;
}

.nav-card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.7);
  transition: all 0.4s ease;
}

.nav-card:hover .nav-card-icon {
  background: linear-gradient(135deg, rgba(0,255,230,0.2), rgba(255,0,100,0.2));
  color: #00E5FF;
  transform: scale(1.05);
}

.nav-card-title { 
  font-size: 1.5rem; 
  font-weight: 700; 
  margin-bottom: 0.75rem; 
  color: #fff;
}

.nav-card-desc { 
  font-size: 0.95rem; 
  color: rgba(255,255,255,0.5); 
  flex: 1; 
  margin-bottom: 1.5rem; 
  line-height: 1.5;
}

.nav-card-link { 
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem; 
  background: rgba(255,255,255,0.08); 
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff; 
  text-decoration: none; 
  font-weight: 600; 
  font-size: 0.9rem; 
  border-radius: 12px; 
  transition: all 0.3s ease;
}

.nav-card-link:hover { 
  background: linear-gradient(90deg, #00E5FF, #00C4BF);
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(0,255,230,0.3);
}

.nav-card-link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.nav-card-link:hover::after {
  transform: translateX(4px);
}

@media (max-width: 1100px) { .nav-cards-container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .nav-cards-container { grid-template-columns: 1fr; padding: 0 1rem; } .nav-card-inner { padding: 2.5rem 1.5rem; } }

/* Brand Logo */
.brand-logo { text-decoration: none; }
.brand-logo span { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: 0.05em; }

/* Site Logo - Top Left */
.site-logo { display: none; }
.site-logo span { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: 0.05em; }

/* GPU layer promotion for animated elements */
.animated,
.video-card,
.card,
.pipeline-step,
.bright-section-wrapper {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Laptop (≤1200px, >768px) */
@media only screen and (max-width: 1200px) and (min-width: 769px) {
  .hero-panel { width: 900px; margin-left: -280px; min-height: 495px !important; }
  .hero-totem { right: -300px; width: 600px; min-height: 495px !important; }
  .hero-panel h1 { font-size: clamp(1.8rem, 4vw, 3.2rem) !important; }
  .hero-panel .lead { font-size: clamp(0.8rem, 1.2vw, 1rem) !important; }
  .pipeline-header h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem) !important; }
  .work-grid { padding: 0 1.4rem !important; }
  .nav-cards-container { padding: 0 1.4rem !important; }
  .featured-section { padding: 60px 0 100px !important; }
  .brand-marquee { padding: 80px 0 !important; }
}

/* Tablet (≤768px, >500px) */
@media only screen and (max-width: 768px) and (min-width: 501px) {
  .hero-panel { width: 700px; margin-left: -200px; min-height: 450px !important; }
  .hero-totem { right: -220px; width: 500px; min-height: 450px !important; }
  .hero-panel h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem) !important; }
  .hero-panel .lead { font-size: 0.9rem !important; }
  .pipeline-header h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem) !important; }
  .work-grid { padding: 0 1rem !important; }
  .nav-cards-container { padding: 0 1rem !important; }
  .featured-section { padding: 50px 0 80px !important; }
  .brand-marquee { padding: 60px 0 !important; }
}

/* Mobile fix (phones ≤768px) */
@media (max-width: 768px) {
  body { overflow-x: hidden; }
  section { padding: 24px 16px !important; }
  h1 { font-size: clamp(28px, 7vw, 36px); }
  h2 { font-size: clamp(22px, 6vw, 28px); }
  p { font-size: 16px; line-height: 1.6; }
  .grid, .columns, .row { display: flex !important; flex-direction: column !important; gap: 16px; }
  img, video { max-width: 100%; height: auto; }
  button, .btn { width: 100%; padding: 14px 16px; }
  
  /* Hero section mobile fix */
  .hero { min-height: auto; padding-bottom: 2rem; }
  .hero-content { padding: 60px 0 2rem !important; }
  .hero-panel { 
    width: 100% !important; 
    margin: 0 !important; 
    padding: 1.5rem !important; 
    min-height: auto !important;
    border-radius: 16px !important;
  }
  .hero-totem { display: none !important; }
  .hero-panel h1 { font-size: clamp(1.8rem, 8vw, 2.5rem) !important; line-height: 1.1 !important; }
  .hero-panel .lead { font-size: 1rem !important; line-height: 1.5 !important; }
  .eyebrow { font-size: 0.7rem !important; }
  .cta-row { flex-direction: column; gap: 0.75rem; }
  .cta-row .btn { width: 100%; text-align: center; }
  
  /* Intro section mobile */
  .intro { min-height: 100svh; padding: 2rem 1rem; }
  .intro-inner { padding: 1rem; }
  .intro h1 { font-size: clamp(1.5rem, 8vw, 3rem) !important; }
  .intro p { font-size: 1rem !important; }
}





/* Laptop responsive (1200px) - 25% smaller - MOVED TO END */
}
