:root {
  color-scheme: dark;
  --bg: #000;
  --panel: #111;
  --panel-2: #151515;
  --panel-3: #1f1f1f;
  --text: #f5f3ff;
  --muted: rgba(255, 255, 255, 0.58);
  --soft: rgba(255, 255, 255, 0.38);
  --line: rgba(255, 255, 255, 0.095);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #501078;
  --accent-rgb: 80, 16, 120;
  --accent-2: #9a4bc4;
  --accent-2-rgb: 154, 75, 196;
  --cyan: #77dddd;
  --orange: #ff8866;
  --radius: 6px;
  --max: 1100px;
  --framer-ease: cubic-bezier(0.15, 0.85, 0.2, 1);
  --framer-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --display: "Inter", "Inter Display", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Fragment Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Inter", "Inter Placeholder", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.45;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
  font-synthesis: none;
}

body.modal-open {
  overflow: hidden;
}

::selection {
  background: rgba(var(--accent-rgb), 0.84);
  color: #fff;
}

::-moz-selection {
  background: rgba(var(--accent-rgb), 0.84);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100% - 48px, 1180px);
  height: 44px;
  margin: 0 auto;
  padding: 0 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: fit-content;
  min-width: 34px;
  height: 34px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-x {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff 0 12%, transparent 13%),
    linear-gradient(135deg, var(--accent-2), var(--accent) 48%, #2b0642);
  box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.82);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 500;
}

.desktop-nav a,
.mobile-nav a {
  transition: color 220ms var(--framer-ease);
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: #fff;
}

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition:
    transform 240ms var(--framer-ease),
    background-color 240ms var(--framer-ease),
    box-shadow 240ms var(--framer-ease);
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
}

.menu-button,
.mobile-nav {
  display: none;
}

.media-stage {
  position: relative;
  overflow: hidden;
  background: #030006;
}

.motion-canvas,
.hero-video-source,
.silk-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.motion-canvas {
  z-index: 0;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 520ms var(--framer-ease-out);
}

.media-stage.video-webgl-ready .motion-canvas {
  opacity: 0.58 !important;
}

.hero-video-source {
  z-index: 0;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.58) contrast(1.18) saturate(1.18);
  opacity: 1;
}

.media-stage.video-webgl-ready .hero-video-source {
  opacity: 1;
}

.silk-overlay {
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.68;
  background:
    radial-gradient(circle at 42% 45%, rgba(var(--accent-2-rgb), 0.3), transparent 28%),
    linear-gradient(115deg, transparent 0 16%, rgba(var(--accent-2-rgb), 0.34) 24%, transparent 36% 48%, rgba(var(--accent-rgb), 0.48) 61%, transparent 74%),
    linear-gradient(24deg, rgba(255, 255, 255, 0.08), transparent 28% 73%, rgba(255, 255, 255, 0.1));
  filter: blur(0.2px);
  animation: silkShift 18s ease-in-out infinite alternate;
}

.hero-cursor-light {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: min(34rem, 46vw);
  aspect-ratio: 1.45 / 1;
  border-radius: 48% 52% 43% 57%;
  background:
    radial-gradient(ellipse at center, rgba(160, 118, 255, 0.16) 0%, rgba(84, 164, 255, 0.1) 24%, rgba(203, 76, 255, 0.06) 44%, rgba(34, 70, 190, 0.035) 60%, transparent 76%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  contain: paint;
  pointer-events: none;
  will-change: transform, opacity;
}

.hero-system {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  transform: translate3d(var(--field-x), var(--field-y), 0);
  animation: systemResolve 1500ms var(--framer-ease-out) 180ms forwards;
  pointer-events: none;
}

.hero-system::before,
.hero-system::after {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
}

.hero-system::before {
  opacity: 0.28;
  background:
    radial-gradient(circle at 67% 45%, rgba(255, 255, 255, 0.11) 0 1px, transparent 1.5px 7px),
    radial-gradient(circle at 78% 38%, rgba(98, 158, 255, 0.13), transparent 28%),
    radial-gradient(circle at 69% 58%, rgba(178, 79, 255, 0.13), transparent 32%);
  background-size: 19px 19px, 100% 100%, 100% 100%;
  transform: translate3d(var(--field-far-x), var(--field-far-y), 0);
}

.hero-system::after {
  opacity: 0.2;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.08) 46%, transparent 57%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 46%, black 0 34%, transparent 68%);
  mask-image: radial-gradient(ellipse at 70% 46%, black 0 34%, transparent 68%);
  animation: contourDrift 18s ease-in-out infinite alternate;
}

.system-nucleus {
  --nucleus-opacity: 0.12;
  --nucleus-cursor-x: 50%;
  --nucleus-cursor-y: 50%;
  --nucleus-wave-opacity: 0;
  --nucleus-wave-shift-x: 0px;
  --nucleus-wave-shift-y: 0px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(44rem, 48vw);
  aspect-ratio: 1;
  opacity: var(--nucleus-opacity);
  transform: translate3d(-50%, -50%, 0) translate3d(var(--nucleus-x), var(--nucleus-y), 0) rotate(var(--nucleus-rotate));
  transform-origin: center;
  mix-blend-mode: screen;
  will-change: opacity, transform;
}

.system-nucleus__base,
.system-nucleus__flow,
.system-nucleus__wave {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(94%) sepia(10%) saturate(260%) hue-rotate(222deg) brightness(108%) contrast(96%);
}

.system-nucleus__base {
  opacity: 0.96;
}

.system-nucleus__flow {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  transform: translate3d(-3px, 2px, 0) scale(1.006);
  transform-origin: center;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(112deg, transparent 0%, rgba(0, 0, 0, 0.2) 22%, black 46%, rgba(0, 0, 0, 0.72) 68%, transparent 100%);
  mask-image: linear-gradient(112deg, transparent 0%, rgba(0, 0, 0, 0.2) 22%, black 46%, rgba(0, 0, 0, 0.72) 68%, transparent 100%);
  animation: nucleusVideoFlow 13s ease-in-out infinite alternate;
  pointer-events: none;
  will-change: opacity, transform;
}

.system-nucleus__wave {
  position: absolute;
  inset: 0;
  opacity: var(--nucleus-wave-opacity);
  transform: translate3d(var(--nucleus-wave-shift-x), var(--nucleus-wave-shift-y), 0) scale(1.006);
  transform-origin: center;
  -webkit-mask-image: radial-gradient(circle at var(--nucleus-cursor-x) var(--nucleus-cursor-y), black 0 4.5%, rgba(0, 0, 0, 0.68) 8.5%, transparent 16%);
  mask-image: radial-gradient(circle at var(--nucleus-cursor-x) var(--nucleus-cursor-y), black 0 4.5%, rgba(0, 0, 0, 0.68) 8.5%, transparent 16%);
  pointer-events: none;
  will-change: opacity, transform;
}

.system-nucleus::before,
.system-nucleus::after {
  content: "";
  position: absolute;
  inset: 3%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  opacity: 0.24;
  transform: rotate(45deg);
}

