:root {
  --bg: #050609;
  --panel: rgba(14, 18, 28, 0.74);
  --panel-strong: rgba(18, 25, 36, 0.92);
  --text: #f3f7fb;
  --muted: #9ca8b8;
  --line: rgba(255, 255, 255, 0.14);
  --green: #28e98c;
  --cyan: #61d8ff;
  --pink: #ff5ac8;
  --amber: #f5c760;
  --font-head: "Orbitron", sans-serif;
  --font-body: "Rajdhani", sans-serif;
  --font-mono: "Share Tech Mono", monospace;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 90, 200, 0.12), transparent 28vw),
    radial-gradient(circle at 18% 70%, rgba(40, 233, 140, 0.12), transparent 34vw),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, 0.045) 50%, transparent 50%);
  background-size: 100% 4px;
  mix-blend-mode: overlay;
  opacity: 0;
}

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

img,
video,
canvas {
  display: block;
}

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

#signal-canvas,
.ambient-video,
.cursor-light {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.scroll-progress {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 60;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--pink));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  pointer-events: none;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.045)),
    rgba(5, 8, 13, 0.74);
  backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.94);
  transition: opacity 240ms ease, transform 240ms ease, border-color 240ms ease, color 240ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  color: var(--green);
  border-color: rgba(40, 233, 140, 0.5);
  transform: translateY(-3px) scale(1.04);
}

#signal-canvas {
  z-index: -2;
  opacity: 0.62;
}

.ambient-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -4;
  opacity: 0.18;
  filter: saturate(1.5) contrast(1.2);
}

