:root {
  color-scheme: dark;
  --bg: #05020a;
  --panel: rgba(16, 12, 24, .66);
  --panel-strong: rgba(24, 18, 34, .78);
  --line: rgba(236, 210, 255, .14);
  --text: #fbf7ff;
  --soft: #d8cbe5;
  --muted: #9788a8;
  --pink: #f3a7ff;
  --violet: #bc86ff;
  --cyan: #84f3ff;
  --green: #9dffbc;
  --shadow: 0 26px 80px rgba(0, 0, 0, .48);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-fast: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}
body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(202, 125, 255, .23), transparent 26%),
    radial-gradient(circle at 84% 16%, rgba(132, 243, 255, .12), transparent 24%),
    linear-gradient(180deg, #05020a 0%, #09040f 48%, #030106 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 42%, transparent 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(132,243,255,.045) 42%, transparent 50%),
    linear-gradient(245deg, transparent 0 46%, rgba(243,167,255,.04) 54%, transparent 62%);
  opacity: .7;
  animation: backgroundSweep 14s linear infinite;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img, canvas { max-width: 100%; }

#venture-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: .74;
}
.site-glow {
  position: fixed;
  inset: auto -12% -28% -12%;
  height: 52vh;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(188,134,255,.22), transparent 68%);
  pointer-events: none;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  background:
    radial-gradient(circle at 50% 44%, rgba(132,243,255,.13), transparent 24%),
    radial-gradient(circle at center, rgba(202,125,255,.28), transparent 36%),
    linear-gradient(180deg, #000 0%, #07020b 56%, #000 100%);
  transition: opacity .75s var(--ease), transform .75s var(--ease), visibility 0s linear .75s;
}
.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  pointer-events: none;
}
.loader-grid {
  position: absolute;
  inset: -20%;
  background:
    conic-gradient(from 120deg, transparent, rgba(188,134,255,.2), transparent, rgba(132,243,255,.1), transparent),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  animation: loaderSpin 8s linear infinite;
  opacity: .58;
}
.loader-radar {
  position: absolute;
  width: min(92vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(132,243,255,.12);
  background:
    repeating-conic-gradient(from 0deg, rgba(132,243,255,.12) 0deg 1deg, transparent 1deg 18deg),
    radial-gradient(circle, transparent 0 28%, rgba(243,167,255,.11) 28.4% 28.8%, transparent 29.2% 45%, rgba(132,243,255,.13) 45.4% 45.8%, transparent 46.2%);
  mask-image: radial-gradient(circle, transparent 0 18%, #000 25% 68%, transparent 76%);
  opacity: .62;
  animation: radarPulse 3.4s var(--ease) infinite;
}
.loader-core {
  position: relative;
  width: min(58vw, 250px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.loader-logo {
  width: 40%;
  z-index: 2;
  filter: drop-shadow(0 0 24px rgba(226,164,255,.7));
  animation: loaderLogo 1.7s var(--ease) infinite alternate;
}
.loader-orbit {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px solid rgba(236,210,255,.26);
  box-shadow: inset 0 0 28px rgba(188,134,255,.24), 0 0 46px rgba(188,134,255,.2);
  animation: orbit 2.8s linear infinite;
}
.orbit-beta {
  inset: 21%;
  border-style: dashed;
  border-color: rgba(132,243,255,.34);
  transform: rotateX(66deg);
  animation: orbitReverse 2.1s linear infinite;
}
.loader-orbit::before,
.loader-orbit::after {
  content: "";
  position: absolute;
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 22px var(--cyan);
}
.loader-orbit::before { top: 14%; left: 9%; }
.loader-orbit::after { right: 10%; bottom: 16%; background: var(--pink); box-shadow: 0 0 22px var(--pink); }
.loader-particles span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  transform: rotate(calc(var(--i) * 45deg)) translateX(98px);
  animation: spark 1.3s var(--ease) infinite;
}
.loader-particles span:nth-child(1) { --i: 0; }
.loader-particles span:nth-child(2) { --i: 1; animation-delay: .1s; }
.loader-particles span:nth-child(3) { --i: 2; animation-delay: .2s; }
.loader-particles span:nth-child(4) { --i: 3; animation-delay: .3s; }
.loader-particles span:nth-child(5) { --i: 4; animation-delay: .4s; }
.loader-particles span:nth-child(6) { --i: 5; animation-delay: .5s; }
.loader-particles span:nth-child(7) { --i: 6; animation-delay: .6s; }
.loader-particles span:nth-child(8) { --i: 7; animation-delay: .7s; }
.loader-diamond {
  position: absolute;
  width: 74%;
  aspect-ratio: 1;
  border: 1px solid rgba(243,167,255,.16);
  transform: rotate(45deg);
  box-shadow: 0 0 40px rgba(132,243,255,.06), inset 0 0 28px rgba(243,167,255,.08);
  animation: diamondBreathe 2.2s var(--ease) infinite;
}
.loader-code {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.loader-code span {
  position: absolute;
  padding: 7px 9px;
  border: 1px solid rgba(132,243,255,.16);
  border-radius: 6px;
  background: rgba(0,0,0,.24);
  color: rgba(210,245,255,.78);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  animation: codeBlink 1.8s steps(2, end) infinite;
}
.loader-code span:nth-child(1) { left: -18%; top: 24%; }
.loader-code span:nth-child(2) { right: -18%; top: 50%; animation-delay: .25s; }
.loader-code span:nth-child(3) { left: 6%; bottom: -2%; animation-delay: .45s; }
.loader-copy {
  position: relative;
  display: grid;
  gap: 10px;
  justify-items: center;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 2px;
}
.loader-copy img { width: min(68vw, 390px); }
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
}
.header::before {
  content: "";
  position: absolute;
  inset: 10px -14px;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  background: rgba(5, 2, 10, .58);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 50px rgba(0,0,0,.24);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark { width: 34px; height: 40px; object-fit: contain; }
.brand-word { width: 190px; height: auto; }
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
}
.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--soft);
  font-size: 14px;
  transform: translate3d(0,0,0);
  transition: background-color .16s ease, color .16s ease, transform .16s ease;
}
.nav a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
  transform: translate3d(0,-1px,0);
}
.nav a:active {
  transform: translate3d(0,0,0) scale(.98);
}
.header-action,
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-weight: 700;
  transform: translate3d(0,0,0);
  transition:
    transform .16s ease,
    border-color .18s ease,
    background-color .18s ease,
    box-shadow .18s ease,
    filter .18s ease;
}
.header-action::before,
.button::before,
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.20), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.12), transparent 72%);
  transition: opacity .14s ease;
  pointer-events: none;
}
.header-action::after,
.button::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.12);
}
.button.primary,
.header-action {
  background: linear-gradient(135deg, rgba(243,167,255,.96), rgba(132,243,255,.78));
  color: #120818;
  border-color: transparent;
}
.button.secondary { color: var(--soft); }
.button:hover,
.header-action:hover,
.project-card:hover {
  transform: translate3d(0,-2px,0);
  border-color: rgba(243,167,255,.36);
  box-shadow: 0 10px 28px rgba(132,243,255,.10), 0 12px 34px rgba(243,167,255,.10);
  filter: saturate(1.05);
}
.button:hover::before,
.header-action:hover::before,
.project-card:hover::before {
  opacity: 1;
}
.button:active,
.header-action:active,
.project-card:active {
  transform: translate3d(0,0,0) scale(.975);
  box-shadow: 0 5px 16px rgba(132,243,255,.08);
  transition-duration: .07s;
}