.system-nucleus::after {
  inset: 15%;
  opacity: 0.16;
  transform: rotate(45deg) scale(1.18);
}

.hero {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 896px;
  margin: 0 auto;
  --field-x: 0px;
  --field-y: 0px;
  --field-far-x: 0px;
  --field-far-y: 0px;
  --nucleus-x: 0px;
  --nucleus-y: 0px;
  --nucleus-rotate: 0deg;
}

.hero::after,
.cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.52) 12%, rgba(0, 0, 0, 0.08) 35%, rgba(0, 0, 0, 0.08) 65%, rgba(0, 0, 0, 0.52) 88%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.34), transparent 24%, rgba(0, 0, 0, 0.6) 100%),
    radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.22), transparent 42%);
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.52) 12%, rgba(0, 0, 0, 0.08) 35%, rgba(0, 0, 0, 0.08) 65%, rgba(0, 0, 0, 0.52) 88%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.34) 0%, transparent 22%, rgba(0, 0, 0, 0.2) 52%, rgba(0, 0, 0, 0.62) 84%, rgba(0, 0, 0, 0.88) 100%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.58), transparent 54%);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: min(620px, 92vw);
  margin-top: 0;
  text-align: center;
  transform: translate(-50%, -47%);
}

.hero-content.reveal {
  opacity: 1;
  transform: translate(-50%, -47%);
  transition: none;
}

.hero-content > * {
  opacity: 0.001;
  transform: translateY(48px);
}

.hero-content.visible > * {
  animation: framerAppear 1000ms var(--framer-ease) both;
}

.hero-content.visible > *:nth-child(2) {
  animation-delay: 100ms;
}

.hero-content.visible > *:nth-child(3) {
  animation-delay: 200ms;
}

.hero-content.visible > *:nth-child(4) {
  animation-delay: 300ms;
}

.hero-content.visible > *:nth-child(5) {
  animation-delay: 400ms;
}

.eyebrow,
.micro {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 40px;
  background: rgba(0, 0, 0, 0.34);
  color: rgba(255, 255, 255, 0.78);
  text-transform: none;
}

.eyebrow span {
  color: #fff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 600px;
  margin: 0 auto 14px;
  font-family: var(--display);
  font-size: clamp(42px, 5.333vw, 64px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.hero-copy {
  max-width: 480px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 40px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  transition:
    transform 240ms var(--framer-ease),
    border-color 240ms var(--framer-ease),
    background 240ms var(--framer-ease),
    box-shadow 240ms var(--framer-ease);
  will-change: transform;
}

.button::before,
.nav-cta::before {
  content: "";
  position: absolute;
  inset: -1px -42%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 22%, rgba(255, 255, 255, 0.32) 48%, transparent 72%);
  transform: translateX(-115%) skewX(-18deg);
  transition: transform 760ms var(--framer-ease);
}

.button.is-hovered {
  transform: translateY(-1px);
}

.button.is-hovered::before,
.nav-cta:hover::before,
.nav-cta:focus-visible::before {
  transform: translateX(115%) skewX(-18deg);
}

.button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 3px;
}

.button.is-hover-reset,
.button.is-hover-reset::before,
.button.is-hover-reset .rolling-label span {
  transition-duration: 0ms !important;
}

.button:active,
.nav-cta:active {
  transform: translateY(0) scale(0.985);
  transition-duration: 120ms;
}

.button-primary {
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: #fff;
  color: #050505;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.065),
    0 7px 18px rgba(255, 255, 255, 0.045);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button-secondary.is-hovered {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.rolling-label {
  --rolling-line: 1.2em;
  position: relative;
  z-index: 1;
  display: flex;
  width: max-content;
  overflow: hidden;
  color: currentColor;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-shadow: 0 var(--rolling-line) 0 currentColor;
  user-select: none;
}

.nav-cta .rolling-label {
  font-size: 11px;
}

.rolling-label span {
  display: block;
  flex-shrink: 0;
  white-space: pre;
  backface-visibility: hidden;
  transition: transform 680ms var(--framer-ease-out);
  transition-delay: calc(var(--char-index, 0) * 18ms);
  will-change: transform;
}

.button.is-hovered .rolling-label span,
.nav-cta:hover .rolling-label span,
.nav-cta:focus-visible .rolling-label span {
  transform: translateY(calc(var(--rolling-line) * -1));
}

.brand-marquee {
  width: min(430px, 100%);
  height: 36px;
  margin: 0 auto;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.55);
  mask-image: linear-gradient(to right, transparent 0%, #000 12.5%, #000 87.5%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12.5%, #000 87.5%, transparent 100%);
}

.brand-marquee-window {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 5px 10px;
  overflow: hidden;
}

.brand-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  height: 20px;
  will-change: transform;
  animation: brandMarquee 18s linear infinite;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  flex: 0 0 auto;
  width: auto;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.035em;
  white-space: nowrap;
  opacity: 0.72;
}

.brand-mark img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.74;
  filter: brightness(0) invert(1);
  mix-blend-mode: screen;
}

.brand-mark span {
  transform: translateY(0.5px);
}

.brand-boovs img {
  width: 22px;
  height: 22px;
  transform: translateY(-1px);
}

.brand-markazon img {
  width: 22px;
  height: 22px;
}

.section {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 112px 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: 28px;
  align-items: end;
  margin-bottom: 26px;
}