.cursor-light {
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(40, 233, 140, 0.18), rgba(97, 216, 255, 0.07) 38%, transparent 68%);
  transform: translate3d(calc(var(--mx, 50vw) - 50%), calc(var(--my, 50vh) - 50%), 0);
  z-index: -1;
  transition: none;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: min(780px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(5, 6, 9, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 18px 70px rgba(0, 0, 0, 0.34);
}

.brand img {
  width: 42px;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.nav-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(40, 233, 140, 0.46);
  background: rgba(40, 233, 140, 0.1);
}

.nav-toggle span {
  grid-area: 1 / 1;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translateY(var(--line-y, 0)) rotate(var(--line-r, 0deg));
  transition: transform 220ms ease, opacity 180ms ease;
}

.nav-toggle span:nth-child(1) {
  --line-y: -6px;
}

.nav-toggle span:nth-child(3) {
  --line-y: 6px;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  --line-y: 0;
  --line-r: 45deg;
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  --line-y: 0;
  --line-r: -45deg;
}

.panel-logo {
  width: 128px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav a {
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  text-transform: uppercase;
  transition: color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.primary-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.primary-nav a.active {
  color: var(--green);
  background: rgba(40, 233, 140, 0.1);
  box-shadow: inset 0 0 0 1px rgba(40, 233, 140, 0.28), 0 0 18px rgba(40, 233, 140, 0.08);
}

.icon-button,
.socials a,
.testimonial-controls button,
.portfolio-controls button {
  font-family: var(--font-head);
  font-weight: 700;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.profile-panel {
  position: sticky;
  top: 110px;
  z-index: 2;
  width: 100%;
  max-width: 340px;
  align-self: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  backdrop-filter: blur(24px);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
}

.portrait {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
}

.profile-panel p,
.profile-panel>a {
  display: block;
  text-align: center;
}

.profile-panel>a:not(.magnet-button) {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.profile-panel p {
  color: var(--muted);
  margin: 4px 0 18px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

.magnet-button,
.ghost-button,
.contact-form button {
  position: relative;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
}

.magnet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #06100c;
  font-family: var(--font-head);
  font-weight: 750;
  text-transform: uppercase;
  box-shadow: 0 18px 52px rgba(40, 233, 140, 0.24);
  transition: transform 360ms var(--project-ease, cubic-bezier(.83, 0, .17, 1)), box-shadow 360ms ease;
}

.magnet-button::before,
.ghost-button::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
  animation: ledPulse 1.8s ease-in-out infinite;
}

.magnet-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 22px;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 700;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

main {
  width: min(var(--max), calc(100% - 34px));
  margin: 0 auto;
}

.section {
  min-height: 70vh;
  padding: 112px 0;
  position: relative;
  opacity: 0.45;
  transform: translateY(42px);
  transition: opacity 900ms ease, transform 900ms cubic-bezier(.16, 1, .3, 1);
}

.section.is-visible,
.hero.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section::before {
  content: attr(id);
  position: absolute;
  top: 54px;
  right: 0;
  color: rgba(255, 255, 255, 0.045);
  font-size: clamp(42px, 7vw, 118px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  pointer-events: none;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 118px;
  padding-bottom: 82px;
}

.hero-tech-bg {
  position: absolute;
  inset: 70px -8vw 20px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.78;
}

.hero-tech-bg::before,
.hero-tech-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.hero-tech-bg::before {
  background:
    conic-gradient(from var(--hero-ray-angle, 0deg) at 64% 46%, transparent 0deg, rgba(40, 233, 140, 0.18) 18deg, transparent 36deg, transparent 122deg, rgba(97, 216, 255, 0.16) 140deg, transparent 158deg, transparent 244deg, rgba(255, 90, 200, 0.12) 262deg, transparent 280deg, transparent 360deg),
    linear-gradient(115deg, transparent 0 28%, rgba(40, 233, 140, 0.16) 29%, transparent 31% 48%, rgba(97, 216, 255, 0.12) 49%, transparent 51%),
    linear-gradient(35deg, transparent 0 42%, rgba(255, 90, 200, 0.1) 43%, transparent 45%),
    radial-gradient(circle at 70% 42%, rgba(40, 233, 140, 0.18), transparent 0 4px, rgba(40, 233, 140, 0.08) 5px, transparent 8px),
    radial-gradient(circle at 22% 66%, rgba(97, 216, 255, 0.18), transparent 0 4px, rgba(97, 216, 255, 0.08) 5px, transparent 8px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 180px 180px, 220px 220px;
  filter: blur(0.2px) saturate(1.25);
  animation: heroAbstractRays 10s linear infinite;
}

.hero-tech-bg::after {
  inset: 10%;
  border: 1px solid rgba(40, 233, 140, 0.13);
  box-shadow:
    0 0 80px rgba(40, 233, 140, 0.08),
    inset 0 0 120px rgba(97, 216, 255, 0.05);
  transform: rotate(-10deg) scale(1.18);
  animation: heroRingFloat 10s ease-in-out infinite alternate;
}

.hero-tech-bg span {
  position: absolute;
  width: clamp(220px, 28vw, 460px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle, rgba(40, 233, 140, 0.12), transparent 64%);
  filter: blur(0.2px);
  animation: heroOrbFloat 9s ease-in-out infinite alternate;
}

.hero-tech-bg span:nth-child(1) {
  right: 4%;
  top: 4%;
}

.hero-tech-bg span:nth-child(2) {
  left: 8%;
  bottom: 4%;
  width: clamp(180px, 22vw, 340px);
  background: radial-gradient(circle, rgba(97, 216, 255, 0.1), transparent 64%);
  animation-delay: -3s;
}

.hero-tech-bg span:nth-child(3) {
  right: 28%;
  bottom: 0;
  width: clamp(140px, 18vw, 260px);
  background: radial-gradient(circle, rgba(255, 90, 200, 0.08), transparent 64%);
  animation-delay: -5s;
}

.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 36px;
}

.hero-main {
  max-width: 780px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  padding: 8px 15px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 22px var(--green);
}

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

h1 {
  font-family: var(--font-head);
  max-width: 920px;
  font-size: clamp(42px, 5.8vw, 76px);
  line-height: 1.02;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 22px;
  text-wrap: balance;
  filter: drop-shadow(0 24px 70px rgba(40, 233, 140, 0.16));
}

h1>span {
  display: block;
  white-space: nowrap;
}

.hero-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.3vw, 18px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h2 {
  font-family: var(--font-head);
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.04;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 30px;
  text-wrap: balance;
}

.split-word {
  display: inline-block;
  transform: translateY(110%) rotate(7deg);
  opacity: 0;
  filter: blur(10px);
  transition: transform 860ms cubic-bezier(.16, 1, .3, 1), opacity 860ms ease, filter 860ms ease;
  transition-delay: calc(var(--i) * 38ms);
}

.is-visible .split-word {
  transform: translateY(0) rotate(0deg);
  opacity: 1;
  filter: blur(0);
}

.motion-item {
  --motion-delay: calc(var(--motion-index, 0) * 70ms);
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.97);
  filter: blur(14px) saturate(0.82);
  transition:
    opacity 780ms ease var(--motion-delay),
    transform 940ms cubic-bezier(.16, 1, .3, 1) var(--motion-delay),
    filter 940ms ease var(--motion-delay),
    border-color 260ms ease,
    box-shadow 260ms ease;
  will-change: opacity, transform, filter;
}

.motion-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0) saturate(1);
}

.motion-item::selection {
  background: rgba(40, 233, 140, 0.28);
}

.hero-actions.motion-item,
.facts>div.motion-item,
.profile-panel.motion-item,
.contact-form.motion-item {
  transform: translate3d(0, 28px, 0) perspective(900px) rotateX(8deg) scale(0.97);
  transform-origin: 50% 100%;
}

.hero-actions.motion-item.is-visible,
.facts>div.motion-item.is-visible,
.profile-panel.motion-item.is-visible,
.contact-form.motion-item.is-visible {
  transform: translate3d(0, 0, 0) perspective(900px) rotateX(0deg) scale(1);
}

.story p.motion-item,
.tool-grid .motion-item,
.service-card.motion-item {
  transform: translate3d(0, 42px, 0) scale(0.94);
}

.story p.motion-item.is-visible,
.tool-grid .motion-item.is-visible,
.service-card.motion-item.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.hero-copy.motion-item,
.section-head>p.motion-item,
.contact-mail.motion-item {
  transform: translate3d(-18px, 18px, 0);
  clip-path: inset(0 18% 0 0 round 10px);
}

.hero-copy.motion-item.is-visible,
.section-head>p.motion-item.is-visible,
.contact-mail.motion-item.is-visible {
  transform: translate3d(0, 0, 0);
  clip-path: inset(0 0 0 0 round 10px);
}

.brand-loop img.motion-item {
  transform: translate3d(0, 22px, 0) scale(0.9);
}

.brand-loop img.motion-item.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

h2 .accent,
h1::selection,
h2::selection {
  color: var(--green);
}

.hero-copy {
  max-width: 520px;
  color: var(--muted);
  font-weight: 500;
  font-size: clamp(17px, 1.6vw, 20px);
  margin-bottom: 28px;
}

.hero-actions,
.facts,
.section-head,
.testimonial-controls,
.portfolio-controls {
  display: flex;
  align-items: center;
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.orbit-link {
  position: absolute;
  right: 0;
  bottom: 82px;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.orbit-link img {
  width: 96px;
  animation: spin 7s linear infinite;
}

.orbit-link span {
  position: absolute;
  font-size: 38px;
}

.facts {
  display: flex;
  width: min(560px, 100%);
  gap: 14px;
  margin-top: 0;
}

.facts>div {
  flex: 1 1 0;
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(5, 8, 13, 0.58);
  backdrop-filter: blur(18px) saturate(1.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 24px 80px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
}

.facts>div::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--pink));
  opacity: 0.68;
}

.facts strong,
.facts span {
  color: var(--green);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
}

.facts p {
  max-width: 190px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.about-section {
  min-height: auto;
  padding-top: 92px;
}

.about-section h2 {
  max-width: 920px;
  margin-bottom: 42px;
}

.about-content {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  align-items: start;
  gap: clamp(24px, 4vw, 54px);
}

.story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  color: #c7d0dc;
  font-size: 18px;
  font-weight: 500;
}

.story p {
  min-height: 160px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
}

.story p:first-child {
  grid-column: span 2;
  min-height: 120px;
  font-size: 21px;
  color: var(--text);
}

.tilt-card,
.testimonial,
.contact-form {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 80px rgba(0, 0, 0, 0.22);
}

.section-head {
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 46px;
}

.section-head>p {
  max-width: 420px;
  color: var(--muted);
}

.section-intro {
  max-width: 720px;
  margin: -10px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 600;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tool-grid article {
  min-height: 220px;
  padding: 26px;
  border-radius: 18px;
}

.tool-grid img {
  width: 58px;
  height: 58px;
  margin-bottom: 34px;
  object-fit: contain;
  border-radius: 16px;
}

.tool-grid h3 {
  font-family: var(--font-head);
  font-size: clamp(18px, 1.45vw, 22px);
  margin-bottom: 8px;
}

.tool-grid p,
.service-list p,
.project-card span {
  color: var(--muted);
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 180ms ease, border-color 180ms ease, opacity 220ms ease;
}

.tilt-card::after,
.story p::before,
.contact-form::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(115deg, transparent 0 24%, rgba(255, 255, 255, 0.16) 42%, transparent 60%);
  transform: translateX(-120%);
}

.tilt-card,
.story p,
.contact-form {
  position: relative;
  overflow: hidden;
}

.story p::before,
.contact-form::before {
  border-radius: inherit;
}

.tilt-card.is-visible::after,
.story p.is-visible::before,
.contact-form.is-visible::before {
  animation: entranceSheen 1.1s cubic-bezier(.16, 1, .3, 1) calc(var(--motion-delay, 0ms) + 160ms) both;
}

.tilt-card:hover {
  border-color: rgba(40, 233, 140, 0.55);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
  align-items: stretch;
  margin-top: 42px;
  perspective: 1400px;
}

.service-card {
  position: relative;
  min-height: 360px;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform-style: preserve-3d;
  cursor: pointer;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  transform-style: preserve-3d;
  transition: transform 760ms cubic-bezier(.16, 1, .3, 1);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  z-index: 4;
  pointer-events: none;
  background:
    conic-gradient(from var(--sweep-angle, 0deg), transparent 0deg, transparent 302deg, rgba(40, 233, 140, 0.08) 320deg, var(--green) 338deg, var(--cyan) 350deg, var(--pink) 358deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 2px;
  filter: drop-shadow(0 0 14px rgba(40, 233, 140, 0.42));
  opacity: 0.95;
  animation: serviceEdgeSweep 3.4s linear infinite;
}

.service-card:hover .service-card-inner,
.service-card:focus-within .service-card-inner,
.service-card:focus .service-card-inner {
  transform: rotateY(180deg);
}

.service-card:nth-child(2) {
  --service-glow: rgba(97, 216, 255, 0.22);
}

.service-card:nth-child(3) {
  --service-glow: rgba(255, 90, 200, 0.2);
}

.service-card:nth-child(4) {
  --service-glow: rgba(245, 199, 96, 0.2);
}

.service-card:nth-child(5) {
  --service-glow: rgba(40, 233, 140, 0.18);
}

.service-card:nth-child(6) {
  --service-glow: rgba(97, 216, 255, 0.2);
}

.service-face {
  position: absolute;
  inset: 0;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 8%, var(--service-glow, rgba(40, 233, 140, 0.2)), transparent 46%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.035)),
    rgba(5, 8, 13, 0.68);
  backdrop-filter: blur(16px) saturate(1.2);
  backface-visibility: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 28px 90px rgba(0, 0, 0, 0.28);
}

.service-face::after {
  content: none;
}

.service-back {
  transform: rotateY(180deg);
  justify-content: center;
}

.service-icon {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--green);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 36px rgba(40, 233, 140, 0.08);
}