.section-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  align-items: center;
  min-height: calc(100svh - 88px);
  padding: 52px 0 62px;
  gap: 44px;
}
.kicker {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.4px;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: clamp(46px, 6vw, 78px);
  line-height: .98;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5.6vw, 70px);
  line-height: .94;
  letter-spacing: 0;
}
.hero-text,
.section-copy p,
.contact-card p {
  max-width: 650px;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.7;
}
.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-engine {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 56% 46%, rgba(132,243,255,.16), transparent 28%),
    radial-gradient(circle at 44% 50%, rgba(243,167,255,.2), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 34%),
    rgba(14, 10, 22, .52);
  box-shadow: var(--shadow);
  overflow: hidden;
  perspective: 900px;
}
.hero-engine::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .42;
  mask-image: radial-gradient(circle at center, #000 0 56%, transparent 78%);
}
.engine-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(132,243,255,.16), transparent);
  height: 34%;
  opacity: .52;
  animation: scanline 4.4s linear infinite;
}
.engine-status {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 4px;
  min-width: 118px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background: rgba(5,2,10,.46);
  backdrop-filter: blur(18px);
}
.engine-status span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.engine-status b {
  color: var(--green);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.engine-status.top-left { top: 22px; left: 22px; }
.engine-status.bottom-right { top: 22px; right: 22px; }
.engine-frame {
  position: relative;
  width: min(80vw, 430px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}
.engine-grid {
  position: absolute;
  inset: 6%;
  border: 1px solid rgba(255,255,255,.08);
  transform: rotate(45deg);
  background:
    linear-gradient(rgba(132,243,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243,167,255,.08) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .32;
}
.engine-halo {
  position: absolute;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243,167,255,.18), transparent 66%);
  filter: blur(2px);
  animation: enginePulse 2.7s var(--ease) infinite;
}
.engine-logo {
  width: 41%;
  z-index: 2;
  opacity: 1;
  filter:
    contrast(1.08)
    saturate(1.08)
    drop-shadow(0 0 12px rgba(235,170,255,.62))
    drop-shadow(0 0 26px rgba(132,243,255,.18));
  animation: logoHover 3.2s var(--ease) infinite;
  backface-visibility: hidden;
}
.engine-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(236,210,255,.24);
}
.ring-one {
  inset: 12%;
  animation: orbit 11s linear infinite;
}
.ring-two {
  inset: 26%;
  border-color: rgba(132,243,255,.24);
  transform: rotateX(62deg);
  animation: orbitReverse 8s linear infinite;
}
.ring-three {
  inset: 3%;
  border-style: dashed;
  border-color: rgba(157,255,188,.13);
  animation: orbit 18s linear infinite reverse;
}
.engine-ring::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 24px var(--pink);
}
.engine-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  backdrop-filter: blur(16px);
  animation: nodeFloat 3.8s var(--ease) infinite;
}
.engine-node span {
  display: block;
  margin-bottom: 2px;
  color: var(--cyan);
  font-size: 9px;
}
.node-a { top: 11%; right: 18%; }
.node-b { left: 8%; bottom: 28%; animation-delay: .35s; }
.node-c { right: 14%; bottom: 12%; animation-delay: .7s; }
.engine-trace {
  position: absolute;
  width: 68%;
  height: 68%;
  border: 1px dashed rgba(255,255,255,.12);
  transform: rotate(45deg);
}
.engine-beam {
  position: absolute;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(132,243,255,.58), transparent);
  transform-origin: center;
  opacity: .64;
}
.beam-a { transform: rotate(28deg) translateX(36%); }
.beam-b { transform: rotate(-34deg) translateX(-30%); }
.engine-console {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.7);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.engine-console i {
  display: block;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
}
.engine-console i::before {
  content: "";
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
  animation: consoleLoad 2.2s var(--ease) infinite;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.035);
}
.ticker-track {
  display: flex;
  gap: 34px;
  width: max-content;
  padding: 18px 0;
  animation: ticker 24s linear infinite;
}
.ticker span {
  color: rgba(255,255,255,.62);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 72px 0 30px;
}
.metric {
  position: relative;
  overflow: hidden;
  min-height: 178px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(132,243,255,.075), transparent 34%),
    rgba(255,255,255,.052);
}
.metric::before,
.feature-card::before,
.timeline-step::after,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(90deg, var(--cyan), transparent 28%) top left / 42% 1px no-repeat,
    linear-gradient(180deg, var(--pink), transparent 30%) top left / 1px 42% no-repeat,
    linear-gradient(270deg, rgba(132,243,255,.65), transparent 28%) bottom right / 38% 1px no-repeat,
    linear-gradient(0deg, rgba(243,167,255,.58), transparent 30%) bottom right / 1px 38% no-repeat;
  opacity: .45;
}
.metric strong {
  display: block;
  margin-bottom: 18px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: .9;
}
.metric span { color: var(--muted); line-height: 1.45; }