.section-heading h2 {
  max-width: 520px;
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.section-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.mini-card {
  position: relative;
  min-height: 174px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    var(--panel);
  overflow: hidden;
}

.mini-card span {
  display: block;
  margin-bottom: 42px;
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 10px;
}

.mini-card h3 {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.capability-stack {
  display: grid;
  position: relative;
  align-items: start;
  gap: 18px;
}

.capability-card {
  --fold-brightness: 1;
  --fold-content-opacity: 1;
  --fold-glow-alpha: 0.035;
  --fold-highlight-alpha: 0.024;
  --fold-scale: 1;
  --fold-saturation: 1;
  --fold-y: 0px;
  --stack-index: 0;
  --stack-top: 76px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 28px;
  align-items: center;
  min-height: 256px;
  padding: 38px;
  border: 1px solid var(--line);
  background: #111;
  overflow: hidden;
  transform-origin: center top;
}

.capability-card:nth-child(2) {
  --stack-index: 1;
  --stack-top: 96px;
}

.capability-card:nth-child(3) {
  --stack-index: 2;
  --stack-top: 116px;
}

.capability-card:nth-child(4) {
  --stack-index: 3;
  --stack-top: 136px;
}

.capability-copy h3 {
  max-width: 470px;
  margin-bottom: 12px;
  font-size: clamp(23px, 3.1vw, 35px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.capability-copy p:not(.micro) {
  max-width: 480px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.text-link {
  display: inline-flex;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.icon-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 178px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 48% 45%, rgba(255, 255, 255, 0.16), transparent 26%),
    radial-gradient(circle at 50% 70%, rgba(var(--accent-rgb), 0.28), transparent 45%),
    #050505;
  overflow: hidden;
}

.icon-stage::before {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 30%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02)),
    linear-gradient(45deg, #181818, #040404);
  filter: blur(0.2px);
  transform: rotate(-18deg) skew(-5deg);
  box-shadow:
    inset 18px 18px 36px rgba(255, 255, 255, 0.08),
    inset -18px -18px 36px rgba(0, 0, 0, 0.9),
    0 26px 70px rgba(0, 0, 0, 0.75);
}

.icon-stage.work-shot {
  aspect-ratio: 1540 / 712;
  min-height: 0;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #050505;
}

.icon-stage.work-shot::before {
  content: none;
}

.icon-stage.work-shot img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  background: #f7f8fb;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.42);
  filter: brightness(0.9);
}

.icon-stage svg {
  position: relative;
  z-index: 1;
  width: 106px;
  height: 106px;
  color: rgba(255, 255, 255, 0.7);
  filter: drop-shadow(0 8px 26px rgba(0, 0, 0, 0.75));
}

.icon-stage path,
.icon-stage circle,
.faq-item path {
  fill: none;
  stroke: currentColor;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-stage circle {
  fill: rgba(255, 255, 255, 0.04);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stat-card,
.quote-card,
.trial-card {
  position: relative;
  min-height: 214px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.stat-card strong {
  display: block;
  margin-bottom: 34px;
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.stat-card span {
  color: var(--accent-2);
  font-size: 24px;
  font-weight: 800;
}

.stat-card h3 {
  max-width: 220px;
  margin: 0;
  font-size: 15px;
  line-height: 1.24;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stat-card p,
.quote-card span,
.trial-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.quote-card {
  grid-column: span 2;
}

.quote-card blockquote {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.48;
  letter-spacing: -0.025em;
}

.quote-card div {
  display: grid;
  gap: 2px;
}

.trial-card {
  grid-column: span 2;
  display: grid;
  align-content: start;
  gap: 14px;
}

.trial-card.media-stage {
  background: #050507;
  isolation: isolate;
}

.trial-card.media-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      #050507 0%,
      rgba(5, 5, 7, 0.88) 6%,
      rgba(5, 5, 7, 0.44) 19%,
      rgba(5, 5, 7, 0) 36%,
      rgba(5, 5, 7, 0) 61%,
      rgba(5, 5, 7, 0.5) 82%,
      #050507 100%
    ),
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.34) 48%, rgba(0, 0, 0, 0.58)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 42%, rgba(0, 0, 0, 0.48));
}

.trial-card.media-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at 70% 30%, rgba(255, 255, 255, 0.08), transparent 46%);
  mix-blend-mode: screen;
}

.trial-card.media-stage.reveal::after,
.trial-card.media-stage.reveal.visible::after {
  content: "";
  opacity: 1;
  transform: none;
  animation: none;
}

.trial-card .trial-video-source {
  z-index: 0;
  opacity: 0.38;
  filter: brightness(0.54) contrast(1.16) saturate(1.16);
}

.trial-card.video-webgl-ready .trial-video-source {
  opacity: 0.32;
}

.trial-card .trial-motion-canvas {
  z-index: 0;
  opacity: 0;
}

.trial-card.video-webgl-ready .trial-motion-canvas {
  opacity: 0.48 !important;
}

.trial-card .trial-silk-overlay {
  z-index: 1;
  opacity: 0.46;
  background:
    radial-gradient(circle at 65% 38%, rgba(var(--accent-2-rgb), 0.24), transparent 32%),
    linear-gradient(115deg, transparent 0 18%, rgba(var(--accent-2-rgb), 0.24) 28%, transparent 44% 52%, rgba(var(--accent-rgb), 0.24) 64%, transparent 80%);
  filter: blur(1.1px);
}

.trial-card.media-stage > :not(.hero-video-source):not(.motion-canvas):not(.silk-overlay) {
  position: relative;
  z-index: 3;
}

.trial-card h3 {
  margin: 0;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.52);
}

.trial-card p {
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.48);
}

.trial-card .button {
  width: fit-content;
}

.story-grid,
.blog-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.story-card,
.blog-card,
.team-card,
.testimonial-card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.story-card,
.blog-card {
  padding: 0 0 18px;
}

.story-media,
.blog-media {
  height: 190px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  background-color: #040404;
  background-size: 160% 160%;
  animation: mediaShift 10s ease-in-out infinite alternate;
}

.boovs-network {
  --network-cycle: 7.8s;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 50%, rgba(21, 214, 188, 0.16), transparent 18%),
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.08), transparent 16%),
    linear-gradient(135deg, #030707 0%, #050505 52%, #07110f 100%);
  background-size: 100% 100%;
  animation: none;
  overflow: hidden;
}

.boovs-network::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.2;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 78%);
}

.boovs-network svg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.network-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: networkLine var(--network-cycle) var(--framer-ease-out) infinite;
  animation-delay: var(--line-delay);
}

.network-glow {
  fill: rgba(21, 214, 188, 0.75);
  opacity: 0;
  filter: blur(9px);
  transform-box: fill-box;
  transform-origin: center;
  animation: networkGlow var(--network-cycle) ease-in-out infinite;
}

.network-pin {
  fill: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: networkPin var(--network-cycle) ease-in-out infinite;
  animation-delay: var(--pin-delay);
}

.network-pin-main {
  fill: #15d6bc;
}

.network-pin-end {
  animation-name: networkPinEnd;
}

.network-node {
  position: absolute;
  z-index: 2;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.85);
  opacity: 0;
  transform: translate(-50%, -50%) translateY(5px);
  animation: networkNode var(--network-cycle) ease-in-out infinite;
}

.network-node-main {
  top: 53%;
  left: 50%;
  color: #15d6bc;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  animation-delay: 0.4s;
}

.network-node-cat {
  color: rgba(255, 255, 255, 0.88);
  animation-delay: 1.35s;
}

.network-node-end {
  color: rgba(255, 255, 255, 0.58);
  font-size: 7px;
  animation-delay: 2.65s;
}

.node-dental {
  top: 26%;
  left: 25%;
}

.node-surgery {
  top: 26%;
  left: 75%;
}

.node-hair {
  top: 84%;
  left: 50%;
}

.node-clinic-a {
  top: 18%;
  left: 14%;
}

.node-clinic-b {
  top: 47%;
  left: 14%;
}

.node-clinic-c {
  top: 18%;
  left: 86%;
}

.node-clinic-d {
  top: 47%;
  left: 86%;
}

.boovs-core-network {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 52% 48%, rgba(0, 229, 255, 0.12), transparent 30%),
    radial-gradient(circle at 82% 24%, rgba(255, 0, 85, 0.1), transparent 28%),
    #050505;
  background-size: 32px 32px, 32px 32px, 100% 100%, 100% 100%, 100% 100%;
  animation: none;
  overflow: hidden;
}