.service-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card.is-visible .service-icon {
  animation: iconWake 900ms cubic-bezier(.16, 1, .3, 1) calc(var(--motion-delay, 0ms) + 260ms) both;
}

.service-list h3 {
  font-family: var(--font-head);
  margin: 0;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.12;
  text-transform: uppercase;
  text-wrap: balance;
  text-align: center;
}

.service-list p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
}

.portfolio-controls {
  position: absolute;
  inset: 0 max(28px, calc((100vw - var(--max)) / 2 + 28px));
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.portfolio-controls button {
  width: 58px;
  height: 58px;
  cursor: pointer;
  font-size: 38px;
  line-height: 1;
  padding: 0 0 5px;
  pointer-events: auto;
  background: rgba(1, 6, 17, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 240ms ease, border-color 240ms ease, color 240ms ease, background 240ms ease;
}

.portfolio-controls button:hover,
.testimonial-controls button:hover {
  transform: scale(1.08) translateY(-2px);
  color: var(--green);
  border-color: rgba(40, 233, 140, 0.55);
  background: rgba(40, 233, 140, 0.14);
}

.portfolio-controls button.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.86);
}

.project-slider {
  --project-ease: cubic-bezier(.83, 0, .17, 1);
  position: relative;
  width: 100vw;
  margin-left: calc((100vw - min(var(--max), calc(100vw - 34px))) / -2);
  overflow: hidden;
  padding: 20px 0 38px;
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.project-track {
  display: flex;
  gap: clamp(18px, 2vw, 34px);
  align-items: center;
  transition: transform 900ms var(--project-ease);
  will-change: transform;
}

.project-card {
  position: relative;
  --slide-scale: 1;
  flex: 0 0 clamp(420px, 56vw, 760px);
  height: clamp(430px, 54vw, 560px);
  padding: 14px;
  border-radius: 20px;
  overflow: hidden;
  opacity: 0.48;
  transform: perspective(1200px) scale(var(--slide-scale)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: opacity 620ms ease, transform 900ms var(--project-ease), border-color 420ms ease, box-shadow 420ms ease;
}

.project-card.motion-item,
.project-card.motion-item.is-visible {
  transform: perspective(1200px) scale(var(--slide-scale)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.project-card.motion-item:not(.is-visible) {
  opacity: 0;
  filter: blur(14px) saturate(0.8);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  pointer-events: none;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(1, 6, 17, 0.96), rgba(1, 6, 17, 0.24) 52%, transparent),
    radial-gradient(circle at 35% 15%, rgba(40, 233, 140, 0.2), transparent 35%);
  pointer-events: none;
}

.project-card .shine,
.project-card::marker {
  display: none;
}

.project-card:hover {
  border-color: rgba(97, 216, 255, 0.72);
  box-shadow: 0 44px 140px rgba(0, 0, 0, 0.5), 0 0 90px rgba(97, 216, 255, 0.13);
}

.project-card.is-active:hover {
  border-color: rgba(40, 233, 140, 0.78);
}

.project-card:hover::before {
  border-color: rgba(40, 233, 140, 0.62);
  box-shadow: inset 0 0 42px rgba(40, 233, 140, 0.12);
}

.project-card:hover::after {
  background:
    linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.16) 32%, transparent 48%),
    linear-gradient(to top, rgba(1, 6, 17, 0.96), rgba(1, 6, 17, 0.18) 52%, transparent),
    radial-gradient(circle at 35% 15%, rgba(40, 233, 140, 0.24), transparent 35%);
  background-size: 220% 100%, 100% 100%, 100% 100%;
  animation: cardShine 1.15s cubic-bezier(.16, 1, .3, 1);
}

.project-card.is-active {
  opacity: 1;
  border-color: rgba(40, 233, 140, 0.54);
  box-shadow: 0 40px 130px rgba(0, 0, 0, 0.54), 0 0 90px rgba(40, 233, 140, 0.11);
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 14px;
  background: #0d1119;
  margin-bottom: 0;
  filter: saturate(0.9) contrast(1.06);
  transition: transform 900ms var(--project-ease), filter 620ms ease;
}

.project-card.is-active img {
  transform: scale(1.045);
  filter: saturate(1.18) contrast(1.08);
}

.project-card:hover img {
  transform: scale(1.08) translate3d(var(--img-x, 0), var(--img-y, 0), 0);
  filter: saturate(1.32) contrast(1.12);
}

.project-card h3 {
  position: absolute;
  left: clamp(28px, 4vw, 54px);
  right: 28px;
  bottom: 32px;
  z-index: 3;
  font-family: var(--font-head);
  font-size: clamp(28px, 4.4vw, 56px);
  line-height: 1.02;
  margin: 0;
  text-transform: uppercase;
  transform: translateY(18px);
  transition: transform 620ms var(--project-ease);
}

.project-card.is-active h3 {
  transform: translateY(0);
}

.project-card span {
  position: absolute;
  left: clamp(28px, 4vw, 54px);
  bottom: clamp(108px, 11vw, 150px);
  z-index: 3;
  display: inline-flex;
  width: max-content;
  max-width: calc(100% - 56px);
  min-height: auto;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(1, 6, 17, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
}

.project-progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  width: min(620px, 100%);
  margin: 8px auto 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
}

.project-progress div {
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.project-progress i {
  display: block;
  height: 100%;
  width: var(--project-progress, 7.69%);
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--pink));
  transition: width 620ms ease;
}

