/* tezvik | global design system
   Per official brand book v1.0
   60% deep black, 30% off white, accent red, gradient max 10% */

:root {
  --black: #0A0A0A;
  --navy: #06020F;
  --off-white: #F2F2F2;
  --red: #FF0028;
  --red-deep: #C0001A;
  --blue: #2600FF;
  --blue-royal: #1A00C0;
  --gray: #888;

  --line: rgba(242, 242, 242, 0.10);
  --line-strong: rgba(242, 242, 242, 0.22);
  --muted: rgba(242, 242, 242, 0.62);
  --muted-soft: rgba(242, 242, 242, 0.40);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --dur-fast: 200ms;
  --dur: 400ms;
  --dur-slow: 700ms;

  --container: 1440px;
  --pad-x: clamp(20px, 4vw, 60px);

  --radius-sm: 4px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 100px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--off-white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--red); color: var(--off-white); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

/* Brand signature: red→blue gradient divider */
.brand-divider {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  border-radius: 1px;
  vertical-align: middle;
  margin-right: 12px;
}
.brand-divider-center {
  display: block;
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  border-radius: 1px;
  margin: 24px auto;
}

/* Typography per brand book */
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  border-radius: 1px;
}
.eyebrow-light { color: rgba(10, 10, 10, 0.5); }
.eyebrow-light::before { background: linear-gradient(90deg, var(--red), var(--blue)); }

.display {
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.92;
  font-size: clamp(48px, 9vw, 144px);
}
.h1 {
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.95;
  font-size: clamp(40px, 6.5vw, 88px);
}
.h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(32px, 4.5vw, 60px);
}
.h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  font-size: clamp(22px, 2.2vw, 32px);
}
.h4 {
  font-weight: 600;
  letter-spacing: -0.005em;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.25;
}
.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.65;
  font-weight: 300;
  color: var(--muted);
  max-width: 62ch;
}
.body { font-size: 16px; line-height: 1.7; color: var(--muted); }
.tiny { font-size: 12px; letter-spacing: 0.18em; color: var(--muted-soft); text-transform: uppercase; }

.text-red { color: var(--red); }
.text-white { color: var(--off-white); }
.text-mute { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  transition: transform var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .arrow {
  display: inline-block;
  transition: transform var(--dur-fast) var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--red);
  color: var(--off-white);
  box-shadow: 0 8px 24px -8px rgba(255, 0, 40, 0.4);
}
.btn-primary:hover {
  box-shadow: 0 12px 32px -8px rgba(255, 0, 40, 0.6);
}

.btn-light {
  background: var(--off-white);
  color: var(--black);
}
.btn-light:hover { background: #ffffff; }

.btn-outline {
  border: 1px solid var(--line-strong);
  color: var(--off-white);
}
.btn-outline:hover {
  border-color: var(--off-white);
  background: rgba(242, 242, 242, 0.04);
}

.btn-ghost {
  color: var(--off-white);
  padding: 14px 0;
}
.btn-ghost::after {
  content: '';
  position: absolute;
  left: 0; bottom: 10px;
  width: 100%; height: 1px;
  background: var(--off-white);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.btn-ghost:hover::after { transform: scaleX(0.6); transform-origin: right; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.wordmark {
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 22px;
  color: var(--off-white);
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--dur-fast) var(--ease);
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--off-white); }
.nav-links a.active { color: var(--off-white); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  border-radius: 1px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav .btn {
  padding: 12px 22px;
  font-size: 13px;
}

.hamburger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 102;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--off-white);
  position: absolute;
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
}
.hamburger span:nth-child(1) { transform: translateY(-5px); }
.hamburger span:nth-child(3) { transform: translateY(5px); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 101;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad-x);
  transform: translateY(-100%);
  transition: transform var(--dur-slow) var(--ease);
  visibility: hidden;
}
.mobile-nav.open {
  transform: translateY(0);
  visibility: visible;
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-nav a {
  font-size: clamp(32px, 9vw, 56px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--off-white);
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.mobile-nav.open a { opacity: 1; transform: translateY(0); }
.mobile-nav.open a:nth-child(1) { transition-delay: 100ms; }
.mobile-nav.open a:nth-child(2) { transition-delay: 160ms; }
.mobile-nav.open a:nth-child(3) { transition-delay: 220ms; }
.mobile-nav.open a:nth-child(4) { transition-delay: 280ms; }
.mobile-nav.open a:nth-child(5) { transition-delay: 340ms; }
.mobile-nav.open a:nth-child(6) { transition-delay: 400ms; }
.mobile-nav-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}

/* Sections */
section { position: relative; }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-tight { padding: clamp(48px, 6vw, 88px) 0; }

.section-head {
  margin-bottom: clamp(40px, 5vw, 72px);
  max-width: 920px;
}
.section-head .eyebrow { margin-bottom: 20px; }
.section-head .lead { margin-top: 22px; }

.section-light { background: var(--off-white); color: var(--black); }
.section-light .lead,
.section-light .body { color: rgba(10, 10, 10, 0.65); }
.section-light .eyebrow { color: var(--red); }
.section-light .btn-outline { border-color: rgba(10, 10, 10, 0.18); color: var(--black); }
.section-light .btn-outline:hover { border-color: var(--black); background: rgba(10, 10, 10, 0.04); }
.section-light .btn-ghost { color: var(--black); }
.section-light .btn-ghost::after { background: var(--black); }
.section-light .tiny { color: rgba(10, 10, 10, 0.5); }

/* Hero (used on most page tops) - the signature tezvik glow */
.hero {
  position: relative;
  padding-top: clamp(140px, 18vw, 220px);
  padding-bottom: clamp(80px, 12vw, 140px);
  overflow: hidden;
  background: var(--navy);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 242, 242, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 242, 242, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.5;
  border-radius: 50%;
  z-index: 0;
}
.hero-glow.red {
  width: 560px; height: 560px;
  background: var(--red-deep);
  left: -200px; bottom: -220px;
}
.hero-glow.blue {
  width: 560px; height: 560px;
  background: var(--blue);
  right: -200px; bottom: -260px;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--off-white);
  backdrop-filter: blur(8px);
}
.hero-tag .pulse {
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 0, 40, 0.6);
  animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 0, 40, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(255, 0, 40, 0); }
}
.hero-actions {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-foot {
  position: relative;
  z-index: 2;
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hero-foot .stat-num {
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: clamp(28px, 3vw, 42px);
  color: var(--off-white);
}
.hero-foot .stat-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .hero-foot { grid-template-columns: repeat(2, 1fr); }
}

/* Hero line reveal animation */
.line-mask { display: block; overflow: hidden; padding: 4px 0; }
.line-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 900ms var(--ease);
}
.is-ready .line-inner { transform: translateY(0); }
.line-mask:nth-of-type(2) .line-inner { transition-delay: 80ms; }
.line-mask:nth-of-type(3) .line-inner { transition-delay: 160ms; }

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
[data-reveal-stagger].in > * { opacity: 1; transform: translateY(0); }
[data-reveal-stagger].in > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].in > *:nth-child(2) { transition-delay: 60ms; }
[data-reveal-stagger].in > *:nth-child(3) { transition-delay: 120ms; }
[data-reveal-stagger].in > *:nth-child(4) { transition-delay: 180ms; }
[data-reveal-stagger].in > *:nth-child(5) { transition-delay: 240ms; }
[data-reveal-stagger].in > *:nth-child(6) { transition-delay: 300ms; }
[data-reveal-stagger].in > *:nth-child(7) { transition-delay: 360ms; }
[data-reveal-stagger].in > *:nth-child(8) { transition-delay: 420ms; }
[data-reveal-stagger].in > *:nth-child(9) { transition-delay: 480ms; }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(242, 242, 242, 0.02);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: var(--line-strong);
  background: rgba(242, 242, 242, 0.035);
  transform: translateY(-4px);
}
.service-card .num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--red);
  text-transform: uppercase;
}
.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: auto;
}
.service-card.featured {
  background: linear-gradient(135deg, rgba(255, 0, 40, 0.08), rgba(38, 0, 255, 0.04));
  border-color: rgba(255, 0, 40, 0.32);
}
.service-card.featured::before { transform: scaleX(1); }
.service-card.featured .num { color: var(--off-white); }
.service-card .badge {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  background: var(--red);
  color: var(--off-white);
  border-radius: var(--radius-pill);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: clamp(40px, 5vw, 72px) clamp(20px, 3vw, 40px);
  border-right: 1px solid var(--line);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat .num {
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.9;
  display: inline-block;
}
.stat .num .accent { color: var(--red); }
.stat .label {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--off-white);
  letter-spacing: 0.02em;
}
.stat .sub {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 880px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n+1) { border-right: 1px solid var(--line); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
}

/* Industries */
.industries {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 1024px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .industries { grid-template-columns: 1fr; } }
.industry {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.industry:hover {
  border-color: var(--off-white);
  transform: translateY(-3px);
}
.industry .icon {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  margin-bottom: 16px;
}
.industry .icon svg { width: 18px; height: 18px; stroke: var(--off-white); }
.industry h4 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.industry p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
}
.process-step {
  padding: 40px 28px;
  border-right: 1px solid rgba(10, 10, 10, 0.1);
  position: relative;
}
.process-step:last-child { border-right: none; }
.process-step .num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 24px;
  display: block;
  text-transform: uppercase;
}
.process-step h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.process-step p {
  font-size: 14px;
  color: rgba(10, 10, 10, 0.65);
  line-height: 1.6;
}
@media (max-width: 880px) {
  .process { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid rgba(10, 10, 10, 0.1); }
  .process-step:last-child { border-bottom: none; }
}

/* CTA band */
.cta-band {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--off-white);
  color: var(--black);
  position: relative;
  overflow: hidden;
}
.cta-band-dark {
  background: var(--black);
  color: var(--off-white);
}
.cta-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-inner h2 {
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.96;
  font-size: clamp(40px, 6.5vw, 88px);
  max-width: 14ch;
}
.cta-band .lead { color: rgba(10, 10, 10, 0.6); max-width: 50ch; margin-top: 20px; }
.cta-band-dark .lead { color: var(--muted); }

/* Footer */
.site-footer {
  background: var(--black);
  padding: clamp(64px, 8vw, 96px) 0 32px;
  border-top: 1px solid var(--line);
}
.footer-mark {
  font-weight: 900;
  letter-spacing: -0.05em;
  font-size: clamp(80px, 18vw, 220px);
  line-height: 0.85;
  color: var(--off-white);
  margin-bottom: 24px;
  display: block;
  position: relative;
}
.footer-divider {
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  border-radius: 1px;
  margin-bottom: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer-col h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  font-size: 15px;
  color: var(--off-white);
  transition: color var(--dur-fast) var(--ease);
}
.footer-col a:hover { color: var(--red); }
.footer-tagline {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  max-width: 28ch;
}
.footer-bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

.page-head { background: var(--navy); }

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

/* Pull quote (brand book signature) */
.pull-quote {
  padding: clamp(28px, 3vw, 40px) clamp(32px, 4vw, 48px);
  border: 1px solid rgba(255, 0, 40, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 0, 40, 0.04), rgba(38, 0, 255, 0.02));
  position: relative;
  overflow: hidden;
}
.pull-quote::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--red), var(--blue));
}
.pull-quote p {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: rgba(242, 242, 242, 0.92);
}

/* Why grid (About) */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.why-item {
  padding: 28px 32px 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: baseline;
}
.why-item:nth-child(2n) { padding-left: 32px; border-left: 1px solid var(--line); }
.why-item .num { font-size: 12px; color: var(--red); font-weight: 600; letter-spacing: 0.18em; }
.why-item p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.why-item p strong { color: var(--off-white); font-weight: 600; }
@media (max-width: 720px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-item:nth-child(2n) { padding-left: 0; border-left: none; }
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 880px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .values-grid { grid-template-columns: 1fr; } }

.value-card {
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue));
}
.value-card .vnum {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(242, 242, 242, 0.06);
  margin-bottom: 12px;
}
.value-card h4 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.value-card p { font-size: 14px; color: var(--muted); line-height: 1.55; margin-top: auto; }

/* AI list */
.ai-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.ai-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: baseline;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.ai-list li .ai-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.18em;
}
.ai-list.light { border-color: rgba(10, 10, 10, 0.12); }
.ai-list.light li { border-color: rgba(10, 10, 10, 0.12); }

/* Service detail */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 96px);
  padding: clamp(56px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-detail:first-of-type { padding-top: 0; }
.service-detail:last-of-type { border-bottom: none; }
@media (max-width: 880px) { .service-detail { grid-template-columns: 1fr; gap: 24px; } }

.service-detail .left .num {
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.service-detail .left h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 12px 0 16px;
}
.service-detail .badge-popular {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  background: var(--red);
  color: var(--off-white);
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.service-detail .left p { font-size: 15px; color: var(--muted); line-height: 1.65; max-width: 38ch; }

.included-list { display: grid; gap: 0; }
.included-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 16px;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
}
.included-list li:first-child { border-top: 1px solid var(--line); }
.included-list li .checkmark {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.included-list li .checkmark svg { width: 12px; height: 12px; stroke: var(--red); }
.included-list li .meta { font-size: 11px; color: var(--muted-soft); letter-spacing: 0.12em; text-transform: uppercase; }

.platform-tag {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 12px;
  letter-spacing: 0.04em;
  margin: 6px 4px 0 0;
  color: var(--muted);
}

/* Work / Portfolio */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-tab {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: all var(--dur-fast) var(--ease);
}
.filter-tab:hover { color: var(--off-white); border-color: var(--line-strong); }
.filter-tab.active {
  background: var(--off-white);
  color: var(--black);
  border-color: var(--off-white);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 720px) { .work-grid { grid-template-columns: 1fr; } }

.work-card {
  padding: 32px 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(242, 242, 242, 0.02);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}
.work-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.work-card:hover::before { transform: scaleX(1); }
.work-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}
.work-card .industry-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}
.work-card h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-top: 12px;
  margin-bottom: 14px;
  line-height: 1.05;
}
.work-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.work-card .formats {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.work-card .format-tag {
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  color: var(--muted);
}

.industry-section { margin-top: clamp(56px, 6vw, 80px); }
.industry-section:first-of-type { margin-top: 0; }
.industry-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  gap: 24px;
  flex-wrap: wrap;
}
.industry-section-head h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.industry-section-head .count {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 720px) { .testimonials { grid-template-columns: 1fr; } }
.quote {
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(242, 242, 242, 0.02);
  position: relative;
  overflow: hidden;
}
.quote::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--red), var(--blue));
}
.quote .quote-mark {
  color: var(--red);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}