.boovs-core-network::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.12), transparent 36%, rgba(0, 0, 0, 0.52)),
    radial-gradient(circle at 50% 50%, transparent 42%, rgba(0, 0, 0, 0.5));
}

.boovs-core-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

.boovs-core-overlay {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 3;
  display: grid;
  gap: 5px;
  pointer-events: none;
}

.boovs-core-overlay strong {
  max-width: 220px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.boovs-core-overlay span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(0, 229, 255, 0.86);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.boovs-core-overlay i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.76);
  animation: boovsCorePulse 1.7s ease-in-out infinite;
}

.premium-case-visual {
  --accent-rgb: 255, 255, 255;
  --accent-soft-rgb: 120, 120, 120;
  --case-light-x: 58%;
  --case-light-y: 38%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--case-light-x) var(--case-light-y), rgba(var(--accent-rgb), 0.2), transparent 38%),
    radial-gradient(circle at 77% 18%, rgba(var(--accent-soft-rgb), 0.13), transparent 32%),
    linear-gradient(142deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.006) 38%, rgba(255, 255, 255, 0.036) 100%),
    linear-gradient(135deg, #050505 0%, #080809 46%, #030303 100%);
  background-size: 100% 100%;
  animation: none;
  transform: translateZ(0);
  transition:
    border-color 500ms var(--framer-ease),
    filter 500ms var(--framer-ease);
}

.premium-case-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(114deg, transparent 0 21%, rgba(255, 255, 255, 0.105) 45%, transparent 67% 100%),
    linear-gradient(24deg, transparent 0 38%, rgba(var(--accent-rgb), 0.1) 50%, transparent 64% 100%),
    radial-gradient(circle at var(--case-light-x) var(--case-light-y), rgba(var(--accent-rgb), 0.26), transparent 44%);
  background-size: 100% 100%;
  mask-image: radial-gradient(circle at 54% 43%, #000 0 58%, transparent 88%);
  opacity: 0.5;
  transition: opacity 500ms var(--framer-ease);
}

.premium-case-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.02), transparent 34%, rgba(0, 0, 0, 0.68)),
    radial-gradient(circle at 50% 45%, transparent 40%, rgba(0, 0, 0, 0.62)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 20% 78%, rgba(0, 0, 0, 0.42));
}

.case-visual-boovs {
  --accent-rgb: 0, 229, 255;
  --accent-soft-rgb: 255, 0, 85;
}

.case-visual-markazon {
  --accent-rgb: 41, 214, 117;
  --accent-soft-rgb: 255, 55, 95;
}

.case-visual-geoscore {
  --accent-rgb: 67, 133, 255;
  --accent-soft-rgb: 52, 199, 89;
}

.case-visual-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
}

.story-video-media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #050505;
  animation: none;
}

.story-video-media::before,
.story-video-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.story-video-media::before {
  z-index: 2;
  background:
    radial-gradient(circle at center, transparent 42%, rgba(0, 0, 0, 0.45) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 32%, rgba(0, 0, 0, 0.62));
}

.story-video-media::after {
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 18% 80%, rgba(0, 0, 0, 0.2)),
    radial-gradient(ellipse at 54% 50%, transparent 0 46%, rgba(0, 0, 0, 0.32) 100%);
}

.story-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.82) contrast(1.04) saturate(0.96);
}

.boovs-video-logo {
  position: absolute;
  top: 15px;
  left: 17px;
  z-index: 4;
  width: clamp(58px, 5.8vw, 78px);
  height: auto;
  pointer-events: none;
  opacity: 0.95;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.38));
}

.markazon-video-logo {
  position: absolute;
  top: 15px;
  left: 17px;
  z-index: 4;
  width: 32px;
  height: 32px;
  pointer-events: none;
  opacity: 0.94;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.42));
}

.geoscore-video-logo {
  position: absolute;
  top: 15px;
  left: 17px;
  z-index: 4;
  width: 30px;
  min-width: 30px;
  max-width: 30px;
  height: 30px;
  min-height: 30px;
  max-height: 30px;
  pointer-events: none;
  opacity: 0.96;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.42));
}

.story-video-overlay {
  z-index: 4;
  top: 16px;
  bottom: unset;
  height: auto;
  align-content: start;
  justify-items: start;
}

.case-visual-overlay {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 5;
  display: grid;
  max-width: min(255px, calc(100% - 36px));
  gap: 5px;
  pointer-events: none;
}

.case-visual-overlay strong {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(13px, 1.36vw, 16px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 14px 32px rgba(0, 0, 0, 0.56);
}

.case-visual-overlay span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(var(--accent-rgb), 0.78);
  font-family: var(--mono);
  font-size: 6.6px;
  line-height: 1.45;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.case-visual-overlay i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgb(var(--accent-rgb));
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.7);
  animation: boovsCorePulse 2.15s ease-in-out infinite;
}

.case-visual-overlay.story-video-overlay {
  top: 16px;
  bottom: auto;
  height: auto;
  align-content: start;
  justify-items: start;
}

.story-card:hover .premium-case-visual {
  filter: saturate(1.08) brightness(1.04);
}

.story-card:hover .premium-case-visual::before {
  opacity: 0.9;
}

.project-visual {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    #050505;
  background-size: 32px 32px, 32px 32px, 100% 100%;
  animation: none;
  overflow: hidden;
}

.project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05), transparent 40%, rgba(0, 0, 0, 0.62)),
    radial-gradient(circle at 50% 50%, transparent 45%, rgba(0, 0, 0, 0.52));
}

.visual-overlay {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 6;
  display: grid;
  gap: 5px;
  pointer-events: none;
}

.visual-overlay strong {
  max-width: 240px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(15px, 1.8vw, 20px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.visual-overlay span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.64);
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.35;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.visual-overlay i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  animation: boovsCorePulse 1.9s ease-in-out infinite;
}

.markazon-risk-map {
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    radial-gradient(circle at 50% 48%, rgba(38, 210, 118, 0.14), transparent 28%),
    radial-gradient(circle at 82% 28%, rgba(255, 64, 64, 0.14), transparent 24%),
    #050505;
  background-size: 32px 32px, 32px 32px, 100% 100%, 100% 100%, 100% 100%;
}

.markazon-risk-map svg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.markazon-risk-map path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 1;
  stroke-dasharray: 5 9;
  animation: riskLineFlow 6s linear infinite;
}

.risk-brand,
.risk-node {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(0, 0, 0, 0.42);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(8px);
}

.risk-brand-core {
  top: 40%;
  left: 50%;
  display: grid;
  place-items: center;
  min-width: 86px;
  min-height: 54px;
  transform: translate(-50%, -50%);
}