.split {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 28px;
  padding: 70px 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.feature-card,
.timeline-step,
.project-card,
.project-preview,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.07), transparent 40%),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}
.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 242px;
  padding: 24px;
  transform-style: preserve-3d;
  will-change: transform;
}
.feature-card.is-visible,
.hero-engine.is-visible {
  transition:
    opacity .28s ease,
    transform .075s linear,
    border-color .16s ease,
    box-shadow .16s ease;
}
.feature-card.is-tilting,
.hero-engine.is-tilting {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--tilt-lift, 0));
  border-color: rgba(132,243,255,.26);
  box-shadow: 0 22px 60px rgba(132,243,255,.08), var(--shadow);
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(132,243,255,.10), transparent 24%),
    repeating-linear-gradient(90deg, transparent 0 15px, rgba(255,255,255,.026) 15px 16px);
  opacity: .36;
}
.feature-card span,
.timeline-step span,
.project-card span,
.preview-label {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.feature-card h3,
.timeline-step h3,
.project-preview h3 {
  margin: 46px 0 12px;
  font-size: 24px;
}
.feature-card p,
.timeline-step p,
.project-preview p {
  color: var(--muted);
  line-height: 1.6;
}

.pipeline { padding: 42px 0 70px; }
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(132,243,255,.6), rgba(243,167,255,.6), transparent);
}
.timeline-step {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 24px;
}
.timeline-step::before {
  content: "";
  position: absolute;
  top: 35px;
  right: 24px;
  width: 14px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 24px var(--pink);
}