.quote p {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.45;
  margin-bottom: 20px;
}
.quote cite {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-style: normal;
  text-transform: uppercase;
}

/* Clients page */
.client-industry { margin-top: clamp(48px, 5vw, 64px); }
.client-industry:first-of-type { margin-top: 0; }
.client-industry-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  gap: 16px;
  flex-wrap: wrap;
}
.client-industry-head h2 {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.client-industry-head .count {
  font-size: 12px;
  color: var(--red);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.client-marquee-wrap {
  margin: 0 calc(-1 * var(--pad-x));
  padding: clamp(48px, 6vw, 80px) 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.client-marquee {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 60s linear infinite;
  will-change: transform;
}
.client-marquee .name {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--muted-soft);
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease);
}
.client-marquee .name:hover { color: var(--off-white); }
.client-marquee .sep::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 880px) { .client-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .client-grid { grid-template-columns: 1fr; } }

.client-cell {
  padding: 22px 24px 22px 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  color: var(--off-white);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), padding var(--dur-fast) var(--ease);
  display: flex;
  align-items: center;
  gap: 12px;
}
.client-cell:hover { color: var(--red); padding-left: 4px; }
.client-cell::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}
.client-grid > .client-cell:nth-child(3n) { border-right: none; }
@media (max-width: 880px) {
  .client-grid > .client-cell:nth-child(3n) { border-right: 1px solid var(--line); }
  .client-grid > .client-cell:nth-child(2n) { border-right: none; }
}
@media (max-width: 480px) {
  .client-grid > .client-cell { border-right: none; }
}

.why-stay {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 1024px) { .why-stay { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why-stay { grid-template-columns: 1fr; } }
.why-stay-card {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.5;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.why-stay-card .num {
  font-size: 11px;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 0.18em;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form {
  display: grid;
  gap: 22px;
}
.field { display: grid; gap: 8px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label .req { color: var(--red); margin-left: 4px; }
.field input,
.field textarea,
.field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 14px 0;
  font-size: 16px;
  color: var(--off-white);
  font-family: inherit;
  border-radius: 0;
  transition: border-color var(--dur-fast) var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--red);
}
.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23F2F2F2' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 26px;
}
.field select option { background: var(--black); color: var(--off-white); }

.contact-aside { display: grid; gap: 32px; }
.contact-block { border-top: 1px solid var(--line); padding-top: 24px; }
.contact-block h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 14px;
}
.contact-block .big {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  word-break: break-word;
  transition: color var(--dur-fast) var(--ease);
}
.contact-block .big:hover { color: var(--red); }
.contact-block p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 4px;
}

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23FF0028' stroke-width='2.5'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
  background-size: contain;
  transition: transform var(--dur) var(--ease);
  flex-shrink: 0;
}
.faq details[open] summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23FF0028' stroke-width='2.5'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
}
.faq .ans {
  margin-top: 16px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 70ch;
}

/* Responsive nav switch */
@media (max-width: 880px) {
  .nav-links, .nav .btn { display: none; }
  .hamburger { display: inline-flex; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1; transform: none; }
  .line-inner { transform: none; }
}

/* ===== tezvik ENHANCEMENTS (append; overrides originals) ===== */
:root{ --ease-expo: cubic-bezier(0.16,1,0.3,1); }

/* 1) FIX DESCENDER CLIPPING (real cause: line-height .92 + translateY 110%) */
.display{ line-height: 1.0; }
.line-mask{ overflow: hidden; padding: 0.16em 0 0.2em; }
.line-inner{ transform: translateY(120%); }
.h1{ line-height: 1.06; padding-bottom: 0.06em; }

/* 2) REMOVE "MOST POPULAR" + de-rank Social card */
.service-card .badge,
.service-detail .badge-popular{ display:none !important; }
.service-card.featured{ background:rgba(242,242,242,0.02); border-color:var(--line); }
.service-card.featured::before{ transform:scaleX(0); }
.service-card.featured:hover::before{ transform:scaleX(1); }
.service-card.featured .num{ color:var(--red); }

/* 3) ANIMATED GRADIENT LINE (flows red->blue) */
@keyframes tz-flow{0%{background-position:0% 50%}100%{background-position:200% 50%}}
.eyebrow::before,
.service-card::before,
.service-detail::before,
.nav-links a.active::after{
  background:linear-gradient(90deg,var(--red),var(--blue),var(--red));
  background-size:200% 100%; animation:tz-flow 4s linear infinite;
}
.gradient-line{height:2px;width:100%;border-radius:2px;
  background:linear-gradient(90deg,var(--red),var(--blue),var(--red));
  background-size:200% 100%;animation:tz-flow 4s linear infinite;}
@media (prefers-reduced-motion:reduce){
  .eyebrow::before,.service-card::before,.service-detail::before,
  .nav-links a.active::after,.gradient-line{animation:none;}
}

/* 4) CARD HOVER POP + SCALE + TILT + SPOTLIGHT */
.service-card,.work-card,.value-card,.featured-card,
.industry,.why-item,.capability-card{
  transform-style:preserve-3d; will-change:transform;
  transition:transform 350ms var(--ease-expo),border-color 350ms ease,box-shadow 350ms ease,background 350ms ease;
}
.service-card:hover,.work-card:hover,.value-card:hover,.featured-card:hover,
.industry:hover,.why-item:hover,.capability-card:hover{
  transform:translateY(-8px) scale(1.025); border-color:var(--red);
  box-shadow:0 24px 60px -22px rgba(255,0,40,0.40),0 0 0 1px rgba(255,0,40,0.35);
}
.service-card.tz-tilt,.work-card.tz-tilt,.value-card.tz-tilt,.featured-card.tz-tilt,
.industry.tz-tilt,.why-item.tz-tilt,.capability-card.tz-tilt{
  transform:perspective(1000px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-8px) scale(1.03);
}
.service-card,.work-card,.featured-card,.capability-card{ position:relative; }
.service-card .tz-spot,.work-card .tz-spot,.featured-card .tz-spot,.capability-card .tz-spot{
  position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:0;opacity:0;
  transition:opacity 250ms ease;
  background:radial-gradient(circle at var(--mx,50%) var(--my,50%),rgba(255,0,40,0.12),transparent 45%);
}
.service-card:hover .tz-spot,.work-card:hover .tz-spot,
.featured-card:hover .tz-spot,.capability-card:hover .tz-spot{ opacity:1; }
.service-card>*:not(.tz-spot),.work-card>*:not(.tz-spot),
.featured-card>*:not(.tz-spot),.capability-card>*:not(.tz-spot){ position:relative; z-index:1; }
@media (prefers-reduced-motion:reduce){
  .service-card:hover,.work-card:hover,.value-card:hover,.featured-card:hover,
  .industry:hover,.why-item:hover,.capability-card:hover{ transform:none; }
}

/* 5) SCROLL PROGRESS BAR */
.scroll-progress{position:fixed;top:0;left:0;width:100%;height:3px;z-index:9999;pointer-events:none}
.scroll-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--red),var(--blue))}

/* 6) STAGGER children of [data-reveal-stagger] (your JS adds .in) */
[data-reveal-stagger] > *{opacity:0;transform:translateY(28px);
  transition:opacity 700ms var(--ease-expo),transform 700ms var(--ease-expo);}
[data-reveal-stagger].in > *{opacity:1;transform:none;}
[data-reveal-stagger].in > *:nth-child(1){transition-delay:0ms}
[data-reveal-stagger].in > *:nth-child(2){transition-delay:70ms}
[data-reveal-stagger].in > *:nth-child(3){transition-delay:140ms}
[data-reveal-stagger].in > *:nth-child(4){transition-delay:210ms}
[data-reveal-stagger].in > *:nth-child(5){transition-delay:280ms}
[data-reveal-stagger].in > *:nth-child(6){transition-delay:350ms}
[data-reveal-stagger].in > *:nth-child(7){transition-delay:420ms}
[data-reveal-stagger].in > *:nth-child(8){transition-delay:490ms}
[data-reveal-stagger].in > *:nth-child(n+9){transition-delay:560ms}
@media (prefers-reduced-motion:reduce){[data-reveal-stagger] > *{opacity:1!important;transform:none!important}}

/* 7) NAV UNDERLINE SWEEP on hover */
.nav-links a{position:relative}
.nav-links a::after{content:'';position:absolute;left:0;bottom:-4px;width:100%;height:2px;
  transform:scaleX(0);transform-origin:left;
  background:linear-gradient(90deg,var(--red),var(--blue));
  transition:transform 250ms var(--ease-expo);}
.nav-links a:hover::after{transform:scaleX(1)}

/* 8) BREATHING HERO GLOW (opacity only; won't fight JS parallax transform) */
.hero-glow.red{animation:tz-br 9s var(--ease) infinite}
.hero-glow.blue{animation:tz-bb 11s var(--ease) infinite}
@keyframes tz-br{0%,100%{opacity:.45}50%{opacity:.62}}
@keyframes tz-bb{0%,100%{opacity:.4}50%{opacity:.58}}
.hero-glow,.hero-grid{transition:transform 500ms var(--ease-expo)}
@media (prefers-reduced-motion:reduce){.hero-glow.red,.hero-glow.blue{animation:none}}

/* 9) HERO ORB (lightweight 3D feel, instant load) */
.hero-orb-layer{position:absolute;inset:0;z-index:1;pointer-events:none}
.hero-orb{position:absolute;top:50%;right:6%;width:clamp(300px,34vw,600px);height:clamp(300px,34vw,600px);
  transform:translateY(-50%);border-radius:50%;filter:blur(10px);
  background:radial-gradient(circle at 35% 30%,rgba(38,0,255,0.5),transparent 55%),
            radial-gradient(circle at 70% 70%,rgba(255,0,40,0.5),transparent 55%),
            radial-gradient(circle at 50% 50%,rgba(26,0,192,0.35),transparent 70%);
  animation:tz-orb 16s var(--ease) infinite;}
@keyframes tz-orb{0%,100%{transform:translateY(-50%) scale(1) rotate(0)}
  33%{transform:translateY(-54%) scale(1.07) rotate(8deg)}
  66%{transform:translateY(-46%) scale(0.96) rotate(-6deg)}}
@media (max-width:900px){.hero-orb{right:-20%;opacity:.4}}
@media (prefers-reduced-motion:reduce){.hero-orb{animation:none}}

/* 10) CUSTOM CURSOR (desktop fine-pointer; forms excluded) */
@media (pointer:fine){
  body.tz-cursor *{cursor:none !important}
  body.tz-cursor input,body.tz-cursor textarea,body.tz-cursor select{cursor:auto !important}
  .cursor-dot,.cursor-ring{position:fixed;top:0;left:0;border-radius:50%;pointer-events:none;z-index:10000;transform:translate(-50%,-50%)}
  .cursor-dot{width:6px;height:6px;background:var(--red)}
  .cursor-ring{width:36px;height:36px;border:1.5px solid rgba(242,242,242,0.5);
    transition:width 250ms var(--ease-expo),height 250ms var(--ease-expo),border-color 250ms,background 250ms}
  .cursor-ring.hovering{width:64px;height:64px;border-color:var(--red);background:rgba(255,0,40,0.08)}
}
@media (pointer:coarse){.cursor-dot,.cursor-ring{display:none}}

/* 11) PAGE FADE */
body{opacity:0;animation:tz-page-in 500ms var(--ease-expo) forwards}
@keyframes tz-page-in{to{opacity:1}}
body.page-leaving{opacity:0;transition:opacity 240ms ease}
@media (prefers-reduced-motion:reduce){body{opacity:1;animation:none}}

/* 12) SOCIAL ICONS */
.social-row{display:flex;gap:14px;margin-top:18px}
.social-link{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--line-strong);border-radius:10px;color:rgba(242,242,242,0.7);transition:all 200ms var(--ease-expo)}
.social-link:hover{border-color:var(--red);color:var(--red);transform:translateY(-2px)}
.social-link svg{width:18px;height:18px}

/* 13) SERVICE CARD ICONS */
.service-card .service-icon{position:absolute;top:24px;right:24px;width:34px;height:34px;opacity:.35;color:var(--off-white);
  transition:opacity 250ms,color 250ms,transform 250ms var(--ease-expo)}
.service-card:hover .service-icon{opacity:1;color:var(--red);transform:scale(1.1) rotate(-4deg)}