.risk-brand-core span {
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.risk-brand-core strong {
  color: #fff;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.06em;
}

.risk-node {
  display: grid;
  gap: 2px;
  min-width: 58px;
  padding: 6px 7px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.1;
  text-transform: uppercase;
}

.risk-node::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--risk-color, #25d66f);
  box-shadow: 0 0 12px var(--risk-color, #25d66f);
  top: -4px;
  right: 8px;
}

.risk-node span {
  color: var(--risk-color, #25d66f);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.risk-low {
  --risk-color: #25d66f;
  top: 18%;
  left: 16%;
}

.risk-medium {
  --risk-color: #f5c14c;
  top: 16%;
  right: 13%;
}

.risk-high {
  --risk-color: #ff355f;
  right: 12%;
  top: 56%;
}

.risk-watch {
  --risk-color: #b58cff;
  left: 15%;
  top: 58%;
}

.geoscore-visibility-grid {
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    radial-gradient(circle at 34% 42%, rgba(67, 133, 255, 0.18), transparent 30%),
    radial-gradient(circle at 82% 38%, rgba(48, 215, 132, 0.12), transparent 26%),
    #050505;
  background-size: 30px 30px, 30px 30px, 100% 100%, 100% 100%, 100% 100%;
}

.geo-url-node {
  position: absolute;
  top: 34%;
  left: 16%;
  z-index: 3;
  padding: 8px 10px;
  border: 1px solid rgba(80, 145, 255, 0.24);
  background: rgba(8, 15, 26, 0.68);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.02em;
  box-shadow: 0 0 28px rgba(80, 145, 255, 0.14);
}

.geo-scan-line {
  position: absolute;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(80, 145, 255, 0.82), transparent);
  transform-origin: left center;
  animation: geoScan 4.8s ease-in-out infinite;
}

.geo-scan-one {
  top: 43%;
  left: 35%;
  width: 44%;
  transform: rotate(-16deg);
}

.geo-scan-two {
  top: 52%;
  left: 36%;
  width: 40%;
  transform: rotate(18deg);
  animation-delay: 0.9s;
}

.geo-signal {
  position: absolute;
  z-index: 3;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.geo-signal::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 999px;
  background: #4385ff;
  box-shadow: 0 0 10px rgba(67, 133, 255, 0.75);
}

.geo-signal-ai {
  top: 20%;
  right: 15%;
}

.geo-signal-structure {
  top: 42%;
  right: 10%;
}

.geo-signal-entity {
  top: 63%;
  right: 17%;
}

.geo-bars {
  position: absolute;
  left: 18%;
  bottom: 49px;
  z-index: 3;
  display: grid;
  gap: 5px;
  width: 88px;
}

.geo-bars span {
  display: block;
  width: var(--bar);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(67, 133, 255, 0.2), rgba(67, 133, 255, 0.95));
  box-shadow: 0 0 12px rgba(67, 133, 255, 0.28);
  animation: geoBarPulse 3.5s ease-in-out infinite;
}

.geo-bars span:nth-child(2) {
  animation-delay: 0.28s;
}

.geo-bars span:nth-child(3) {
  animation-delay: 0.56s;
}

.media-one {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.18), transparent 16%),
    repeating-linear-gradient(145deg, rgba(110, 92, 255, 0.6) 0 8px, rgba(0, 0, 0, 0) 8px 24px),
    linear-gradient(120deg, #030303, #111 45%, #050514);
}

.media-two {
  background-image:
    radial-gradient(circle at 75% 42%, rgba(119, 221, 221, 0.28), transparent 18%),
    repeating-linear-gradient(15deg, rgba(80, 132, 255, 0.55) 0 6px, rgba(0, 0, 0, 0) 6px 18px),
    linear-gradient(120deg, #040404, #050516 52%, #101010);
}

.media-three {
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.18), transparent 12%),
    repeating-linear-gradient(0deg, rgba(var(--accent-rgb), 0.46) 0 4px, rgba(0, 0, 0, 0) 4px 17px),
    linear-gradient(120deg, #030303, #0c0c18 45%, #050505);
}

.media-four {
  background-image:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.2), transparent 14%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 7px, rgba(0, 0, 0, 0) 7px 18px),
    linear-gradient(100deg, #030303, #141414 40%, #02020b);
}

.media-five {
  background-image:
    radial-gradient(circle at 70% 25%, rgba(var(--accent-2-rgb), 0.24), transparent 16%),
    repeating-linear-gradient(150deg, rgba(90, 155, 255, 0.42) 0 6px, rgba(0, 0, 0, 0) 6px 20px),
    linear-gradient(90deg, #020202, #0b0d18, #020202);
}

.media-six {
  background-image:
    radial-gradient(circle at 70% 52%, rgba(255, 255, 255, 0.28), transparent 15%),
    linear-gradient(70deg, rgba(255, 255, 255, 0.12), transparent 28% 52%, rgba(var(--accent-rgb), 0.4)),
    linear-gradient(120deg, #020202, #08070f);
}

.story-card h3,
.story-card p,
.story-metrics,
.blog-card h3,
.blog-card span,
.team-card h3,
.team-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.story-card h3,
.blog-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.2;
}

.story-card p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  line-height: 1.48;
}

.stories-section .section-heading > p:last-child {
  align-self: end;
  justify-self: end;
  max-width: 360px;
  padding-bottom: 3px;
  line-height: 1.45;
}

.story-metrics {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  color: var(--soft);
  font-size: 10px;
}

.story-metrics strong {
  display: block;
  color: #fff;
  font-size: 18px;
}

.calculator {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 36%),
    var(--panel);
  overflow: hidden;
}

.calculator label {
  display: grid;
  gap: 12px;
}

.calculator label span {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.calculator input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.calculator-result {
  padding: 20px;
  border: 1px solid var(--line);
  background: #080808;
}

.calculator-result p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.calculator-result strong {
  color: #fff;
  font-size: 15px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.testimonial-card {
  min-height: 184px;
  padding: 20px;
}

.testimonial-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 10px;
}

.testimonial-card p {
  color: #fff;
  font-size: 13px;
}

.testimonial-card strong {
  color: var(--muted);
  font-size: 11px;
}

.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-card {
  padding-bottom: 18px;
}

.avatar {
  height: 220px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 225, 190, 0.85) 0 13%, rgba(70, 40, 26, 0.8) 14% 20%, transparent 21%),
    radial-gradient(ellipse at 50% 60%, rgba(28, 35, 43, 0.95) 0 25%, transparent 26%),
    linear-gradient(160deg, #252525, #080808 60%);
  filter: saturate(0.8);
}