.projects { padding: 40px 0 72px; }
.project-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}
.project-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 126px;
  padding: 22px;
  text-align: left;
  cursor: pointer;
  transition:
    transform .16s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease,
    filter .18s ease;
}
.project-card::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
  opacity: 0;
  transform: scaleX(.36);
  transform-origin: left;
  transition: opacity .14s ease, transform .16s var(--ease-fast);
}
.project-card:hover::after,
.project-card.is-active::after {
  opacity: .82;
  transform: scaleX(1);
}
.project-card b {
  display: block;
  margin-top: 22px;
  font-size: 20px;
  line-height: 1.2;
}
.project-card.is-active {
  border-color: rgba(243,167,255,.55);
  background:
    radial-gradient(circle at 20% 10%, rgba(243,167,255,.22), transparent 34%),
    var(--panel-strong);
}
.project-preview {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 26px;
  align-items: center;
  min-height: 250px;
  margin-top: 12px;
  padding: 30px;
  overflow: hidden;
}
.project-preview h3 { margin-top: 18px; font-size: clamp(28px, 4vw, 48px); }
.preview-stack {
  position: relative;
  height: 180px;
}
.preview-stack i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(243,167,255,.22), rgba(132,243,255,.08));
  transform: translate(calc(var(--n) * 24px), calc(var(--n) * 18px)) rotate(calc(var(--n) * -5deg));
}
.preview-stack i:nth-child(1) { --n: 0; }
.preview-stack i:nth-child(2) { --n: 1; }
.preview-stack i:nth-child(3) { --n: 2; }

.contact { padding: 54px 0 80px; }
.contact-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: clamp(28px, 6vw, 70px);
  background:
    radial-gradient(circle at 80% 20%, rgba(132,243,255,.16), transparent 28%),
    radial-gradient(circle at 18% 80%, rgba(243,167,255,.18), transparent 30%),
    rgba(16, 12, 24, .74);
}
.contact-word { width: min(76vw, 520px); margin-bottom: 34px; }
.contact-card h2 { max-width: 880px; }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 42px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.feature-card.reveal.is-visible.is-tilting,
.hero-engine.reveal.is-visible.is-tilting {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--tilt-lift, 0));
}

@keyframes backgroundSweep {
  from { transform: translateX(-8%) translateY(-3%); }
  to { transform: translateX(8%) translateY(3%); }
}
@keyframes loaderSpin { to { transform: rotate(360deg) scale(1.04); } }
@keyframes radarPulse {
  0%, 100% { opacity: .42; transform: scale(.94) rotate(0deg); }
  50% { opacity: .72; transform: scale(1.04) rotate(18deg); }
}
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes orbitReverse { to { transform: rotateX(62deg) rotate(-360deg); } }
@keyframes loaderLogo { from { transform: scale(.92) rotate(-4deg); } to { transform: scale(1.04) rotate(3deg); } }
@keyframes diamondBreathe {
  0%, 100% { opacity: .38; transform: rotate(45deg) scale(.92); }
  50% { opacity: .84; transform: rotate(45deg) scale(1.04); }
}
@keyframes codeBlink {
  0%, 100% { opacity: .34; }
  50% { opacity: .92; }
}
@keyframes spark {
  0%, 100% { opacity: .2; transform: rotate(calc(var(--i) * 45deg)) translateX(74px) scale(.6); }
  50% { opacity: 1; transform: rotate(calc(var(--i) * 45deg)) translateX(108px) scale(1.1); }
}
@keyframes scanline {
  from { transform: translateY(-115%); }
  to { transform: translateY(310%); }
}
@keyframes enginePulse {
  0%, 100% { opacity: .42; transform: scale(.92); }
  50% { opacity: .86; transform: scale(1.12); }
}
@keyframes logoHover {
  0%, 100% { transform: translateY(0) rotate(-1deg) scale(1); }
  50% { transform: translateY(-8px) rotate(1.5deg) scale(1.045); }
}
@keyframes nodeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes consoleLoad {
  0% { transform: translateX(-82%); opacity: .5; }
  55% { opacity: 1; }
  100% { transform: translateX(138%); opacity: .5; }
}
@keyframes ticker { to { transform: translateX(-50%); } }

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