.testimonial-controls {
  gap: 8px;
  justify-content: flex-end;
  margin-top: 28px;
}

.testimonial-controls button {
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  padding: 0 0 3px;
  text-align: center;
}

.testimonial-stage {
  display: grid;
}

.testimonial {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  align-items: start;
  padding: clamp(24px, 5vw, 50px);
  border-radius: 20px;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  pointer-events: none;
  transition: opacity 280ms ease, transform 280ms ease;
}

.testimonial.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.testimonial img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial h3 {
  font-family: var(--font-head);
  margin-bottom: 2px;
}

.testimonial span {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 14px;
}

.testimonial p {
  max-width: 760px;
  margin: 24px 0 0;
  color: #dbe4ef;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
  font-weight: 500;
}

.brand-strip {
  min-height: auto;
  width: 100vw;
  margin-left: calc((100vw - min(var(--max), calc(100vw - 34px))) / -2);
  overflow: hidden;
  padding-left: max(17px, calc((100vw - var(--max)) / 2));
  padding-right: max(17px, calc((100vw - var(--max)) / 2));
}

.brand-loop {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.brand-loop:hover {
  animation-play-state: paused;
}

.brand-loop img {
  width: clamp(190px, 18vw, 280px);
  height: clamp(118px, 11vw, 170px);
  object-fit: contain;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.045)),
    rgba(5, 8, 13, 0.52);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 22px 70px rgba(0, 0, 0, 0.28);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.brand-loop img:hover {
  transform: translateY(-5px);
  border-color: rgba(40, 233, 140, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 26px 80px rgba(0, 0, 0, 0.36),
    0 0 42px rgba(40, 233, 140, 0.12);
}

.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}