/* 14) NEW SECTION HELPERS */
.capability-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:48px}
@media(max-width:900px){.capability-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.capability-grid{grid-template-columns:1fr}}
.capability-card{padding:28px 24px;border:1px solid var(--line);border-radius:var(--radius);background:rgba(242,242,242,0.02)}
.capability-card .num{font-size:12px;font-weight:700;letter-spacing:.18em;color:var(--red);text-transform:uppercase}
.capability-card h4{font-size:20px;font-weight:800;letter-spacing:-0.02em;margin:12px 0 8px}
.capability-card p{font-size:14px;line-height:1.6;color:var(--muted)}
.featured-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:28px;margin-top:48px}
@media(max-width:900px){.featured-grid{grid-template-columns:1fr}}
.featured-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.featured-visual{aspect-ratio:16/10;border-bottom:1px dashed var(--line-strong);background:rgba(242,242,242,0.02);display:flex;align-items:center;justify-content:center}
.featured-meta{padding:24px}
.featured-meta .industry-tag{font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--red)}
.featured-meta h3{font-size:clamp(24px,2.4vw,32px);font-weight:800;letter-spacing:-0.02em;margin:10px 0 12px}
.featured-meta p{font-size:15px;line-height:1.7;color:var(--muted);font-weight:300}
.formats{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.format-tag{font-size:11px;padding:6px 12px;border:1px solid var(--line-strong);border-radius:var(--radius-pill);color:var(--muted)}
.featured-clients-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-top:32px}
.featured-client-cell{padding:24px 20px;border:1px solid var(--line);border-radius:var(--radius)}
.featured-client-cell .client-name{display:block;font-size:clamp(18px,1.6vw,22px);font-weight:700;letter-spacing:-0.02em;color:var(--off-white);margin-bottom:4px}
.featured-client-cell .client-type{font-size:11px;font-weight:500;letter-spacing:.15em;text-transform:uppercase;color:var(--red)}
.watermark{position:absolute;pointer-events:none;z-index:0;font-weight:900;letter-spacing:-0.05em;line-height:1;color:rgba(242,242,242,0.022);white-space:nowrap;user-select:none}
.watermark.bottom-left{bottom:-8%;left:-5%;font-size:clamp(180px,30vw,480px)}
.watermark.diagonal{bottom:-15%;right:-10%;font-size:clamp(160px,26vw,420px);transform:rotate(-8deg)}
.visual-placeholder{min-height:320px;border:1px dashed var(--line-strong);border-radius:var(--radius);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:rgba(242,242,242,0.3);font-size:13px;background:rgba(242,242,242,0.02)}
.placeholder-label{letter-spacing:.15em;text-transform:uppercase;font-weight:500}
.placeholder-sub{font-size:11px;color:rgba(242,242,242,0.2)}
.roster-industry{padding:32px 0;border-bottom:1px solid var(--line)}
.roster-industry:last-child{border-bottom:none}
.roster-industry h3{font-size:clamp(20px,2vw,28px);font-weight:800;letter-spacing:-0.02em;margin-bottom:16px;color:var(--off-white)}
.roster-list{font-size:clamp(14px,1.2vw,17px);line-height:2;color:var(--muted);font-weight:300}
/* ===== end enhancements ===== */


/* ===== tezvik requested fixes: social-ready layout + global background motion ===== */
/* Fix About page Why grid so copy never collapses into vertical words */
.why-grid {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 0;
}
.why-item {
  display: block;
  min-width: 0;
  padding: clamp(30px, 3.2vw, 48px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.why-item:nth-child(2n) { padding-left: clamp(30px, 3.2vw, 48px); }
.why-item .num {
  display: block;
  margin-bottom: 26px;
  width: max-content;
}
.why-item p {
  max-width: 48ch;
  min-width: 0;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;
}
@media (max-width: 720px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-item,
  .why-item:nth-child(2n) { padding: 30px 0; border-left: none; }
}

/* Header/navigation stays clean; background motion handles the brand energy. */
.site-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  opacity: 0.45;
}
.nav-links a,
.wordmark {
  transition: color 220ms var(--ease);
}
.nav-links a:hover,
.wordmark:hover {
  color: var(--off-white);
}

/* Complete website background animation. Text stays clean and solid. */
:root {
  --tz-bg-x: 50vw;
  --tz-bg-y: 50vh;
}
html { background: var(--black); }
body {
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 0%, rgba(38, 0, 255, 0.08), transparent 32%),
    var(--black);
}
body::before {
  content: '';
  position: fixed;
  inset: -18vmax;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(620px circle at var(--tz-bg-x) var(--tz-bg-y), rgba(255, 0, 40, 0.18), transparent 46%),
    radial-gradient(560px circle at calc(var(--tz-bg-x) + 140px) calc(var(--tz-bg-y) + 90px), rgba(38, 0, 255, 0.16), transparent 52%),
    radial-gradient(900px circle at 8% 16%, rgba(255, 0, 40, 0.08), transparent 56%),
    radial-gradient(900px circle at 92% 84%, rgba(38, 0, 255, 0.08), transparent 58%);
  filter: blur(10px) saturate(1.04);
  transform: translate3d(0, 0, 0);
  animation: tz-global-bg-breathe 14s ease-in-out infinite alternate;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.10;
  background-image:
    linear-gradient(rgba(242, 242, 242, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 242, 242, 0.045) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(circle at var(--tz-bg-x) var(--tz-bg-y), black 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at var(--tz-bg-x) var(--tz-bg-y), black 0%, transparent 72%);
  transition: mask-position 180ms var(--ease);
}
@keyframes tz-global-bg-breathe {
  0% { transform: translate3d(-1.5%, -1%, 0) scale(1); opacity: 0.62; }
  50% { transform: translate3d(1%, 1.2%, 0) scale(1.035); opacity: 0.82; }
  100% { transform: translate3d(1.5%, -0.8%, 0) scale(1.06); opacity: 0.70; }
}

/* Remove the previous heading-only background animation completely. */
.tz-bg-motion,
.tz-bg-motion::before,
.tz-bg-motion::after,
.section::before,
.section-tight::before {
  animation: none !important;
}
.tz-bg-motion::before,
.tz-bg-motion::after,
.section::before,
.section-tight::before {
  display: none !important;
}

/* Restore page headers: no empty hero space, no changed header composition. */
.hero {
  background: rgba(6, 2, 15, 0.92);
  padding-top: clamp(130px, 14vw, 190px);
  padding-bottom: clamp(80px, 10vw, 130px);
}
.hero.page-head {
  background: rgba(6, 2, 15, 0.92);
  padding-top: clamp(125px, 11vw, 165px);
  padding-bottom: clamp(78px, 8vw, 118px);
  min-height: 0 !important;
}
.hero-content {
  margin-top: 0 !important;
  transform: none !important;
}
.hero .display,
.hero .lead,
.hero .hero-meta {
  position: relative;
  z-index: 3;
}

@media (max-width: 760px) {
  .hero { padding-top: 124px; padding-bottom: 78px; }
  .hero.page-head { padding-top: 118px; padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header::after,
  body::before { animation: none; }
}
/* ===== end requested fixes ===== */

.social-contact-list { display: grid; gap: 10px; margin-top: 14px; }
.social-contact-list a { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 16px; border:1px solid var(--line); border-radius:var(--radius); background:rgba(242,242,242,.025); transition:border-color 220ms var(--ease), transform 220ms var(--ease), background 220ms var(--ease); }
.social-contact-list a:hover { border-color:var(--red); background:linear-gradient(135deg, rgba(255,0,40,.08), rgba(38,0,255,.06)); transform:translateY(-2px); }
.social-contact-list span { font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted-soft); }
.social-contact-list strong { font-size:clamp(16px,1.5vw,22px); color:var(--off-white); letter-spacing:-.02em; }
@media(max-width:520px){ .social-contact-list a{ align-items:flex-start; flex-direction:column; gap:4px; } }


/* ===== FINAL HERO + HEADER RESTORE FIX =====
   Restore original fixed header and remove the unwanted blank hero space.
   Background cursor motion remains global, but it never controls layout. */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
}
.mobile-nav {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1001 !important;
}
.scroll-progress {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1002 !important;
}
.cursor-dot,
.cursor-ring {
  position: fixed !important;
  z-index: 10000 !important;
}
main,
section,
.container,
.hero-content {
  position: relative;
}
main { z-index: 1; }
.hero {
  height: auto !important;
  min-height: 0 !important;
  display: block !important;
  padding-top: clamp(140px, 16vw, 210px) !important;
  padding-bottom: clamp(80px, 10vw, 130px) !important;
  overflow: hidden;
}
.hero.page-head {
  height: auto !important;
  min-height: 0 !important;
  display: block !important;
  padding-top: clamp(135px, 13vw, 180px) !important;
  padding-bottom: clamp(72px, 8vw, 110px) !important;
}
.hero-content {
  top: auto !important;
  left: auto !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  transform: none !important;
  opacity: 1 !important;
  z-index: 3 !important;
}
.hero-meta,
.hero .display,
.hero .lead,
.hero-actions,
.hero-foot {
  opacity: 1 !important;
  visibility: visible !important;
}
.line-inner {
  transform: none !important;
  transition: none !important;
}
@media (max-width: 760px) {
  .hero { padding-top: 122px !important; padding-bottom: 76px !important; }
  .hero.page-head { padding-top: 118px !important; padding-bottom: 70px !important; }
}
/* ===== END FINAL HERO + HEADER RESTORE FIX ===== */


/* ===== TEZVIK THEME + GLOBAL RIPPLE FINAL ===== */
/* Dark is default. This block adds light mode + full-page cursor ripple without changing layout spacing. */
html[data-theme="dark"] {
  color-scheme: dark;
}
html[data-theme="light"] {
  color-scheme: light;
  --black: #F6F5F0;
  --navy: #ECEAE3;
  --off-white: #0A0A0A;
  --gray: #5F5F5F;
  --line: rgba(10, 10, 10, 0.11);
  --line-strong: rgba(10, 10, 10, 0.22);
  --muted: rgba(10, 10, 10, 0.68);
  --muted-soft: rgba(10, 10, 10, 0.46);
}

/* Disable previous background cursor glow so only ripple remains. */
body::before,
body::after {
  display: none !important;
}

html[data-theme="light"],
html[data-theme="light"] body {
  background: #F6F5F0;
}
html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 50% 0%, rgba(38, 0, 255, 0.08), transparent 32%),
    #0A0A0A;
}
html[data-theme="light"] body {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 0, 40, 0.06), transparent 34%),
    #F6F5F0;
}

/* Header / hero theme support. No spacing changes. */
html[data-theme="light"] .site-header.scrolled {
  background: rgba(246, 245, 240, 0.82);
  border-bottom-color: rgba(10, 10, 10, 0.10);
}
html[data-theme="light"] .hero,
html[data-theme="light"] .hero.page-head {
  background: rgba(236, 234, 227, 0.94) !important;
}
html[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(10, 10, 10, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.045) 1px, transparent 1px);
}
html[data-theme="light"] .hero-tag,
html[data-theme="light"] .btn-outline,
html[data-theme="light"] .filter-tab,
html[data-theme="light"] .social-link {
  border-color: rgba(10, 10, 10, 0.18);
}
html[data-theme="light"] .btn-primary {
  color: #F2F2F2;
}
html[data-theme="light"] .btn-light {
  background: #0A0A0A;
  color: #F2F2F2;
}
html[data-theme="light"] .section-light {
  background: #FFFFFF;
  color: #0A0A0A;
}
html[data-theme="light"] .section-light .lead,
html[data-theme="light"] .section-light .body {
  color: rgba(10, 10, 10, 0.68);
}
html[data-theme="light"] .service-card,
html[data-theme="light"] .work-card,
html[data-theme="light"] .value-card,
html[data-theme="light"] .featured-card,
html[data-theme="light"] .industry,
html[data-theme="light"] .why-item,
html[data-theme="light"] .capability-card,
html[data-theme="light"] .contact-form,
html[data-theme="light"] .contact-aside,
html[data-theme="light"] .faq details,
html[data-theme="light"] .stat,
html[data-theme="light"] .process-step,
html[data-theme="light"] .client-card,
html[data-theme="light"] .quote-card {
  background-color: rgba(255, 255, 255, 0.64);
  border-color: rgba(10, 10, 10, 0.10);
}
html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(10, 10, 10, 0.16);
  color: #0A0A0A;
}
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
  color: rgba(10, 10, 10, 0.40);
}
html[data-theme="light"] .mobile-nav {
  background: #F6F5F0;
}
html[data-theme="light"] .hero-glow.red,
html[data-theme="light"] .hero-glow.blue {
  opacity: 0.26;
}

/* Theme toggle button: compact, premium, and header-safe. */
.theme-toggle {
  width: 48px;
  height: 28px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: rgba(242, 242, 242, 0.045);
  color: var(--off-white);
  position: relative;
  overflow: hidden;
  transition: background 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease);
}
.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--red);
  background: rgba(255, 0, 40, 0.08);
}
.theme-toggle-track {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
}
.theme-toggle-track::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 4px;
  top: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--blue));
  box-shadow: 0 6px 18px rgba(255, 0, 40, 0.26);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.theme-toggle-icon {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  border-radius: 50%;
  opacity: 0.72;
}
.theme-toggle-moon {
  left: 9px;
  box-shadow: inset -2px 0 0 currentColor;
}
.theme-toggle-sun {
  right: 9px;
  background: currentColor;
}
html[data-theme="light"] .theme-toggle-track::before {
  transform: translateX(20px);
  box-shadow: 0 6px 18px rgba(38, 0, 255, 0.18);
}
@media (max-width: 880px) {
  .theme-toggle { width: 46px; height: 28px; }
}

/* Remove old custom cursor ring/dot so there is no border or boxed cursor feel. */
body.tz-cursor * { cursor: auto !important; }
.cursor-dot,
.cursor-ring {
  display: none !important;
}