@media (max-width: 940px) {
  .header { gap: 10px; }
  .brand-word { width: 150px; }
  .nav { display: none; }
  .header-action { min-height: 42px; padding: 0 14px; font-size: 13px; }
  .hero,
  .split,
  .project-preview {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    padding-top: 34px;
  }
  .hero-engine { min-height: 360px; }
  .engine-frame { width: min(82vw, 390px); }
  .engine-console {
    grid-template-columns: auto 1fr;
    gap: 8px;
  }
  .metrics,
  .timeline,
  .project-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .timeline::before { display: none; }
}

@media (max-width: 640px) {
  body::after {
    opacity: .42;
    animation: none;
  }
  #venture-field { opacity: .48; }
  .section-panel,
  .header,
  .footer {
    width: min(100% - 24px, 1180px);
  }
  .header {
    padding: 12px 0;
  }
  .brand {
    gap: 8px;
  }
  .brand-mark {
    width: 28px;
    height: 34px;
  }
  .brand-word { width: 124px; }
  .header::before { inset: 10px 0; }
  .header-action {
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }
  .hero {
    gap: 22px;
    padding-top: 28px;
    padding-bottom: 38px;
  }
  h1 {
    font-size: clamp(34px, 9.8vw, 44px);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }
  h2 {
    font-size: clamp(30px, 8.6vw, 44px);
    line-height: 1;
  }
  .kicker {
    margin-bottom: 14px;
    font-size: 11px;
  }
  .hero-text,
  .section-copy p,
  .contact-card p {
    font-size: 16px;
    line-height: 1.6;
  }
  .hero-actions,
  .contact-actions {
    display: grid;
  }
  .button { width: 100%; }
  .loader-code span { display: none; }
  .engine-status { display: none; }
  .hero-engine {
    min-height: 330px;
  }
  .engine-frame {
    width: min(82vw, 330px);
  }
  .engine-logo {
    width: 44%;
  }
  .engine-node {
    width: 60px;
    height: 60px;
    font-size: 10px;
  }
  .engine-console {
    left: 14px;
    right: 14px;
    bottom: 14px;
    font-size: 9px;
  }
  .ticker-track {
    gap: 22px;
    padding: 14px 0;
  }
  .ticker span {
    font-size: 11px;
  }
  .metrics,
  .feature-grid,
  .timeline,
  .project-board {
    grid-template-columns: 1fr;
  }
  .metrics {
    padding: 46px 0 18px;
    gap: 10px;
  }
  .metric {
    min-height: 118px;
    padding: 20px;
  }
  .metric strong {
    margin-bottom: 10px;
    font-size: 46px;
  }
  .split {
    gap: 22px;
    padding: 48px 0;
  }
  .feature-card,
  .timeline-step {
    min-height: 184px;
    padding: 20px;
  }
  .feature-card h3,
  .timeline-step h3 {
    margin-top: 30px;
  }
  .pipeline,
  .projects {
    padding: 34px 0 48px;
  }
  .project-card {
    min-height: 104px;
    padding: 18px;
  }
  .project-card b {
    margin-top: 16px;
    font-size: 18px;
  }
  .project-preview {
    padding: 22px;
    min-height: 0;
  }
  .preview-stack {
    height: 108px;
    opacity: .7;
  }
  .contact {
    padding: 36px 0 56px;
  }
  .contact-card {
    min-height: 0;
    padding: 26px;
  }
  .contact-word {
    margin-bottom: 24px;
  }
  .footer { align-items: flex-start; flex-direction: column; }
}