.avatar-two {
  background:
    radial-gradient(circle at 52% 33%, rgba(230, 169, 112, 0.88) 0 13%, rgba(24, 18, 13, 0.9) 14% 21%, transparent 22%),
    radial-gradient(ellipse at 50% 60%, rgba(22, 30, 42, 0.95) 0 25%, transparent 26%),
    linear-gradient(160deg, #30372e, #080808 60%);
}

.avatar-three {
  background:
    radial-gradient(circle at 50% 34%, rgba(211, 145, 88, 0.88) 0 13%, rgba(12, 10, 9, 0.9) 14% 22%, transparent 23%),
    radial-gradient(ellipse at 50% 61%, rgba(31, 31, 35, 0.96) 0 25%, transparent 26%),
    linear-gradient(160deg, #20252b, #080808 60%);
}

.avatar-four {
  background:
    radial-gradient(circle at 50% 34%, rgba(241, 181, 125, 0.86) 0 13%, rgba(38, 22, 15, 0.94) 14% 21%, transparent 22%),
    radial-gradient(ellipse at 50% 61%, rgba(27, 35, 48, 0.95) 0 25%, transparent 26%),
    linear-gradient(160deg, #2b2b25, #080808 60%);
}

.team-card h3 {
  margin-bottom: 4px;
  font-size: 14px;
}

.team-card p,
.blog-card span {
  color: var(--muted);
  font-size: 11px;
}

.blog-card h3 {
  min-height: 58px;
}

.faq-list {
  position: relative;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.faq-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #121212;
  color: #fff;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.faq-item:hover,
.faq-item[aria-expanded="true"] {
  background: #151515;
}

.faq-item span {
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 999px;
  color: rgba(var(--accent-rgb), 0.98);
  filter: drop-shadow(0 0 9px rgba(var(--accent-rgb), 0.46));
  transition:
    color 180ms ease,
    filter 180ms ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 50%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translateY(-50%);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.faq-icon::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item[aria-expanded="true"] .faq-icon {
  color: rgba(var(--accent-2-rgb), 0.96);
  filter: drop-shadow(0 0 5px rgba(var(--accent-rgb), 0.28));
}

.faq-item[aria-expanded="true"] .faq-icon::after {
  opacity: 0;
  transform: translateY(-50%) rotate(90deg) scaleX(0.45);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  border-bottom: 1px solid var(--line);
  background: #090909;
  transition:
    grid-template-rows 220ms ease,
    background 220ms ease;
}

.faq-panel.open {
  grid-template-rows: 1fr;
}

.faq-panel p {
  overflow: hidden;
  margin: 0;
  padding: 0 18px;
  color: var(--muted);
  font-size: 13px;
  transition: padding 220ms ease;
}

.faq-panel.open p {
  padding: 16px 18px 20px;
}

.cta-section {
  display: grid;
  place-items: center;
  min-height: 420px;
  margin-top: 116px;
  padding: 0;
  text-align: center;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: -1px 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      #030006 0%,
      rgba(3, 0, 6, 0.9) 5%,
      rgba(3, 0, 6, 0.48) 17%,
      rgba(3, 0, 6, 0) 34%,
      rgba(3, 0, 6, 0) 63%,
      rgba(3, 0, 6, 0.5) 82%,
      #030006 100%
    );
}

.cta-section::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.42) 12%, rgba(0, 0, 0, 0.06) 35%, rgba(0, 0, 0, 0.06) 65%, rgba(0, 0, 0, 0.42) 88%, rgba(0, 0, 0, 0.68) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.26), transparent 24%, rgba(0, 0, 0, 0.5) 100%),
    radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.16), transparent 42%);
}

.cta-section .cta-video-source {
  opacity: 0.42;
  filter: brightness(0.58) contrast(1.16) saturate(1.14);
}

.cta-section.video-webgl-ready .cta-video-source {
  opacity: 0.36;
}

.cta-section.video-webgl-ready .motion-canvas {
  opacity: 0.52 !important;
}

.cta-content {
  position: relative;
  z-index: 3;
  width: min(760px, 92%);
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
}

.cta-content h2 {
  margin-bottom: 12px;
  font-size: clamp(32px, 4.8vw, 54px);
  line-height: 0.98;
  white-space: nowrap;
}

.cta-content p:not(.micro) {
  max-width: 500px;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 13px;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms var(--framer-ease-out);
}

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

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.88)),
    rgba(0, 0, 0, 0.54);
  backdrop-filter: blur(16px);
}

.contact-modal__panel {
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: min(100%, 560px);
  max-height: min(720px, calc(100svh - 48px));
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.105);
  background: #08080a;
  box-shadow:
    0 36px 110px rgba(0, 0, 0, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
  transform: translateY(14px) scale(0.985);
  transition: transform 320ms var(--framer-ease-out);
}

.contact-modal.is-open .contact-modal__panel {
  transform: translateY(0) scale(1);
}

.contact-modal__video,
.contact-modal__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-modal__video {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: brightness(0.48) contrast(0.96) saturate(0.82) blur(0.4px);
}

.contact-modal__veil {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(9, 9, 11, 0.84), rgba(5, 5, 7, 0.93)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.16) 44%, rgba(0, 0, 0, 0.54));
}

.contact-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.contact-modal__close:hover,
.contact-modal__close:focus-visible {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

.contact-modal__header {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 9px;
  padding-right: 38px;
  margin-bottom: 22px;
}

.contact-modal__header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.contact-modal__header p:not(.micro) {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.48;
}

.contact-form {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.contact-form label,
.contact-form .contact-field {
  display: grid;
  gap: 6px;
}

.contact-select-field,
.contact-brief-field,
.contact-modal__actions {
  grid-column: 1 / -1;
}

.contact-form label > span,
.contact-form .contact-field > span {
  color: rgba(var(--accent-2-rgb), 0.66);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.contact-select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.078);
  border-radius: 2px;
  background: rgba(7, 7, 9, 0.58);
  color: #fff;
  font-size: 13px;
  outline: none;
  backdrop-filter: blur(8px);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.contact-form input,
.contact-form select,
.contact-select {
  height: 39px;
  padding: 0 11px;
}

.contact-form textarea {
  min-height: 98px;
  resize: vertical;
  padding: 10px 11px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.27);
}

.contact-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.72) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 17px,
    calc(100% - 11px) 17px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.contact-select-field {
  position: relative;
  z-index: 3;
}

.contact-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}

.contact-select__chevron {
  width: 7px;
  height: 7px;
  margin-left: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease, border-color 180ms ease;
}

.contact-select-menu[hidden] {
  display: none;
}

.contact-select-menu {
  position: relative;
  z-index: 8;
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(17, 17, 20, 0.96), rgba(7, 7, 9, 0.98)),
    #09090b;
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px);
  transform-origin: top;
  animation: contactSelectIn 160ms var(--framer-ease-out);
}

.contact-select-option {
  display: flex;
  align-items: center;
  min-height: 34px;
  width: 100%;
  padding: 0 10px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: rgba(255, 255, 255, 0.64);
  cursor: pointer;
  font-size: 12.5px;
  text-align: left;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.contact-select-option:hover,
.contact-select-option:focus-visible {
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.92);
  outline: none;
}

.contact-select-option.is-selected {
  background: rgba(255, 255, 255, 0.075);
  color: #fff;
}

.contact-select-field.is-open .contact-select {
  border-color: rgba(var(--accent-2-rgb), 0.36);
  background-color: rgba(255, 255, 255, 0.052);
  box-shadow: 0 0 0 1px rgba(var(--accent-2-rgb), 0.09);
}

.contact-select-field.is-open .contact-select__chevron {
  border-color: rgba(255, 255, 255, 0.9);
  transform: rotate(225deg) translate(-1px, -1px);
}