/* Full-site ripple layer: visible in header, dark areas, light areas, and cards. */
.tz-ripple-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1001;
  opacity: 0.84;
  mix-blend-mode: screen;
  contain: strict;
}
html[data-theme="light"] .tz-ripple-layer {
  opacity: 0.58;
  mix-blend-mode: multiply;
}
.tz-ripple {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size, 230px);
  height: var(--size, 230px);
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(0.08);
  opacity: 0;
  background:
    radial-gradient(circle, rgba(255, 0, 40, 0.34) 0%, rgba(255, 0, 40, 0.18) 18%, rgba(38, 0, 255, 0.16) 42%, rgba(38, 0, 255, 0.07) 58%, transparent 74%);
  filter: blur(14px) saturate(1.12);
  animation: tz-ripple-expand 650ms var(--ease) forwards;
  will-change: transform, opacity;
}
.tz-ripple:nth-child(even) {
  background:
    radial-gradient(circle, rgba(38, 0, 255, 0.30) 0%, rgba(38, 0, 255, 0.16) 20%, rgba(255, 0, 40, 0.13) 45%, rgba(255, 0, 40, 0.06) 60%, transparent 75%);
}
html[data-theme="light"] .tz-ripple {
  background:
    radial-gradient(circle, rgba(255, 0, 40, 0.24) 0%, rgba(255, 0, 40, 0.14) 22%, rgba(38, 0, 255, 0.13) 46%, rgba(38, 0, 255, 0.06) 62%, transparent 76%);
  filter: blur(12px) saturate(1.04);
}
@keyframes tz-ripple-expand {
  0% { transform: translate(-50%, -50%) scale(0.10); opacity: 0; }
  12% { opacity: 0.82; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  .tz-ripple-layer { display: none; }
}
/* ===== END TEZVIK THEME + GLOBAL RIPPLE FINAL ===== */


/* ===== TEZVIK FINAL: PREMIUM SCROLL + TEXT ALIVE + WORK IMAGE SLOTS ===== */
/* Scroll motion is added without changing spacing, layout, content, or typography sizes. */
.tz-scroll-item,
.tz-scroll-child {
  opacity: 0;
  transform: translate3d(0, 44px, 0) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 920ms var(--ease),
    transform 920ms var(--ease),
    filter 920ms var(--ease),
    border-color 360ms var(--ease),
    background-color 360ms var(--ease),
    box-shadow 360ms var(--ease);
  transition-delay: var(--tz-delay, 0ms);
  will-change: opacity, transform, filter;
}
.tz-scroll-item.tz-in,
.tz-scroll-child.tz-in,
.tz-scroll-parent.tz-in > .tz-scroll-child {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

/* Give cards a premium entrance instead of flat PDF-style section jumps. */
.service-card.tz-scroll-child,
.work-card.tz-scroll-child,
.featured-card.tz-scroll-child,
.capability-card.tz-scroll-child,
.value-card.tz-scroll-child,
.why-item.tz-scroll-child,
.client-card.tz-scroll-child,
.quote-card.tz-scroll-child,
.stat.tz-scroll-child,
.process-step.tz-scroll-child {
  transform: translate3d(0, 52px, 0) scale(0.972);
}
.service-card.tz-scroll-child.tz-in,
.work-card.tz-scroll-child.tz-in,
.featured-card.tz-scroll-child.tz-in,
.capability-card.tz-scroll-child.tz-in,
.value-card.tz-scroll-child.tz-in,
.why-item.tz-scroll-child.tz-in,
.client-card.tz-scroll-child.tz-in,
.quote-card.tz-scroll-child.tz-in,
.stat.tz-scroll-child.tz-in,
.process-step.tz-scroll-child.tz-in,
.tz-scroll-parent.tz-in > .service-card.tz-scroll-child,
.tz-scroll-parent.tz-in > .work-card.tz-scroll-child,
.tz-scroll-parent.tz-in > .featured-card.tz-scroll-child,
.tz-scroll-parent.tz-in > .capability-card.tz-scroll-child,
.tz-scroll-parent.tz-in > .value-card.tz-scroll-child,
.tz-scroll-parent.tz-in > .why-item.tz-scroll-child,
.tz-scroll-parent.tz-in > .client-card.tz-scroll-child,
.tz-scroll-parent.tz-in > .quote-card.tz-scroll-child,
.tz-scroll-parent.tz-in > .stat.tz-scroll-child,
.tz-scroll-parent.tz-in > .process-step.tz-scroll-child {
  transform: translate3d(0, 0, 0) scale(1);
}

/* Header/hero depth only; text remains clean and solid. */
.hero-grid,
.hero-glow,
.hero-orb {
  will-change: transform;
}
html:not([data-theme="light"]) .hero:hover .hero-grid,
html[data-theme="dark"] .hero:hover .hero-grid,
html[data-theme="light"] .hero:hover .hero-grid {
  opacity: 0.95;
}

/* Heading font-weight hover: clean text only, no glow/gradient/filter. */
.tz-text-alive {
  position: relative;
  color: inherit;
  text-shadow: none !important;
  filter: none !important;
  transition:
    font-weight 240ms var(--ease),
    letter-spacing 240ms var(--ease);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}
.tz-text-alive::after {
  content: none !important;
  display: none !important;
}
.display.tz-text-alive,
.h1.tz-text-alive,
.section-head h2.tz-text-alive {
  font-weight: 800;
}
.h2.tz-text-alive,
.service-detail h2.tz-text-alive,
.client-industry-head h2.tz-text-alive {
  font-weight: 800;
}
.h3.tz-text-alive,
.featured-meta h3.tz-text-alive,
.roster-industry h3.tz-text-alive,
.capability-card h4.tz-text-alive,
.value-card h3.tz-text-alive,
.why-item h3.tz-text-alive {
  font-weight: 700;
}
.display.tz-text-alive:hover,
.display.tz-text-alive.tz-text-hot,
.h1.tz-text-alive:hover,
.h1.tz-text-alive.tz-text-hot,
.section-head h2.tz-text-alive:hover,
.section-head h2.tz-text-alive.tz-text-hot {
  font-weight: 900;
  letter-spacing: -0.045em;
}
.h2.tz-text-alive:hover,
.h2.tz-text-alive.tz-text-hot,
.service-detail h2.tz-text-alive:hover,
.service-detail h2.tz-text-alive.tz-text-hot,
.client-industry-head h2.tz-text-alive:hover,
.client-industry-head h2.tz-text-alive.tz-text-hot {
  font-weight: 900;
  letter-spacing: -0.03em;
}
.h3.tz-text-alive:hover,
.h3.tz-text-alive.tz-text-hot,
.featured-meta h3.tz-text-alive:hover,
.featured-meta h3.tz-text-alive.tz-text-hot,
.roster-industry h3.tz-text-alive:hover,
.roster-industry h3.tz-text-alive.tz-text-hot,
.capability-card h4.tz-text-alive:hover,
.capability-card h4.tz-text-alive.tz-text-hot,
.value-card h3.tz-text-alive:hover,
.value-card h3.tz-text-alive.tz-text-hot,
.why-item h3.tz-text-alive:hover,
.why-item h3.tz-text-alive.tz-text-hot {
  font-weight: 900;
}

/* Work section image slots. Add image files in assets/images/work/ using the names in README.txt. */
.featured-visual {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(135deg, rgba(10,10,10,0.18), rgba(10,10,10,0.56)),
    radial-gradient(circle at 18% 22%, rgba(255,0,40,0.22), transparent 38%),
    radial-gradient(circle at 82% 76%, rgba(38,0,255,0.22), transparent 42%),
    var(--work-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 420ms var(--ease), filter 420ms var(--ease), border-color 280ms var(--ease);
}
.featured-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(10,10,10,0.34));
  opacity: 0.55;
  pointer-events: none;
}
.featured-card:hover .featured-visual {
  transform: scale(1.012);
  filter: saturate(1.08) contrast(1.04);
}
.featured-visual .placeholder-label {
  position: relative;
  z-index: 1;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(242,242,242,0.16);
  background: rgba(10,10,10,0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(242,242,242,0.70);
}
html[data-theme="light"] .featured-visual .placeholder-label {
  background: rgba(255,255,255,0.24);
  border-color: rgba(10,10,10,0.12);
  color: rgba(10,10,10,0.74);
}

@media (prefers-reduced-motion: reduce) {
  .tz-scroll-item,
  .tz-scroll-child {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .tz-text-alive,
  .tz-text-alive::after,
  .featured-visual {
    transition: none !important;
  }
}
/* ===== END TEZVIK FINAL: PREMIUM SCROLL + TEXT ALIVE + WORK IMAGE SLOTS ===== */


/* Final precision fixes: no crossed CTA line and no clipped heading edges. */
.btn-ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  line-height: 1.25;
}
.btn-ghost::after {
  bottom: 6px;
  width: 100%;
}
.line-mask {
  padding-left: 0.045em;
  padding-right: 0.08em;
  margin-left: -0.045em;
  margin-right: -0.08em;
}
.line-inner {
  padding-right: 0.035em;
}

/* ===== TEZVIK FINAL CONSISTENCY PASS: LIGHT MODE + GLASS + ACTIVE NAV ===== */
/* Keep layout/spacing intact. This pass fixes readability, removes hard white patches, and makes the UI feel like one system. */

/* Current page in navigation: visible, premium red active state */
.nav-links a {
  border-radius: 999px;
  padding: 8px 12px;
  transition: color 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease), transform 220ms var(--ease);
}
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--red) !important;
  background: linear-gradient(135deg, rgba(255,0,40,0.12), rgba(38,0,255,0.06));
  box-shadow: inset 0 0 0 1px rgba(255,0,40,0.16), 0 10px 30px rgba(255,0,40,0.08);
}
.nav-links a.active::before,
.nav-links a[aria-current="page"]::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  transform: translateY(-50%);
  box-shadow: 0 0 14px rgba(255,0,40,0.65);
}
.nav-links a.active::after,
.nav-links a[aria-current="page"]::after {
  left: 12px;
  right: 12px;
  bottom: 3px;
  width: auto;
  height: 1px;
  opacity: 0.75;
  background: linear-gradient(90deg, transparent, var(--red), var(--blue), transparent);
}
.nav-links a.active,
.nav-links a[aria-current="page"] { padding-left: 20px; }
.nav-links a:hover { transform: translateY(-1px); }
html[data-theme="light"] .nav-links a.active,
html[data-theme="light"] .nav-links a[aria-current="page"] {
  color: var(--red) !important;
  background: linear-gradient(135deg, rgba(255,0,40,0.10), rgba(38,0,255,0.055));
}

/* Header glass consistency */
.site-header {
  background: rgba(10,10,10,0.42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.site-header.scrolled {
  background: rgba(10,10,10,0.76) !important;
}
html[data-theme="light"] .site-header {
  background: rgba(246,245,240,0.76) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
html[data-theme="light"] .site-header.scrolled {
  background: rgba(246,245,240,0.88) !important;
}

/* Glass CTA buttons with animated sheen */
.btn-primary {
  border: 1px solid rgba(255,255,255,0.18);
  background:
    linear-gradient(135deg, rgba(255,0,40,0.94), rgba(192,0,26,0.78)),
    linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0.02));
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 16px 42px -16px rgba(255,0,40,0.68), inset 0 1px 0 rgba(255,255,255,0.24);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: -40% -65%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.28) 47%, transparent 60%);
  transform: translateX(-45%) rotate(8deg);
  transition: transform 640ms var(--ease);
}
.btn-primary:hover::before { transform: translateX(45%) rotate(8deg); }
.btn-primary:hover {
  box-shadow: 0 22px 52px -18px rgba(255,0,40,0.72), 0 0 0 1px rgba(255,0,40,0.18), inset 0 1px 0 rgba(255,255,255,0.28);
}
html[data-theme="light"] .btn-primary {
  color: #fff !important;
  border-color: rgba(255,0,40,0.25);
  box-shadow: 0 16px 40px -18px rgba(255,0,40,0.55), inset 0 1px 0 rgba(255,255,255,0.34);
}

/* Light mode should never use pure white block patches. Use soft transparent glass instead. */
html[data-theme="light"] .section-light {
  --black: #0A0A0A;
  --off-white: #0A0A0A;
  --muted: rgba(10,10,10,0.70);
  --muted-soft: rgba(10,10,10,0.50);
  background:
    radial-gradient(circle at 12% 18%, rgba(255,0,40,0.055), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(38,0,255,0.05), transparent 30%),
    linear-gradient(180deg, rgba(246,245,240,0.62), rgba(246,245,240,0.44)) !important;
  color: #0A0A0A !important;
}
html[data-theme="light"] .cta-band {
  --black: #0A0A0A;
  --off-white: #0A0A0A;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,0,40,0.055), transparent 30%),
    radial-gradient(circle at 92% 88%, rgba(38,0,255,0.055), transparent 32%),
    rgba(246,245,240,0.58) !important;
  color: #0A0A0A !important;
}
html[data-theme="light"] .cta-band .lead { color: rgba(10,10,10,0.68) !important; }