.contact-mail {
  display: inline-block;
  margin-top: 10px;
  color: var(--green);
  font-size: clamp(22px, 3vw, 34px);
}

.contact-intro {
  max-width: 720px;
  margin: 0 auto 8px;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 600;
  text-align: center;
}

.contact-intro.small {
  max-width: 640px;
  font-size: 15px;
  color: #b5c0ce;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 24px;
  border-radius: 20px;
  width: min(900px, 100%);
}

.contact-form label,
.contact-form legend {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
}

.contact-form .form-full,
.contact-form button,
.form-note {
  grid-column: 1 / -1;
}

.form-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.consent-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: none;
}

.consent-field input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--green);
  flex: 0 0 auto;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 600;
}

.contact-form .consent-field input {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  border-radius: 4px;
  flex: 0 0 auto;
}

.field-help {
  display: block;
  margin-top: 8px;
  color: #b5c0ce;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.35;
  text-transform: none;
}

.contact-form select option {
  color: #0b1016;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(40, 233, 140, 0.12);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green);
}

footer {
  width: min(var(--max), calc(100% - 34px));
  margin: 0 auto;
  padding: 0 0 40px;
  color: var(--muted);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes ledPulse {

  0%,
  100% {
    filter: brightness(0.85);
    transform: scale(1);
  }

  50% {
    filter: brightness(1.55);
    transform: scale(1.28);
  }
}

@keyframes textFlicker {

  0%,
  100% {
    opacity: 1;
  }

  43% {
    opacity: 0.72;
  }

  44% {
    opacity: 1;
  }

  46% {
    opacity: 0.58;
  }

  48% {
    opacity: 1;
  }
}

@keyframes cardShine {
  from {
    background-position: 130% 0, 0 0, 0 0;
  }

  to {
    background-position: -40% 0, 0 0, 0 0;
  }
}

@keyframes entranceSheen {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }

  18%,
  48% {
    opacity: 0.7;
  }

  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

@keyframes iconWake {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(16px) scale(0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 0 rgba(40, 233, 140, 0);
  }

  62% {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px) scale(1.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 42px rgba(40, 233, 140, 0.16);
  }

  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@property --hero-ray-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes heroAbstractRays {
  0% {
    --hero-ray-angle: 0deg;
    transform: translate3d(0, 0, 0) scale(1);
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
  }

  50% {
    transform: translate3d(-2%, 1%, 0) scale(1.04);
    background-position: 0 0, 6% -4%, -4% 6%, 120px 160px, -160px 120px;
  }

  100% {
    --hero-ray-angle: 360deg;
    transform: translate3d(1%, -1%, 0) scale(1);
    background-position: 0 0, 0 0, 0 0, 180px 180px, -220px 220px;
  }
}

@keyframes heroRingFloat {
  from {
    transform: rotate(-10deg) scale(1.1);
    opacity: 0.42;
  }

  to {
    transform: rotate(8deg) scale(1.22);
    opacity: 0.78;
  }
}

@keyframes heroOrbFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(-28px, 24px, 0) scale(1.08);
  }
}