@keyframes contactSelectIn {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.contact-select:focus-visible {
  border-color: rgba(var(--accent-2-rgb), 0.4);
  background-color: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 0 1px rgba(var(--accent-2-rgb), 0.11);
}

.contact-honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__status {
  min-height: 16px;
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 11.5px;
  line-height: 1.4;
}

.contact-form__status[data-state="success"] {
  color: rgba(255, 255, 255, 0.78);
}

.contact-form__status[data-state="error"] {
  color: rgba(255, 186, 186, 0.86);
}

.contact-modal__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 4px;
}

.contact-modal__actions .button {
  min-height: 38px;
  padding: 0 18px;
  border-radius: 10px;
  border-color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.035),
    0 10px 26px rgba(0, 0, 0, 0.24);
}

.contact-modal__actions .button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.contact-modal__actions .button::before {
  background: linear-gradient(100deg, transparent 28%, rgba(255, 255, 255, 0.18) 50%, transparent 72%);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(150px, 1fr));
  gap: 28px;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 58px 0 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer p,
.site-footer a,
.site-footer span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.footer-brand p {
  max-width: 260px;
  margin: 14px 0 0;
}

.site-footer nav,
.footer-company {
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-footer strong {
  margin-bottom: 6px;
  color: #fff;
  font-size: 11px;
}

.footer-company p {
  max-width: 230px;
  margin: 0;
}

.footer-legal {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.footer-legal p {
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10.5px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 4px;
}

.footer-bottom span,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.36);
  font-size: 10.5px;
}

.reveal {
  opacity: 0.001;
  transform: translateY(48px);
  transition:
    opacity 1000ms var(--framer-ease),
    transform 1000ms var(--framer-ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-content.reveal.visible {
  transform: translate(-50%, -47%);
}

:is(
  .mini-card,
  .capability-card,
  .stat-card,
  .quote-card,
  .trial-card,
  .story-card,
  .calculator,
  .testimonial-card,
  .team-card,
  .blog-card,
  .faq-list
).reveal {
  transform: translateY(48px) scale(0.985);
  transition:
    opacity 1000ms var(--framer-ease),
    transform 1000ms var(--framer-ease),
    border-color 1000ms var(--framer-ease),
    box-shadow 1000ms var(--framer-ease),
    background-color 1000ms var(--framer-ease);
}

:is(
  .mini-card,
  .capability-card,
  .stat-card,
  .quote-card,
  .trial-card,
  .story-card,
  .calculator,
  .testimonial-card,
  .team-card,
  .blog-card,
  .faq-list
).reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 12%, rgba(255, 255, 255, 0.08) 46%, transparent 72%);
  opacity: 0;
  transform: translateX(-105%);
}

:is(
  .mini-card,
  .capability-card,
  .stat-card,
  .quote-card,
  .trial-card,
  .story-card,
  .calculator,
  .testimonial-card,
  .team-card,
  .blog-card,
  .faq-list
).reveal.visible {
  transform: translateY(0) scale(1);
  border-color: var(--line-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 70px rgba(0, 0, 0, 0.22);
}

:is(
  .mini-card,
  .capability-card,
  .stat-card,
  .quote-card,
  .trial-card,
  .story-card,
  .calculator,
  .testimonial-card,
  .team-card,
  .blog-card,
  .faq-list
).reveal.visible::after {
  animation: boxSweep 980ms var(--framer-ease) both;
  animation-delay: calc(var(--reveal-delay, 0ms) + 80ms);
}

.capability-card.reveal .icon-stage,
.story-card.reveal .story-media,
.blog-card.reveal .blog-media,
.team-card.reveal .avatar {
  transform: translate3d(18px, 10px, 0) rotate(1deg) scale(0.98);
  transition: transform 1150ms var(--framer-ease);
  transition-delay: calc(var(--reveal-delay, 0ms) + 70ms);
  will-change: transform;
}

.capability-card.reveal.visible .icon-stage,
.story-card.reveal.visible .story-media,
.blog-card.reveal.visible .blog-media,
.team-card.reveal.visible .avatar {
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
}

.capability-card.work-card.reveal::after {
  content: none;
}

#stories .story-card.reveal::after {
  content: none;
}

#stories .story-card.reveal .story-media,
#stories .story-card.reveal.visible .story-media {
  transform: none;
  transition: none;
  will-change: auto;
}

.capability-card.reveal .icon-stage.work-shot,
.capability-card.reveal.visible .icon-stage.work-shot {
  transform: none;
  transition: none;
  will-change: auto;
}

@media (min-width: 821px) {
  .capability-section {
    padding-bottom: 72px;
  }

  .capability-stack {
    gap: 32px;
    isolation: isolate;
  }

  .capability-card {
    position: sticky;
    top: var(--stack-top);
    z-index: calc(10 + var(--stack-index));
    min-height: 446px;
    padding: 48px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 18px 60px rgba(0, 0, 0, 0.18);
  }

  .capability-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, var(--fold-highlight-alpha)), rgba(255, 255, 255, 0.007) 36%, rgba(255, 255, 255, 0) 82%),
      radial-gradient(ellipse 92% 76% at 50% -10%, rgba(var(--accent-rgb), var(--fold-glow-alpha)) 0%, rgba(var(--accent-rgb), 0.018) 44%, rgba(var(--accent-rgb), 0.006) 66%, transparent 86%),
      #111;
    opacity: 1;
  }

  .capability-card > * {
    position: relative;
    z-index: 1;
  }

  .capability-card .capability-copy,
  .capability-card .icon-stage {
    opacity: var(--fold-content-opacity);
    transition:
      opacity 260ms linear,
      transform 1150ms var(--framer-ease);
  }

  .capability-card.reveal.visible.stack-folded {
    transform: translate3d(0, var(--fold-y), 0) scale(var(--fold-scale));
    filter: brightness(var(--fold-brightness)) saturate(var(--fold-saturation));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 34px 90px rgba(0, 0, 0, 0.42);
  }

  .capability-card.stack-folded .icon-stage {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 26px 70px rgba(0, 0, 0, 0.34);
  }
}

@keyframes silkShift {
  from {
    transform: translate3d(-0.7%, -0.6%, 0) scale(1.03);
  }
  to {
    transform: translate3d(0.7%, 0.6%, 0) scale(1.045);
  }
}

@keyframes systemResolve {
  from {
    opacity: 0;
    transform: translate3d(var(--field-x), calc(var(--field-y) + 12px), 0) scale(1.02);
  }
  to {
    opacity: 1;
    transform: translate3d(var(--field-x), var(--field-y), 0) scale(1);
  }
}

@keyframes contourDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-12px, 9px, 0) scale(1.025);
  }
}

@keyframes nucleusVideoFlow {
  0% {
    opacity: 0.14;
    transform: translate3d(-3px, 2px, 0) scale(1.004) rotate(-0.16deg);
  }
  48% {
    opacity: 0.24;
    transform: translate3d(2px, -2px, 0) scale(1.01) rotate(0.08deg);
  }
  100% {
    opacity: 0.18;
    transform: translate3d(5px, -4px, 0) scale(1.012) rotate(0.18deg);
  }
}