/* Glass panels instead of white patches */
.service-card,
.work-card,
.value-card,
.featured-card,
.industry,
.why-item,
.capability-card,
.stat,
.process-step,
.client-card,
.quote,
.quote-card,
.why-stay-card,
.featured-client-cell,
.client-cell,
.contact-form,
.contact-aside,
.faq,
.faq details,
.contact-block,
.social-contact-list a {
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
}
html[data-theme="light"] .service-card,
html[data-theme="light"] .work-card,
html[data-theme="light"] .value-card,
html[data-theme="light"] .featured-card,
html[data-theme="light"] .industry,
html[data-theme="light"] .why-item,
html[data-theme="light"] .capability-card,
html[data-theme="light"] .stat,
html[data-theme="light"] .process-step,
html[data-theme="light"] .client-card,
html[data-theme="light"] .quote,
html[data-theme="light"] .quote-card,
html[data-theme="light"] .why-stay-card,
html[data-theme="light"] .featured-client-cell,
html[data-theme="light"] .contact-form,
html[data-theme="light"] .contact-aside,
html[data-theme="light"] .faq,
html[data-theme="light"] .faq details,
html[data-theme="light"] .contact-block,
html[data-theme="light"] .social-contact-list a {
  background: linear-gradient(135deg, rgba(255,255,255,0.38), rgba(255,255,255,0.16)) !important;
  border-color: rgba(10,10,10,0.105) !important;
  box-shadow: 0 22px 70px -48px rgba(10,10,10,0.28), inset 0 1px 0 rgba(255,255,255,0.64);
  color: #0A0A0A !important;
}
html[data-theme="light"] .quote p,
html[data-theme="light"] .quote cite,
html[data-theme="light"] .pull-quote p,
html[data-theme="light"] .why-stay-card p,
html[data-theme="light"] .faq .ans,
html[data-theme="light"] .contact-block p,
html[data-theme="light"] .featured-client-cell .client-name,
html[data-theme="light"] .client-cell,
html[data-theme="light"] .roster-list,
html[data-theme="light"] .footer-tagline,
html[data-theme="light"] .footer-bottom {
  color: rgba(10,10,10,0.72) !important;
}
html[data-theme="light"] .quote p,
html[data-theme="light"] .quote cite { color: #0A0A0A !important; }
html[data-theme="light"] .quote cite { color: rgba(10,10,10,0.52) !important; }
html[data-theme="light"] .quote .quote-mark { color: var(--red) !important; }
html[data-theme="light"] .pull-quote {
  background: linear-gradient(135deg, rgba(255,255,255,0.36), rgba(255,255,255,0.16)) !important;
  border-color: rgba(255,0,40,0.16) !important;
}

/* Contact page: premium glass form/card, no edge-hugging text */
.contact-form {
  padding: clamp(26px, 3vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(242,242,242,0.045), rgba(242,242,242,0.014));
  box-shadow: 0 24px 80px -56px rgba(0,0,0,0.85);
}
.contact-aside {
  padding: clamp(22px, 2.5vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(242,242,242,0.04), rgba(242,242,242,0.012));
}
.contact-block {
  border-top: none !important;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px !important;
  background: rgba(242,242,242,0.018);
}
.field input,
.field textarea,
.field select {
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  padding: 15px 16px !important;
  background: rgba(242,242,242,0.028) !important;
  transition: border-color 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  background: rgba(242,242,242,0.045) !important;
  border-color: rgba(255,0,40,0.52) !important;
  box-shadow: 0 0 0 4px rgba(255,0,40,0.075);
}
html[data-theme="light"] .field input,
html[data-theme="light"] .field textarea,
html[data-theme="light"] .field select {
  background: rgba(255,255,255,0.36) !important;
  color: #0A0A0A !important;
  border-color: rgba(10,10,10,0.12) !important;
}
html[data-theme="light"] .field input:focus,
html[data-theme="light"] .field textarea:focus,
html[data-theme="light"] .field select:focus {
  background: rgba(255,255,255,0.54) !important;
  border-color: rgba(255,0,40,0.45) !important;
}

/* FAQ glass panel: clean padding, no white rectangle look */
.faq {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(242,242,242,0.035), rgba(242,242,242,0.012));
}
.faq details {
  border-bottom: 1px solid var(--line) !important;
  padding: 24px 28px !important;
  background: transparent !important;
}
.faq details:last-child { border-bottom: none !important; }
html[data-theme="light"] .faq summary { color: #0A0A0A !important; }
html[data-theme="light"] .faq .ans { color: rgba(10,10,10,0.66) !important; }

/* Pull quotes/taglines readable in both modes */
.pull-quote p { color: rgba(242,242,242,0.94) !important; }
html[data-theme="light"] .pull-quote p { color: rgba(10,10,10,0.74) !important; }
html[data-theme="light"] .eyebrow,
html[data-theme="light"] .eyebrow-light,
html[data-theme="light"] .tiny { color: rgba(255,0,40,0.86) !important; }

/* Active roster brand list as premium chips instead of Word-doc paragraphs */
.roster-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  line-height: 1.2 !important;
}
.roster-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(242,242,242,0.026);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease);
}
.roster-chip::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px rgba(255,0,40,0.45);
}
.roster-chip:hover {
  transform: translateY(-2px);
  color: var(--off-white);
  border-color: rgba(255,0,40,0.34);
  background: linear-gradient(135deg, rgba(255,0,40,0.10), rgba(38,0,255,0.07));
}
html[data-theme="light"] .roster-chip {
  background: rgba(255,255,255,0.30);
  color: rgba(10,10,10,0.70);
  border-color: rgba(10,10,10,0.11);
}
html[data-theme="light"] .roster-chip:hover { color: #0A0A0A; }

/* Footer wordmark: stroke + soft neon life, less heavy block feel */
.footer-mark {
  color: rgba(242,242,242,0.018) !important;
  -webkit-text-stroke: 1.4px rgba(242,242,242,0.34);
  text-stroke: 1.4px rgba(242,242,242,0.34);
  text-shadow: 0 0 18px rgba(255,0,40,0.08), 0 0 34px rgba(38,0,255,0.08);
  animation: tz-footer-neon 6.5s ease-in-out infinite alternate;
}
@keyframes tz-footer-neon {
  0% { -webkit-text-stroke-color: rgba(242,242,242,0.24); text-shadow: 0 0 14px rgba(255,0,40,0.06), 0 0 28px rgba(38,0,255,0.05); }
  48% { -webkit-text-stroke-color: rgba(255,0,40,0.30); text-shadow: 0 0 22px rgba(255,0,40,0.16), 0 0 36px rgba(38,0,255,0.08); }
  100% { -webkit-text-stroke-color: rgba(38,0,255,0.30); text-shadow: 0 0 20px rgba(38,0,255,0.16), 0 0 38px rgba(255,0,40,0.08); }
}
html[data-theme="light"] .site-footer {
  background: rgba(246,245,240,0.66) !important;
  color: #0A0A0A !important;
}
html[data-theme="light"] .footer-mark {
  color: rgba(10,10,10,0.014) !important;
  -webkit-text-stroke: 1.4px rgba(10,10,10,0.26);
  text-stroke: 1.4px rgba(10,10,10,0.26);
}
html[data-theme="light"] .footer-col a { color: rgba(10,10,10,0.78) !important; }
html[data-theme="light"] .footer-col a:hover { color: var(--red) !important; }

/* Reduce hard hero blobs; keep refined animated ambient pulses */
.hero-glow {
  opacity: 0.28 !important;
  filter: blur(110px) saturate(0.92) !important;
  animation: tz-soft-ambient-pulse 7.5s ease-in-out infinite alternate;
}
.hero-glow.blue { animation-delay: -2s; }
@keyframes tz-soft-ambient-pulse {
  0% { transform: translate3d(0,0,0) scale(0.84); opacity: 0.16; }
  100% { transform: translate3d(0,-8px,0) scale(1.06); opacity: 0.30; }
}
html[data-theme="light"] .hero-glow { opacity: 0.16 !important; }

@media (prefers-reduced-motion: reduce) {
  .footer-mark,
  .hero-glow { animation: none !important; }
}
/* ===== END TEZVIK FINAL CONSISTENCY PASS ===== */

/* ===== TEZVIK PREMIUM INTRO + FOOTER SIGNATURE ===== */
.tz-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #06020F;
  color: #F2F2F2;
  overflow: hidden;
  pointer-events: all;
  opacity: 1;
  visibility: visible;
  transition: opacity 720ms var(--ease), visibility 720ms var(--ease), transform 720ms var(--ease);
}
.tz-loader::before,
.tz-loader::after {
  content: '';
  position: absolute;
  width: min(64vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.34;
  transform: scale(0.58);
  animation: tz-loader-pulse 1350ms var(--ease) forwards;
}
.tz-loader::before {
  background: radial-gradient(circle, rgba(255,0,40,0.48), rgba(255,0,40,0.08) 48%, transparent 70%);
  left: -18vw;
  bottom: -22vw;
}
.tz-loader::after {
  background: radial-gradient(circle, rgba(38,0,255,0.54), rgba(38,0,255,0.10) 46%, transparent 70%);
  right: -20vw;
  top: -22vw;
  animation-delay: 120ms;
}
.tz-loader-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242,242,242,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,242,242,0.045) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(ellipse at center, black 22%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 22%, transparent 72%);
  opacity: 0.62;
  animation: tz-loader-grid 1600ms var(--ease) forwards;
}
.tz-loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: translateY(14px) scale(0.98);
  opacity: 0;
  animation: tz-loader-content-in 720ms var(--ease) 120ms forwards;
}
.tz-loader-word {
  font-size: clamp(34px, 6vw, 86px);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.055em;
  color: #F2F2F2;
  text-shadow: 0 18px 60px rgba(0,0,0,0.36);
}
.tz-loader-line {
  width: min(250px, 58vw);
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(242,242,242,0.10);
}
.tz-loader-line span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--blue));
  box-shadow: 0 0 18px rgba(255,0,40,0.36), 0 0 22px rgba(38,0,255,0.26);
  animation: tz-loader-scan 950ms var(--ease) 260ms infinite;
}
.tz-loader-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(242,242,242,0.60);
  transform: translateY(8px);
  opacity: 0;
  animation: tz-loader-tag-in 620ms var(--ease) 440ms forwards;
}
html.tz-loaded .tz-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.012);
}
@keyframes tz-loader-content-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes tz-loader-tag-in {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes tz-loader-scan {
  0% { transform: translateX(-105%); }
  100% { transform: translateX(250%); }
}
@keyframes tz-loader-pulse {
  0% { transform: scale(0.55); opacity: 0; }
  48% { opacity: 0.35; }
  100% { transform: scale(1.05); opacity: 0.18; }
}
@keyframes tz-loader-grid {
  0% { transform: scale(1.08); opacity: 0; }
  100% { transform: scale(1); opacity: 0.62; }
}

/* New footer: clean signature instead of weak outline wordmark */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: clamp(44px, 6vw, 92px);
}
.site-footer::before {
  content: 'Bold Moves Only';
  position: absolute;
  z-index: -1;
  left: 50%;
  right: auto;
  bottom: -0.16em;
  top: auto;
  width: 100vw;
  transform: translateX(-50%);
  font-weight: 900;
  letter-spacing: -0.085em;
  line-height: 0.72;
  font-size: clamp(64px, 13.6vw, 246px);
  color: rgba(242,242,242,0.040);
  white-space: nowrap;
  text-align: center;
  pointer-events: none;
}
.site-footer::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,0,40,0.0), rgba(255,0,40,0.88), rgba(38,0,255,0.88), rgba(38,0,255,0.0), transparent);
  background-size: 220% 100%;
  animation: tz-footer-sweep 5.6s var(--ease) infinite;
  opacity: 0.86;
}
.footer-mark {
  color: var(--off-white) !important;
  -webkit-text-stroke: 0 transparent !important;
  text-stroke: 0 transparent !important;
  text-shadow: none !important;
  animation: none !important;
  font-size: clamp(28px, 4vw, 54px) !important;
  line-height: 1 !important;
  letter-spacing: -0.05em !important;
  margin-bottom: 20px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 14px;
}
.footer-mark::after {
  content: '';
  width: clamp(34px, 4vw, 58px);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  box-shadow: 0 0 16px rgba(255,0,40,0.24), 0 0 18px rgba(38,0,255,0.18);
}
.footer-divider {
  width: 100% !important;
  max-width: 100% !important;
  height: 1px !important;
  margin-bottom: 42px !important;
  background: linear-gradient(90deg, rgba(255,0,40,0.70), rgba(38,0,255,0.70), transparent) !important;
  opacity: 0.42;
}
html[data-theme="light"] .site-footer::before {
  color: rgba(10,10,10,0.045);
}
html[data-theme="light"] .footer-mark {
  color: #0A0A0A !important;
}
html[data-theme="light"] .site-footer::after {
  opacity: 0.72;
}
@keyframes tz-footer-sweep {
  0% { background-position: 130% 0; opacity: 0.46; }
  50% { opacity: 0.92; }
  100% { background-position: -130% 0; opacity: 0.46; }
}