@property --sweep-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes serviceEdgeSweep {
  to {
    --sweep-angle: 360deg;
  }
}

@media (max-width: 1180px) {

  .project-slider,
  .brand-strip {
    margin-left: calc((100vw - min(var(--max), calc(100vw - 34px))) / -2);
  }
}

@media (max-width: 860px) {
  .section,
  .hero,
  .motion-item,
  .hero-actions.motion-item,
  .facts>div.motion-item,
  .profile-panel.motion-item,
  .contact-form.motion-item,
  .story p.motion-item,
  .tool-grid .motion-item,
  .service-card.motion-item,
  .hero-copy.motion-item,
  .section-head>p.motion-item,
  .contact-mail.motion-item,
  .brand-loop img.motion-item,
  .project-card.motion-item,
  .project-card.motion-item:not(.is-visible) {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
    transition: none;
  }

  .split-word {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .tilt-card.is-visible::after,
  .story p.is-visible::before,
  .contact-form.is-visible::before {
    animation: none;
  }

  .site-header {
    width: min(520px, calc(100% - 26px));
    padding: 9px 10px 9px 16px;
  }

  .nav-toggle {
    display: grid;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 6px;
    max-height: 0;
    padding: 0 10px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0);
    border-radius: 24px;
    background: rgba(5, 6, 9, 0.9);
    backdrop-filter: blur(20px) saturate(1.2);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
    transition: max-height 320ms cubic-bezier(.16, 1, .3, 1), padding 260ms ease, opacity 220ms ease, border-color 220ms ease;
  }

  .site-header.nav-open .primary-nav {
    max-height: 340px;
    padding: 10px;
    opacity: 1;
    pointer-events: auto;
    border-color: rgba(255, 255, 255, 0.16);
  }

  .primary-nav a {
    justify-content: center;
    padding: 12px 14px;
    text-align: center;
  }

  .section {
    padding: 78px 0;
  }

  .hero {
    min-height: 82vh;
    padding-top: 118px;
    padding-bottom: 56px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 34px;
  }

  .hero-tech-bg {
    inset: 70px -34vw 10px;
    opacity: 0.58;
  }

  h1 {
    font-size: clamp(30px, 7.8vw, 48px);
  }

  h2 {
    font-size: clamp(28px, 7vw, 46px);
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-panel {
    position: relative;
    top: auto;
    max-width: 520px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story {
    grid-template-columns: 1fr;
  }

  .story p:first-child {
    grid-column: auto;
  }

  .orbit-link {
    display: none;
  }
}

@media (max-width: 560px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }

  .brand img {
    width: 36px;
  }

  main {
    width: min(100% - 28px, var(--max));
    overflow: hidden;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero-main {
    max-width: 100%;
  }

  .hero-kicker {
    font-size: 13px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(25px, 6.35vw, 31px);
    line-height: 1.12;
  }

  h1>span {
    max-width: 100%;
    white-space: nowrap;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    width: 100%;
  }

  .hero-actions .magnet-button,
  .hero-actions .ghost-button {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 10px 12px;
    font-size: clamp(11px, 3.05vw, 13px);
    line-height: 1.1;
    text-align: center;
  }

  .magnet-button::before,
  .ghost-button::before {
    width: 7px;
    height: 7px;
    margin-right: 7px;
    flex: 0 0 auto;
  }

  .profile-panel {
    max-width: 100%;
  }

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

  .facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .facts>div {
    min-width: 0;
    min-height: 142px;
    padding: 16px 12px 20px;
    border-radius: 16px;
  }

  .facts>div::after {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .facts strong,
  .facts span {
    font-size: clamp(32px, 10.4vw, 44px);
  }

  .facts p {
    max-width: 100%;
    font-size: 12px;
    line-height: 1.35;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .tool-grid article {
    width: 100%;
    min-width: 0;
  }

  .tool-grid h3 {
    overflow-wrap: anywhere;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-face {
    min-height: 300px;
  }

  .project-slider {
    mask-image: none;
  }

  .portfolio-controls {
    inset: 0 12px;
  }

  .portfolio-controls button {
    width: 48px;
    height: 48px;
    font-size: 32px;
  }

  .project-card {
    flex-basis: calc(100vw - 54px);
    height: min(520px, 112vw);
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

/* ─── Custom scrollbar ───────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--green), var(--cyan), var(--pink));
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--cyan), var(--green));
}

/* ─── Eyebrow dot pulse ring ─────────────────────────────────── */
.eyebrow {
  position: relative;
}

.eyebrow::before {
  animation: eyebrowPulse 2s ease-in-out infinite;
}

@keyframes eyebrowPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(40, 233, 140, 0.7), 0 0 22px var(--green);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(40, 233, 140, 0), 0 0 22px var(--green);
  }
}

/* ─── Fun fact cards ─────────────────────────────────────────── */
.facts>div {
  position: relative;
  overflow: hidden;
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.facts>div::before {
  content: "FUN FACT";
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--green);
  opacity: 0.5;
}

.facts>div:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 28px 90px rgba(0, 0, 0, 0.36), 0 0 32px rgba(40, 233, 140, 0.08);
}

/* ─── Background canvas ──────────────────────────────────────── */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -5;
  pointer-events: none;
  opacity: 1;
}

/* ─── Hero canvas (replaces hero-tech-bg) ───────────────────── */
.hero {
  position: relative;
}

.hero-tech-bg {
  display: none;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: heroCvFadeIn 1.6s ease 0.3s forwards;
}

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

.hero-inner,
.orbit-link {
  position: relative;
  z-index: 1;
}

/* ─── Hero bottom row: facts left + orbit-link right ────────── */
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-bottom .facts {
  margin-top: 0;
}

.hero-bottom .orbit-link {
  position: relative;
  right: auto;
  bottom: auto;
  flex-shrink: 0;
}