@keyframes mediaShift {
  from {
    background-position: 0% 30%;
  }
  to {
    background-position: 100% 70%;
  }
}

@keyframes boovsCorePulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.42;
    transform: scale(1.28);
  }
}

@keyframes riskLineFlow {
  from {
    stroke-dashoffset: 0;
    opacity: 0.36;
  }
  50% {
    opacity: 0.78;
  }
  to {
    stroke-dashoffset: -42;
    opacity: 0.36;
  }
}

@keyframes geoScan {
  0%,
  100% {
    opacity: 0.22;
    filter: blur(0);
  }
  48% {
    opacity: 1;
    filter: blur(0.2px);
  }
}

@keyframes geoBarPulse {
  0%,
  100% {
    opacity: 0.58;
    transform: scaleX(0.96);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes networkLine {
  0%,
  9% {
    opacity: 0;
    stroke-dashoffset: 1000;
  }
  22%,
  78% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes networkGlow {
  0%,
  10% {
    opacity: 0;
    transform: scale(0.7);
  }
  18%,
  78% {
    opacity: 0.56;
    transform: scale(1.8);
  }
  46% {
    opacity: 0.34;
    transform: scale(2.35);
  }
  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

@keyframes networkPin {
  0%,
  13% {
    opacity: 0;
    transform: scale(0.55);
  }
  22%,
  78% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.78);
  }
}

@keyframes networkPinEnd {
  0%,
  22% {
    opacity: 0;
    transform: scale(0.45);
  }
  34%,
  75% {
    opacity: 0.82;
    transform: scale(1);
  }
  52% {
    opacity: 0.56;
    transform: scale(1.38);
  }
  100% {
    opacity: 0;
    transform: scale(0.75);
  }
}

@keyframes networkNode {
  0%,
  14% {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(5px);
  }
  25%,
  78% {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(-3px);
  }
}

@keyframes brandMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-362.6px, 0, 0);
  }
}

@keyframes boxSweep {
  0% {
    opacity: 0;
    transform: translateX(-105%);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(105%);
  }
}

@keyframes framerAppear {
  from {
    opacity: 0.001;
    transform: translateY(48px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .hero-cursor-light,
  .system-nucleus__flow,
  .system-nucleus__wave {
    display: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .hero-cursor-light,
  .system-nucleus__flow,
  .system-nucleus__wave {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    width: min(100% - 24px, 620px);
  }

  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-button {
    justify-self: end;
    display: grid;
    gap: 5px;
    width: 34px;
    padding: 10px;
    border: 0;
    background: transparent;
    color: #fff;
  }

  .menu-button span {
    display: block;
    height: 1px;
    background: currentColor;
  }

  .mobile-nav {
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    background: rgba(10, 10, 10, 0.96);
  }

  .mobile-nav.open {
    display: grid;
    gap: 12px;
  }

  .mobile-nav a {
    color: var(--muted);
    font-size: 13px;
  }

  .section,
  .site-footer {
    width: min(100% - 28px, 620px);
  }

  .hero {
    width: 100vw;
    min-height: clamp(680px, 82svh, 760px);
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
  }

  .hero .hero-video-source {
    filter: brightness(0.68) contrast(1.2) saturate(1.34);
  }

  .hero.video-webgl-ready .motion-canvas {
    opacity: 0.66 !important;
  }

  .hero .silk-overlay {
    opacity: 0.8;
    background:
      radial-gradient(ellipse at 50% 72%, rgba(var(--accent-2-rgb), 0.22), transparent 36%),
      radial-gradient(ellipse at 38% 78%, rgba(42, 142, 255, 0.16), transparent 34%),
      linear-gradient(115deg, transparent 0 15%, rgba(var(--accent-2-rgb), 0.36) 24%, transparent 37% 48%, rgba(var(--accent-rgb), 0.52) 62%, transparent 76%),
      linear-gradient(24deg, rgba(255, 255, 255, 0.09), transparent 28% 73%, rgba(255, 255, 255, 0.11));
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.38) 13%, rgba(0, 0, 0, 0.04) 38%, rgba(0, 0, 0, 0.04) 62%, rgba(0, 0, 0, 0.38) 87%, rgba(0, 0, 0, 0.72) 100%),
      linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, transparent 22%, rgba(0, 0, 0, 0.08) 54%, rgba(0, 0, 0, 0.24) 74%, rgba(0, 0, 0, 0.82) 94%, #000 100%),
      radial-gradient(ellipse at 50% 76%, rgba(129, 73, 255, 0.12), transparent 40%),
      radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.76), transparent 58%);
  }

  .hero-system {
    z-index: 3;
    animation-duration: 920ms;
    animation-delay: 40ms;
  }

  .hero-system::before {
    opacity: 0.24;
    background-size: 16px 16px, 100% 100%, 100% 100%;
  }

  .hero-system::after {
    opacity: 0.18;
    -webkit-mask-image: radial-gradient(ellipse at 54% 34%, black 0 32%, transparent 70%);
    mask-image: radial-gradient(ellipse at 54% 34%, black 0 32%, transparent 70%);
  }

  .system-nucleus {
    --nucleus-opacity: 0.17;
    top: 53%;
    left: 50%;
    width: min(110vw, 532px);
    opacity: var(--nucleus-opacity);
    transform: translate3d(-50%, -50%, 0) translate3d(var(--nucleus-x), var(--nucleus-y), 0) rotate(var(--nucleus-rotate));
  }

  .hero-content {
    margin-top: 0;
  }

  .hero-proof {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .section {
    padding-top: 72px;
  }

  #capabilities {
    padding-top: 24px;
  }

  .section-heading,
  .capability-card,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .stats-grid,
  .story-grid,
  .blog-grid,
  .testimonial-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .mini-card span {
    margin-bottom: 28px;
  }

  .capability-card {
    padding: 22px;
  }

  .quote-card,
  .trial-card {
    grid-column: auto;
  }

  .cta-section {
    min-height: 380px;
  }

  .cta-content h2 {
    white-space: normal;
  }

  .contact-modal {
    align-items: end;
    padding: 12px;
  }

  .contact-modal__panel {
    width: 100%;
    max-height: calc(100svh - 24px);
    padding: 22px;
  }

  .contact-modal__header {
    padding-right: 38px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-modal__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-modal__actions .button {
    width: auto;
    max-width: 100%;
  }

  .footer-company p {
    max-width: 100%;
  }

  .footer-legal {
    margin-top: 2px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .story-media,
  .blog-media,
  .avatar {
    height: 220px;
  }
}

@media (max-width: 460px) {
  .hero {
    min-height: clamp(650px, 82svh, 730px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .button {
    width: 100%;
    max-width: 190px;
  }

  .section-heading h2 {
    font-size: 25px;
  }

  .story-metrics {
    flex-direction: column;
  }
}