@media (max-width: 680px) {
  .site-footer::before {
    font-size: clamp(48px, 17vw, 92px);
    white-space: nowrap;
    width: 104vw;
    bottom: -0.11em;
  }
  .footer-mark { font-size: 32px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .tz-loader,
  .tz-loader::before,
  .tz-loader::after,
  .tz-loader-bg,
  .tz-loader-content,
  .tz-loader-line span,
  .tz-loader-tag,
  .site-footer::after { animation: none !important; }
}
/* ===== END TEZVIK PREMIUM INTRO + FOOTER SIGNATURE ===== */


/* Premium hero motion — lightweight, abstract, no external 3D */
.hero-premium-motion {
  isolation: isolate;
}
.hero-premium-motion .hero-content {
  z-index: 4;
}
.hero-luxury-field {
  position: absolute;
  top: clamp(92px, 11vw, 150px);
  right: clamp(-160px, -6vw, -60px);
  width: min(58vw, 820px);
  height: min(58vw, 820px);
  min-width: 520px;
  min-height: 520px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.68;
  mix-blend-mode: screen;
  transform: translateZ(0);
}
.hero-luxury-field::before,
.hero-luxury-field::after {
  content: '';
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--off-white) 18%, transparent);
  background:
    radial-gradient(circle at 36% 32%, color-mix(in srgb, var(--blue) 36%, transparent) 0 4%, transparent 22%),
    radial-gradient(circle at 65% 68%, color-mix(in srgb, var(--red) 34%, transparent) 0 5%, transparent 24%),
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--bg) 0%, transparent) 0 42%, transparent 72%);
  filter: blur(0.2px);
  animation: tz-field-rotate 26s linear infinite;
}
.hero-luxury-field::after {
  inset: 25%;
  border-color: color-mix(in srgb, var(--red) 18%, transparent);
  animation-duration: 34s;
  animation-direction: reverse;
  opacity: 0.72;
}
.field-line {
  position: absolute;
  left: 10%;
  top: 50%;
  width: 82%;
  height: 1px;
  transform-origin: center;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--blue) 58%, transparent), color-mix(in srgb, var(--red) 52%, transparent), transparent);
  filter: blur(0.2px);
  opacity: 0.50;
  animation: tz-field-line 7.5s var(--ease) infinite;
}
.field-line.line-b {
  transform: rotate(90deg);
  animation-delay: -2.5s;
  opacity: 0.35;
}
.field-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20%;
  height: 20%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--red) 18%, transparent), transparent 70%);
  box-shadow: 0 0 68px color-mix(in srgb, var(--red) 32%, transparent);
  animation: tz-field-pulse 4.8s var(--ease) infinite;
}
.field-pulse.pulse-b {
  background: radial-gradient(circle, color-mix(in srgb, var(--blue) 20%, transparent), transparent 70%);
  box-shadow: 0 0 76px color-mix(in srgb, var(--blue) 34%, transparent);
  animation-delay: -2.4s;
}
.field-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11%;
  height: 11%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, rgba(255,255,255,0.50), color-mix(in srgb, var(--red) 32%, transparent) 40%, transparent 72%);
  filter: blur(0.4px);
  box-shadow:
    0 0 42px color-mix(in srgb, var(--red) 32%, transparent),
    0 0 80px color-mix(in srgb, var(--blue) 28%, transparent);
  animation: tz-field-core 3.8s var(--ease) infinite;
}
.hero-premium-motion .hero-orb {
  opacity: 0.12;
}
html[data-theme="light"] .hero-luxury-field {
  opacity: 0.46;
  mix-blend-mode: multiply;
}
html[data-theme="light"] .hero-luxury-field::before,
html[data-theme="light"] .hero-luxury-field::after {
  border-color: color-mix(in srgb, var(--text) 12%, transparent);
}
@keyframes tz-field-rotate {
  0% { transform: rotate(0deg) scale(0.94); }
  50% { transform: rotate(180deg) scale(1.02); }
  100% { transform: rotate(360deg) scale(0.94); }
}
@keyframes tz-field-line {
  0%, 100% { opacity: 0.20; transform: rotate(0deg) scaleX(0.72); }
  45% { opacity: 0.58; transform: rotate(18deg) scaleX(1); }
  70% { opacity: 0.32; transform: rotate(-10deg) scaleX(0.84); }
}
@keyframes tz-field-pulse {
  0% { transform: translate(-50%, -50%) scale(0.24); opacity: 0; }
  24% { opacity: 0.72; }
  100% { transform: translate(-50%, -50%) scale(3.2); opacity: 0; }
}
@keyframes tz-field-core {
  0%, 100% { transform: translate(-50%, -50%) scale(0.88); opacity: 0.72; }
  50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.95; }
}
@media (max-width: 1020px) {
  .hero-luxury-field {
    right: -250px;
    opacity: 0.34;
  }
}
@media (max-width: 680px) {
  .hero-luxury-field {
    display: none;
  }
  .hero-premium-motion .hero-orb { opacity: 0.24; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-luxury-field,
  .field-line,
  .field-pulse,
  .field-core,
  .hero-luxury-field::before,
  .hero-luxury-field::after { animation: none !important; }
}

/* ===== TEZVIK HERO WORLD GLOBE — premium canvas network, no fake 3D ===== */
.hero-premium-motion .hero-orb-layer,
.hero-premium-motion .hero-luxury-field {
  display: none !important;
}

.hero-world-globe {
  --globe-scale: 0.58;
  --globe-opacity: 0.62;
  --globe-brightness: 0.92;
  position: absolute;
  right: clamp(-72px, 4vw, 92px);
  top: 51%;
  width: clamp(280px, 39vw, 620px);
  height: clamp(280px, 39vw, 620px);
  z-index: 2;
  pointer-events: auto;
  transform: translate3d(0, -50%, 0) scale(var(--globe-scale));
  transform-origin: 50% 50%;
  opacity: var(--globe-opacity);
  filter: saturate(1.05) brightness(var(--globe-brightness));
  transition:
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 520ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 520ms cubic-bezier(0.16, 1, 0.3, 1);
  mix-blend-mode: screen;
  contain: layout paint;
}
.hero-world-globe::before,
.hero-world-globe::after {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  pointer-events: none;
}
.hero-world-globe::before {
  background:
    radial-gradient(circle at 42% 36%, color-mix(in srgb, var(--blue) 22%, transparent), transparent 42%),
    radial-gradient(circle at 66% 70%, color-mix(in srgb, var(--red) 18%, transparent), transparent 46%),
    radial-gradient(circle, color-mix(in srgb, var(--off-white) 7%, transparent), transparent 63%);
  filter: blur(18px);
  opacity: 0.84;
  animation: tz-globe-aura 7.5s ease-in-out infinite alternate;
}
.hero-world-globe::after {
  inset: 7%;
  border: 1px solid color-mix(in srgb, var(--off-white) 12%, transparent);
  box-shadow:
    0 0 42px color-mix(in srgb, var(--blue) 13%, transparent),
    inset 0 0 38px color-mix(in srgb, var(--red) 10%, transparent);
  opacity: 0.58;
}
.world-globe-canvas {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}
.hero-world-globe.is-near {
  --globe-opacity: 0.96;
  --globe-brightness: 1.14;
}
html[data-theme="light"] .hero-world-globe {
  mix-blend-mode: multiply;
  --globe-opacity: 0.56;
  --globe-brightness: 1.02;
}
html[data-theme="light"] .hero-world-globe.is-near {
  --globe-opacity: 0.90;
  --globe-brightness: 1.08;
}
html[data-theme="light"] .hero-world-globe::after {
  border-color: color-mix(in srgb, var(--text) 13%, transparent);
  box-shadow:
    0 0 36px color-mix(in srgb, var(--blue) 11%, transparent),
    inset 0 0 34px color-mix(in srgb, var(--red) 9%, transparent);
}
@keyframes tz-globe-aura {
  0% { transform: scale(0.90); opacity: 0.45; }
  100% { transform: scale(1.08); opacity: 0.85; }
}
@media (max-width: 1080px) {
  .hero-world-globe {
    right: clamp(-150px, -12vw, -88px);
    --globe-opacity: 0.46;
  }
}
@media (max-width: 760px) {
  .hero-world-globe {
    right: -42%;
    top: 38%;
    width: 360px;
    height: 360px;
    --globe-scale: 0.45;
    --globe-opacity: 0.24;
    pointer-events: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-world-globe,
  .hero-world-globe::before { animation: none !important; transition: none !important; }
}
/* ===== END TEZVIK HERO WORLD GLOBE ===== */

/* ===== TEZVIK PAGE HEADER MOTION SYSTEM — Global Brand Command System ===== */
.hero.page-head {
  --hmx: 0px;
  --hmy: 0px;
  --h-intensity: 0;
  isolation: isolate;
}
.header-motion {
  position: absolute;
  top: 50%;
  right: clamp(24px, 6vw, 90px);
  width: clamp(270px, 34vw, 560px);
  aspect-ratio: 1;
  z-index: 1;
  pointer-events: none;
  transform: translate3d(var(--hmx), calc(-50% + var(--hmy)), 0);
  opacity: 0.72;
  filter: saturate(1.05);
  transition: transform 520ms var(--ease), opacity 420ms var(--ease), filter 420ms var(--ease);
  contain: paint;
}
.hero.page-head.is-header-active .header-motion {
  opacity: 0.95;
  filter: saturate(1.22) brightness(1.08);
}
.header-motion::before,
.header-motion::after,
.header-motion span,
.header-motion i,
.header-motion b,
.header-motion em {
  position: absolute;
  content: '';
  display: block;
  pointer-events: none;
  box-sizing: border-box;
}
.header-motion::before {
  inset: 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 45%, rgba(255, 0, 40, 0.22), transparent 34%),
    radial-gradient(circle at 62% 55%, rgba(38, 0, 255, 0.20), transparent 40%);
  filter: blur(30px);
  opacity: 0.74;
}
html[data-theme="light"] .header-motion { opacity: 0.58; mix-blend-mode: multiply; }
html[data-theme="light"] .hero.page-head.is-header-active .header-motion { opacity: 0.84; }

/* About: Agency DNA / Brand Orbit */
.header-orbit::after {
  inset: 20%;
  border-radius: 50%;
  border: 1px solid rgba(242, 242, 242, 0.16);
  box-shadow: 0 0 40px rgba(255, 0, 40, 0.08), inset 0 0 35px rgba(38, 0, 255, 0.06);
}
.header-orbit span {
  left: 50%; top: 50%;
  width: 72%; height: 34%;
  border: 1px solid rgba(242, 242, 242, 0.18);
  border-left-color: rgba(255, 0, 40, 0.46);
  border-right-color: rgba(38, 0, 255, 0.42);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  animation: tz-orbit-spin var(--d, 12s) linear infinite;
}
.header-orbit span:nth-child(1){ --r: 0deg; --d: 13s; }
.header-orbit span:nth-child(2){ --r: 60deg; --d: 16s; width: 84%; height: 38%; animation-direction: reverse; }
.header-orbit span:nth-child(3){ --r: 120deg; --d: 19s; width: 64%; height: 30%; }
.header-orbit span:nth-child(4){ --r: -28deg; --d: 22s; width: 48%; height: 22%; animation-direction: reverse; opacity: .75; }
.header-orbit i {
  left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 22px rgba(255, 0, 40, .8), 80px 42px 0 -2px rgba(38,0,255,.85), -72px -36px 0 -2px rgba(255,255,255,.72);
  transform: translate(-50%, -50%);
  animation: tz-node-pulse 2.2s ease-in-out infinite alternate;
}

/* Services: Marketing Radar */
.header-radar {
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(242,242,242,.13) 0 1px, transparent 1px 17%),
    radial-gradient(circle, rgba(255,0,40,.08), transparent 62%);
  -webkit-mask-image: radial-gradient(circle, black 0 68%, transparent 78%);
  mask-image: radial-gradient(circle, black 0 68%, transparent 78%);
}
.header-radar::after {
  inset: 5%; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(255,0,40,.08) 70%, rgba(38,0,255,.30) 82%, transparent 96%);
  animation: tz-radar-sweep 4.8s linear infinite;
}
.header-radar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 22px rgba(255,0,40,.75);
  animation: tz-node-pulse 1.8s ease-in-out infinite alternate;
}
.header-radar span:nth-child(1){ left: 63%; top: 31%; }
.header-radar span:nth-child(2){ left: 35%; top: 59%; background: var(--blue); box-shadow: 0 0 22px rgba(38,0,255,.75); animation-delay:.3s; }
.header-radar span:nth-child(3){ left: 72%; top: 68%; width: 6px; height: 6px; animation-delay:.7s; }
.header-radar i { left: 50%; top: 50%; width: 1px; height: 72%; background: linear-gradient(180deg, rgba(255,0,40,.55), transparent); transform-origin: 50% 0; animation: tz-radar-hand 4.8s linear infinite; }
.header-radar b, .header-radar em { inset: 18%; border-radius: 50%; border: 1px solid rgba(242,242,242,.10); }
.header-radar em { inset: 34%; }

/* Work: Campaign Grid / Portfolio Mosaic */
.header-mosaic {
  transform-style: preserve-3d;
  perspective: 900px;
}
.header-mosaic::after {
  inset: 14%;
  background-image:
    linear-gradient(rgba(242,242,242,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,242,242,.10) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: rotateX(58deg) rotateZ(-19deg);
  opacity: .55;
  animation: tz-grid-drift 8s ease-in-out infinite alternate;
}
.header-mosaic span {
  border: 1px solid rgba(242,242,242,.18);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(242,242,242,.13), rgba(242,242,242,.035));
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0,0,0,.18), inset 0 0 0 1px rgba(255,255,255,.035);
  animation: tz-card-float var(--d, 7s) ease-in-out infinite alternate;
}
.header-mosaic span:nth-child(1){ width: 35%; height: 30%; left: 14%; top: 14%; --d:7s; }
.header-mosaic span:nth-child(2){ width: 25%; height: 41%; left: 52%; top: 10%; --d:8.2s; animation-delay:-1.2s; }
.header-mosaic span:nth-child(3){ width: 38%; height: 24%; left: 25%; top: 53%; --d:7.6s; animation-delay:-.8s; }
.header-mosaic span:nth-child(4){ width: 20%; height: 25%; left: 68%; top: 57%; --d:8.8s; animation-delay:-2s; }
.header-mosaic span:nth-child(5){ width: 18%; height: 19%; left: 9%; top: 56%; --d:6.8s; animation-delay:-1.6s; }
.header-mosaic span:nth-child(6){ width: 24%; height: 16%; left: 45%; top: 82%; --d:9s; animation-delay:-2.4s; }
.header-mosaic i { left: 12%; right: 10%; top: 48%; height: 2px; background: linear-gradient(90deg, transparent, rgba(255,0,40,.72), rgba(38,0,255,.68), transparent); filter: blur(.5px); animation: tz-light-sweep 3.6s ease-in-out infinite; }

/* Clients: Brand Constellation */
.header-constellation::after {
  inset: 12%;
  background:
    linear-gradient(27deg, transparent 19%, rgba(242,242,242,.18) 19.3%, transparent 19.8% 39%, rgba(255,0,40,.28) 39.3%, transparent 39.8%),
    linear-gradient(139deg, transparent 22%, rgba(38,0,255,.22) 22.3%, transparent 22.8% 68%, rgba(242,242,242,.15) 68.3%, transparent 68.8%);
  opacity: .62;
  animation: tz-constellation-breathe 5.2s ease-in-out infinite alternate;
}
.header-constellation span {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(242,242,242,.86);
  box-shadow: 0 0 18px rgba(242,242,242,.42);
  animation: tz-node-pulse var(--d,2s) ease-in-out infinite alternate;
}
.header-constellation span:nth-child(1){ left: 18%; top: 31%; --d:2.1s; background:var(--red); box-shadow:0 0 22px rgba(255,0,40,.7); }
.header-constellation span:nth-child(2){ left: 38%; top: 19%; --d:2.7s; }
.header-constellation span:nth-child(3){ left: 63%; top: 31%; --d:2.2s; background:var(--blue); box-shadow:0 0 22px rgba(38,0,255,.7); }
.header-constellation span:nth-child(4){ left: 79%; top: 52%; --d:2.9s; }
.header-constellation span:nth-child(5){ left: 47%; top: 58%; --d:2.4s; background:var(--red); box-shadow:0 0 22px rgba(255,0,40,.65); }
.header-constellation span:nth-child(6){ left: 25%; top: 72%; --d:2.6s; }
.header-constellation span:nth-child(7){ left: 68%; top: 78%; --d:2.3s; background:var(--blue); box-shadow:0 0 22px rgba(38,0,255,.65); }
.header-constellation i { inset: 18%; border-radius: 50%; border:1px solid rgba(242,242,242,.08); animation: tz-orbit-spin 32s linear infinite; }

/* Contact: Signal Beacon */
.header-beacon::after {
  left: 50%; top: 50%; width: 14px; height: 14px; border-radius: 50%;
  background: var(--red); transform: translate(-50%, -50%);
  box-shadow: 0 0 30px rgba(255,0,40,.9), 0 0 80px rgba(38,0,255,.42);
}
.header-beacon span {
  left: 50%; top: 50%; width: 18%; height: 18%; border-radius: 50%;
  border: 1px solid rgba(255,0,40,.42);
  transform: translate(-50%, -50%) scale(.4);
  opacity: 0;
  animation: tz-beacon-pulse 3.8s ease-out infinite;
}
.header-beacon span:nth-child(2){ border-color: rgba(38,0,255,.44); animation-delay:.8s; }
.header-beacon span:nth-child(3){ animation-delay:1.6s; }
.header-beacon span:nth-child(4){ border-color: rgba(242,242,242,.20); animation-delay:2.4s; }
.header-beacon i { left: 50%; top: 10%; width: 1px; height: 80%; background: linear-gradient(180deg, transparent, rgba(255,0,40,.45), rgba(38,0,255,.38), transparent); transform: translateX(-50%) rotate(35deg); animation: tz-signal-tilt 5.8s ease-in-out infinite alternate; }

html[data-theme="light"] .header-motion span,
html[data-theme="light"] .header-motion::after { border-color: rgba(10,10,10,.14); }
html[data-theme="light"] .header-mosaic span { background: linear-gradient(135deg, rgba(255,255,255,.40), rgba(255,255,255,.11)); border-color: rgba(10,10,10,.12); box-shadow: 0 20px 55px rgba(10,10,10,.08); }
html[data-theme="light"] .header-mosaic::after { background-image: linear-gradient(rgba(10,10,10,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(10,10,10,.08) 1px, transparent 1px); }
html[data-theme="light"] .header-constellation span { background: rgba(10,10,10,.62); box-shadow: 0 0 16px rgba(10,10,10,.15); }
html[data-theme="light"] .header-constellation span:nth-child(1),
html[data-theme="light"] .header-constellation span:nth-child(5),
html[data-theme="light"] .header-beacon::after { background: var(--red); }
html[data-theme="light"] .header-constellation span:nth-child(3),
html[data-theme="light"] .header-constellation span:nth-child(7) { background: var(--blue); }

@keyframes tz-orbit-spin { to { transform: translate(-50%, -50%) rotate(calc(var(--r, 0deg) + 360deg)); } }
@keyframes tz-radar-sweep { to { transform: rotate(360deg); } }
@keyframes tz-radar-hand { to { transform: rotate(360deg); } }
@keyframes tz-node-pulse { from { transform: scale(.84); opacity:.58; } to { transform: scale(1.35); opacity:1; } }
@keyframes tz-grid-drift { from { transform: rotateX(58deg) rotateZ(-19deg) translateY(0); } to { transform: rotateX(58deg) rotateZ(-19deg) translateY(-24px); } }
@keyframes tz-card-float { from { transform: translate3d(0, 12px, 0) rotate(-2deg); } to { transform: translate3d(0, -14px, 0) rotate(2deg); } }
@keyframes tz-light-sweep { 0%,100% { transform: translateX(-18%) scaleX(.55); opacity:.15; } 45%,55% { transform: translateX(18%) scaleX(1); opacity:.9; } }
@keyframes tz-constellation-breathe { from { transform: scale(.96) rotate(-1deg); opacity:.42; } to { transform: scale(1.04) rotate(1deg); opacity:.78; } }
@keyframes tz-beacon-pulse { 0% { transform: translate(-50%, -50%) scale(.25); opacity:.75; } 72%,100% { transform: translate(-50%, -50%) scale(4.6); opacity:0; } }
@keyframes tz-signal-tilt { from { transform: translateX(-50%) rotate(26deg); opacity:.42; } to { transform: translateX(-50%) rotate(48deg); opacity:.86; } }

@media (max-width: 900px) {
  .header-motion { right: -90px; width: clamp(250px, 58vw, 430px); opacity: .34; }
  .hero.page-head.is-header-active .header-motion { opacity: .48; }
}
@media (max-width: 620px) {
  .header-motion { right: -150px; width: 360px; opacity: .18; }
}
@media (prefers-reduced-motion: reduce) {
  .header-motion,
  .header-motion::after,
  .header-motion span,
  .header-motion i,
  .header-motion b,
  .header-motion em { animation: none !important; transition: none !important; }
}
/* ===== END TEZVIK PAGE HEADER MOTION SYSTEM ===== */

/* ===== TEZVIK SOUND + TYPEWRITER + CENTERED GLOBE POLISH ===== */
.sound-toggle {
  width: 50px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(242, 242, 242, 0.055);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: var(--off-white);
  box-shadow: 0 10px 30px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
}
.sound-toggle::before {
  content: '';
  position: absolute;
  inset: -1px;
  opacity: 0;
  background: linear-gradient(110deg, rgba(255,0,40,.28), rgba(38,0,255,.28));
  transition: opacity 240ms var(--ease);
}
.sound-toggle:hover,
.sound-toggle.is-on {
  transform: translateY(-1px);
  border-color: rgba(255,0,40,.42);
  background: rgba(255,0,40,.08);
  box-shadow: 0 12px 34px rgba(255,0,40,.10), 0 0 22px rgba(38,0,255,.08), inset 0 1px 0 rgba(255,255,255,.08);
}
.sound-toggle.is-on::before { opacity: 1; }
.sound-toggle-bars {
  position: relative;
  z-index: 2;
  width: 21px;
  height: 14px;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
}
.sound-toggle-bars i {
  display: block;
  width: 3px;
  min-height: 4px;
  border-radius: 10px;
  background: currentColor;
  opacity: .72;
  transform-origin: bottom;
  transition: height 220ms var(--ease), opacity 220ms var(--ease), transform 220ms var(--ease);
}
.sound-toggle-bars i:nth-child(1) { height: 7px; }
.sound-toggle-bars i:nth-child(2) { height: 12px; }
.sound-toggle-bars i:nth-child(3) { height: 5px; }
.sound-toggle:not(.is-on) .sound-toggle-bars::after {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  top: 50%;
  height: 1.5px;
  border-radius: 99px;
  background: currentColor;
  transform: translateY(-50%) rotate(-28deg);
  opacity: .86;
}
.sound-toggle.is-on .sound-toggle-bars i {
  opacity: .98;
  animation: tz-sound-bars 700ms ease-in-out infinite alternate;
}
.sound-toggle.is-on .sound-toggle-bars i:nth-child(2) { animation-delay: -260ms; }
.sound-toggle.is-on .sound-toggle-bars i:nth-child(3) { animation-delay: -480ms; }
@keyframes tz-sound-bars {
  0% { transform: scaleY(.55); }
  100% { transform: scaleY(1.08); }
}
html[data-theme="light"] .sound-toggle {
  color: var(--text);
  background: rgba(255,255,255,.55);
  border-color: rgba(10,10,10,.12);
}
html[data-theme="light"] .sound-toggle.is-on,
html[data-theme="light"] .sound-toggle:hover {
  border-color: rgba(255,0,40,.35);
  background: rgba(255,255,255,.72);
}
@media(max-width: 760px){ .sound-toggle { width: 44px; height: 28px; } }

.line-inner.tz-typewriting,
.line-inner.tz-type-done {
  min-height: 1em;
  text-rendering: geometricPrecision;
}
.line-inner.tz-typewriting::after {
  content: '';
  display: inline-block;
  width: .055em;
  height: .74em;
  margin-left: .08em;
  transform: translateY(.07em);
  background: linear-gradient(180deg, var(--red), var(--blue));
  border-radius: 999px;
  animation: tz-type-caret 720ms steps(2, end) infinite;
}
@keyframes tz-type-caret { 0%, 42% { opacity: 1; } 43%, 100% { opacity: 0; } }

/* Keep the world globe visually centered inside its own orbit circle. */
.hero-world-globe {
  top: 50% !important;
  right: clamp(-34px, 5.8vw, 112px) !important;
  display: grid;
  place-items: center;
  overflow: visible;
}
.hero-world-globe::before,
.hero-world-globe::after {
  inset: 3% !important;
  transform-origin: 50% 50%;
}
.world-globe-canvas {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2;
  margin: auto;
}
.globe-label {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(242,242,242,.20);
  background: rgba(10,10,10,.24);
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  color: rgba(242,242,242,.88);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 12px 40px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.06);
  animation: tz-globe-label-float 4.8s ease-in-out infinite alternate;
}
.globe-label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--red);
  box-shadow: 0 0 18px rgba(255,0,40,.42);
}
.globe-label-branding::before,
.globe-label-ai::before { background: var(--blue); box-shadow: 0 0 18px rgba(38,0,255,.42); }
.globe-label-social { left: 9%; top: 38%; }
.globe-label-branding { right: -9%; top: 39%; animation-delay: -1s; }
.globe-label-paid { left: 6%; bottom: 30%; animation-delay: -1.8s; }
.globe-label-ai { right: -8%; bottom: 28%; animation-delay: -2.4s; }
.globe-label-web { left: 49%; bottom: 8%; transform: translateX(-50%); animation-delay: -3s; }
@keyframes tz-globe-label-float {
  0% { translate: 0 0; opacity: .72; }
  100% { translate: 0 -7px; opacity: .98; }
}
.hero-world-globe.is-near .globe-label {
  border-color: rgba(255,0,40,.28);
  background: rgba(10,10,10,.34);
  box-shadow: 0 14px 46px rgba(255,0,40,.10), 0 0 30px rgba(38,0,255,.08), inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-theme="light"] .globe-label {
  color: rgba(10,10,10,.76);
  background: rgba(255,255,255,.58);
  border-color: rgba(10,10,10,.12);
  box-shadow: 0 14px 40px rgba(10,10,10,.08), inset 0 1px 0 rgba(255,255,255,.68);
}
html[data-theme="light"] .hero-world-globe.is-near .globe-label { background: rgba(255,255,255,.76); }
@media(max-width: 1080px){
  .globe-label { display: none; }
  .hero-world-globe { right: clamp(-160px, -12vw, -90px) !important; }
}
@media(max-width: 760px){ .hero-world-globe { top: 38% !important; right: -42% !important; } }
@media (prefers-reduced-motion: reduce) {
  .sound-toggle.is-on .sound-toggle-bars i,
  .globe-label,
  .line-inner.tz-typewriting::after { animation: none !important; }
}
/* ===== END TEZVIK SOUND + TYPEWRITER + CENTERED GLOBE POLISH ===== */

/* ===== TEZVIK GLOBE LABEL SAFE AREA FIX =====
   Keeps the hero globe centered and prevents label text from being cut at viewport edges. */
.hero-world-globe {
  right: clamp(18px, 6vw, 132px) !important;
  width: clamp(300px, 36vw, 590px) !important;
  height: clamp(300px, 36vw, 590px) !important;
  overflow: visible !important;
  transform-origin: 50% 50% !important;
}
.world-globe-canvas {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
.globe-label {
  max-width: 150px;
  overflow: visible;
  text-overflow: clip;
  transform-origin: 50% 50%;
}
.globe-label-social { left: 3% !important; top: 38% !important; }
.globe-label-branding { right: 3% !important; top: 38% !important; }
.globe-label-paid { left: 2% !important; bottom: 31% !important; }
.globe-label-ai { right: 2% !important; bottom: 31% !important; }
.globe-label-web { left: 50% !important; bottom: 8% !important; transform: translateX(-50%) !important; }
.hero-world-globe.is-near .globe-label-social { transform: translateX(-4px); }
.hero-world-globe.is-near .globe-label-branding { transform: translateX(4px); }
.hero-world-globe.is-near .globe-label-paid { transform: translateX(-4px); }
.hero-world-globe.is-near .globe-label-ai { transform: translateX(4px); }
.hero-world-globe.is-near .globe-label-web { transform: translateX(-50%) translateY(4px) !important; }
@media (max-width: 1280px) {
  .hero-world-globe {
    right: clamp(-20px, 2vw, 44px) !important;
    width: clamp(290px, 34vw, 520px) !important;
    height: clamp(290px, 34vw, 520px) !important;
  }
  .globe-label { font-size: 10px; padding: 7px 10px; letter-spacing: .11em; }
  .globe-label-social { left: 5% !important; }
  .globe-label-branding { right: 5% !important; }
  .globe-label-paid { left: 4% !important; }
  .globe-label-ai { right: 4% !important; }
}
@media (max-width: 1080px) {
  .globe-label { display: none !important; }
  .hero-world-globe { right: clamp(-150px, -11vw, -80px) !important; }
}
/* ===== END TEZVIK GLOBE LABEL SAFE AREA FIX ===== */

/* ===== Behance portfolio import ===== */
.behance-portfolio { position: relative; overflow: hidden; }
.behance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  position: relative;
  z-index: 2;
}
.behance-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(242,242,242,0.055), rgba(242,242,242,0.018));
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
  transition: transform 420ms var(--ease), border-color 300ms var(--ease), box-shadow 420ms var(--ease), background 300ms var(--ease);
}
.behance-card a { display: block; height: 100%; }
.behance-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,0,40,0.46);
  box-shadow: 0 28px 80px rgba(0,0,0,0.34), 0 0 0 1px rgba(38,0,255,0.18) inset;
}
.behance-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(242,242,242,0.04);
}
.behance-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 700ms var(--ease), filter 520ms var(--ease);
}
.behance-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.0), rgba(10,10,10,0.38)),
    radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,0,40,0.22), transparent 34%),
    radial-gradient(circle at 76% 82%, rgba(38,0,255,0.18), transparent 40%);
  opacity: 0.72;
  transition: opacity 350ms var(--ease);
  pointer-events: none;
}
.behance-card:hover .behance-visual img { transform: scale(1.08); filter: saturate(1.14) contrast(1.04); }
.behance-card:hover .behance-visual::after { opacity: 0.96; }
.behance-hover {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(242,242,242,0.24);
  color: rgba(242,242,242,0.88);
  background: rgba(10,10,10,0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 320ms var(--ease), opacity 320ms var(--ease);
}
.behance-card:hover .behance-hover { transform: translateY(0); opacity: 1; }
.behance-meta { padding: clamp(18px, 2vw, 26px); }
.behance-meta .industry-tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
.behance-meta h3 {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 12px;
  color: var(--off-white);
  transition: font-weight 260ms var(--ease), letter-spacing 260ms var(--ease);
}
.behance-card:hover .behance-meta h3 { font-weight: 900; letter-spacing: -0.045em; }
.behance-meta p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}
html[data-theme="light"] .behance-card {
  background: rgba(255,255,255,0.46);
  border-color: rgba(10,10,10,0.10);
  box-shadow: 0 18px 50px rgba(10,10,10,0.08);
}
html[data-theme="light"] .behance-card:hover {
  border-color: rgba(255,0,40,0.34);
  box-shadow: 0 28px 70px rgba(10,10,10,0.13), 0 0 0 1px rgba(38,0,255,0.10) inset;
}
html[data-theme="light"] .behance-meta h3 { color: var(--black); }
html[data-theme="light"] .behance-meta p { color: rgba(10,10,10,0.68); }
@media (max-width: 1100px) { .behance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .behance-grid { grid-template-columns: 1fr; } }
/* ===== End Behance portfolio import ===== */


/* Internal case study pages */
.case-study-head .display { max-width: 980px; }
.case-back { border: 1px solid var(--line-strong); border-radius: var(--radius-pill); padding: 8px 14px; }
.case-study-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.case-study-cover,
.glass-panel,
.case-gallery-placeholder {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(242, 242, 242, 0.045);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,0.18);
}
.case-study-cover img { width: 100%; height: auto; display: block; }
.case-study-info { padding: clamp(24px, 3vw, 40px); }
.case-meta-list { margin-top: 28px; display: grid; gap: 14px; }
.case-meta-list div { padding-top: 14px; border-top: 1px solid var(--line); }
.case-meta-list span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted-soft); margin-bottom: 6px; }
.case-meta-list strong { font-size: 16px; color: var(--off-white); font-weight: 700; }
.case-gallery-placeholder { margin-top: clamp(40px, 6vw, 72px); padding: clamp(28px, 5vw, 64px); }
html[data-theme="light"] .case-study-cover,
html[data-theme="light"] .glass-panel,
html[data-theme="light"] .case-gallery-placeholder {
  background: rgba(255,255,255,0.34);
  border-color: rgba(10,10,10,0.10);
  box-shadow: 0 24px 70px rgba(10,10,10,0.08);
}
html[data-theme="light"] .case-meta-list strong { color: var(--black); }
@media (max-width: 920px) {
  .case-study-grid { grid-template-columns: 1fr; }
}


/* ===== TEZVIK FAST CURSOR MOVEMENT TRAIL ===== */
.tz-cursor-flow {
  position: fixed;
  left: 0;
  top: 0;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 1002;
  opacity: 0;
  mix-blend-mode: screen;
  background:
    radial-gradient(circle at 42% 42%, rgba(255,255,255,0.28), transparent 10%),
    radial-gradient(circle at 48% 50%, rgba(255,0,40,0.30), transparent 30%),
    radial-gradient(circle at 58% 58%, rgba(38,0,255,0.28), transparent 45%),
    radial-gradient(circle, rgba(255,255,255,0.05), transparent 66%);
  filter: blur(18px) saturate(1.35);
  transition: opacity 150ms var(--ease), width 220ms var(--ease), height 220ms var(--ease);
  will-change: transform, opacity;
}
html.tz-cursor-moving .tz-cursor-flow {
  opacity: 0.78;
  width: 190px;
  height: 190px;
}
html[data-theme="light"] .tz-cursor-flow {
  mix-blend-mode: multiply;
  opacity: 0;
  filter: blur(16px) saturate(1.18);
  background:
    radial-gradient(circle at 42% 42%, rgba(255,255,255,0.12), transparent 8%),
    radial-gradient(circle at 48% 50%, rgba(255,0,40,0.22), transparent 32%),
    radial-gradient(circle at 58% 58%, rgba(38,0,255,0.20), transparent 48%),
    radial-gradient(circle, rgba(10,10,10,0.03), transparent 66%);
}
html[data-theme="light"].tz-cursor-moving .tz-cursor-flow { opacity: 0.52; }
.tz-cursor-spark {
  position: fixed;
  left: var(--x);
  top: var(--y);
  width: var(--s, 10px);
  height: var(--s, 10px);
  border-radius: 999px;
  pointer-events: none;
  z-index: 1002;
  transform: translate(-50%, -50%);
  opacity: 0;
  mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255,255,255,0.76) 0%, rgba(255,0,40,0.44) 32%, rgba(38,0,255,0.28) 62%, transparent 78%);
  filter: blur(5px) saturate(1.25);
  animation: tz-cursor-spark-out 620ms cubic-bezier(.16,1,.3,1) forwards;
}
html[data-theme="light"] .tz-cursor-spark {
  mix-blend-mode: multiply;
  background: radial-gradient(circle, rgba(255,0,40,0.34) 0%, rgba(38,0,255,0.24) 60%, transparent 78%);
  filter: blur(4px) saturate(1.1);
}
@keyframes tz-cursor-spark-out {
  0% { opacity: 0.88; transform: translate(-50%, -50%) scale(0.55); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--sx, 0px)), calc(-50% + var(--sy, 0px))) scale(2.8); }
}
@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  .tz-cursor-flow, .tz-cursor-spark { display: none !important; }
}
/* ===== END TEZVIK FAST CURSOR MOVEMENT TRAIL ===== */


/* ===== TEZVIK LOCAL PORTFOLIO SYSTEM ===== */
.local-portfolio .section-head { max-width: 980px; }
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: -22px 0 34px;
  position: relative;
  z-index: 4;
}
.filter-tab {
  padding: 11px 17px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(242,242,242,0.045);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color 250ms var(--ease), border-color 250ms var(--ease), background 250ms var(--ease), transform 250ms var(--ease), box-shadow 250ms var(--ease);
}
.filter-tab:hover,
.filter-tab.active {
  color: var(--off-white);
  border-color: rgba(255,0,40,.42);
  background: linear-gradient(135deg, rgba(255,0,40,.16), rgba(38,0,255,.12));
  box-shadow: 0 18px 52px rgba(0,0,0,.22), 0 0 0 1px rgba(255,255,255,.05) inset;
  transform: translateY(-2px);
}
html[data-theme="light"] .filter-tab { color: rgba(10,10,10,.62); background: rgba(255,255,255,.46); border-color: rgba(10,10,10,.10); }
html[data-theme="light"] .filter-tab:hover,
html[data-theme="light"] .filter-tab.active { color: var(--black); background: linear-gradient(135deg, rgba(255,0,40,.12), rgba(38,0,255,.08), rgba(255,255,255,.56)); }
.portfolio-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0 0 clamp(28px, 4vw, 48px);
  overflow: hidden;
}
.portfolio-stats div { padding: clamp(18px, 3vw, 30px); background: rgba(242,242,242,.025); }
.portfolio-stats strong { display: block; font-size: clamp(34px, 5vw, 64px); line-height: .9; letter-spacing: -.05em; font-weight: 900; color: var(--off-white); }
.portfolio-stats span { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; }
html[data-theme="light"] .portfolio-stats strong { color: var(--black); }
.local-work-grid { align-items: stretch; }
.portfolio-cover .asset-count {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  color: rgba(242,242,242,.88);
  background: rgba(10,10,10,.36);
  border: 1px solid rgba(242,242,242,.20);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.case-narrative {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin: clamp(42px, 6vw, 72px) 0;
}
.case-copy-card { padding: clamp(24px, 3.4vw, 44px); }
.case-gallery-section { margin-top: clamp(60px, 8vw, 110px); }
.case-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 2vw, 24px);
}
.case-gallery-item {
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(242,242,242,.04);
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
  transition: transform 420ms var(--ease), border-color 320ms var(--ease), box-shadow 420ms var(--ease);
}
.case-gallery-item.is-wide { grid-column: span 8; }
.case-gallery-item.is-tall { grid-row: span 2; }
.case-gallery-item:hover { transform: translateY(-6px); border-color: rgba(255,0,40,.35); box-shadow: 0 32px 88px rgba(0,0,0,.28); }
.case-gallery-item img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 700ms var(--ease), filter 420ms var(--ease); }
.case-gallery-item:hover img { transform: scale(1.035); filter: saturate(1.08) contrast(1.04); }
.case-gallery-item figcaption {
  position: absolute;
  right: 14px;
  top: 14px;
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  color: rgba(242,242,242,.82);
  background: rgba(10,10,10,.36);
  border: 1px solid rgba(242,242,242,.18);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.case-next-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: clamp(46px, 7vw, 84px);
  padding-top: clamp(30px, 4vw, 50px);
  border-top: 1px solid var(--line);
}
html[data-theme="light"] .case-gallery-item { background: rgba(255,255,255,.44); border-color: rgba(10,10,10,.10); box-shadow: 0 24px 70px rgba(10,10,10,.08); }
@media (max-width: 1100px) { .case-gallery-item, .case-gallery-item.is-wide { grid-column: span 6; } }
@media (max-width: 760px) {
  .portfolio-stats { grid-template-columns: 1fr; }
  .case-narrative { grid-template-columns: 1fr; }
  .case-gallery-item, .case-gallery-item.is-wide { grid-column: span 12; }
  .case-next-row { flex-direction: column; align-items: stretch; }
  .portfolio-filters { gap: 8px; }
  .filter-tab { font-size: 10px; padding: 9px 12px; }
}
/* ===== END TEZVIK LOCAL PORTFOLIO SYSTEM ===== */

/* ===== TEZVIK WORK PAGE VISIBILITY SAFETY FIX =====
   Keeps portfolio/case-study content visible even if scroll reveal JS is delayed or blocked by heavy local assets. */
.local-portfolio,
.local-portfolio[data-reveal],
.local-portfolio [data-reveal],
.local-portfolio .section-head,
.local-portfolio .portfolio-filters,
.local-portfolio .portfolio-stats,
.local-portfolio .behance-grid,
.local-portfolio .behance-grid > *,
.local-work-grid,
.local-work-grid > *,
.case-study-body [data-reveal],
.case-study-body .case-study-grid,
.case-study-body .case-narrative,
.case-study-body .case-gallery-section,
.case-study-body .case-next-row {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.local-portfolio.section {
  padding-top: clamp(64px, 8vw, 112px);
}

.local-work-grid {
  display: grid !important;
  min-height: 1px;
}

.case-study-head .line-inner,
.header-work .line-inner {
  transform: translateY(0) !important;
}

/* If the browser disables JS, the Work page still remains usable. */
html:not(.tz-loaded) .local-portfolio,
html:not(.tz-loaded) .local-work-grid > *,
html:not(.tz-loaded) .case-study-body [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}
/* ===== END TEZVIK WORK PAGE VISIBILITY SAFETY FIX ===== */


/* ===== TEZVIK FINAL WORK PAGE SHARPNESS + NAV SUBMENU FIX ===== */
/* The Our Work cards must never stay blurred if scroll reveal is delayed. */
.local-portfolio,
.local-portfolio *,
.case-study-body,
.case-study-body * {
  filter: none !important;
}
.local-portfolio .tz-scroll-item,
.local-portfolio .tz-scroll-child,
.local-portfolio [data-reveal],
.local-portfolio [data-reveal-stagger],
.case-study-body .tz-scroll-item,
.case-study-body .tz-scroll-child,
.case-study-body [data-reveal],
.case-study-body [data-reveal-stagger] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  filter: none !important;
}

.nav-links .has-submenu { position: relative; }
.nav-links .has-submenu > a { display: inline-flex; align-items: center; gap: 7px; }
.nav-links .has-submenu > a::after {
  content: '';
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: .55;
  transition: transform 220ms var(--ease), opacity 220ms var(--ease);
}
.nav-links .has-submenu:hover > a::after,
.nav-links .has-submenu:focus-within > a::after {
  transform: rotate(225deg) translateY(-1px);
  opacity: 1;
}
.nav-submenu {
  position: absolute;
  left: 50%;
  top: calc(100% + 14px);
  transform: translateX(-50%) translateY(10px) scale(.98);
  min-width: 238px;
  padding: 10px;
  border-radius: 22px;
  border: 1px solid rgba(242,242,242,.13);
  background: rgba(10,10,10,.78);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  box-shadow: 0 28px 90px rgba(0,0,0,.34), 0 0 0 1px rgba(255,0,40,.06) inset;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 220ms var(--ease);
}
.nav-submenu::before {
  content: '';
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), var(--blue), transparent);
  opacity: .85;
}
.nav-links .has-submenu:hover .nav-submenu,
.nav-links .has-submenu:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}
.nav-submenu a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px !important;
  border-radius: 14px;
  color: rgba(242,242,242,.68) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
  text-transform: none !important;
  transition: color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease) !important;
}
.nav-submenu a::after { display: none !important; }
.nav-submenu a:hover,
.nav-submenu a.active {
  color: var(--off-white) !important;
  background: linear-gradient(135deg, rgba(255,0,40,.16), rgba(38,0,255,.10));
  transform: translateX(3px);
}
.nav-submenu a span {
  display: inline-flex;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 14px rgba(255,0,40,.48);
  opacity: 0;
}
.nav-submenu a.active span,
.nav-submenu a:hover span { opacity: 1; }
html[data-theme="light"] .nav-submenu {
  background: rgba(255,255,255,.78);
  border-color: rgba(10,10,10,.10);
  box-shadow: 0 24px 80px rgba(10,10,10,.12), 0 0 0 1px rgba(255,0,40,.04) inset;
}
html[data-theme="light"] .nav-submenu a { color: rgba(10,10,10,.62) !important; }
html[data-theme="light"] .nav-submenu a:hover,
html[data-theme="light"] .nav-submenu a.active { color: var(--black) !important; }
.mobile-submenu {
  margin: 6px 0 0 18px;
  display: grid;
  gap: 8px;
}
.mobile-submenu a {
  font-size: clamp(15px, 4vw, 20px) !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
  opacity: .70 !important;
}
@media (max-width: 980px) {
  .nav-submenu { display: none; }
}
/* ===== END TEZVIK FINAL WORK PAGE SHARPNESS + NAV SUBMENU FIX ===== */
