:root {
  --purple: #6c2bd9;
  --purple-light: #9b5cff;
  --purple-deep: #3d0f8f;
  --white: #f8f7ff;
  --muted: rgba(248, 247, 255, 0.65);
  --bg-dark: #0a0612;
  --bg-mid: #120b1f;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow-soft: 0 25px 80px rgba(0, 0, 0, 0.45);
  --shadow-neo: 12px 12px 28px rgba(0, 0, 0, 0.35), -8px -8px 24px rgba(108, 43, 217, 0.08);
  --glow: 0 0 60px rgba(108, 43, 217, 0.35);
  --radius: 20px;
  --radius-sm: 12px;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--white);
  background: radial-gradient(120% 80% at 50% -10%, #1a0f2e 0%, var(--bg-dark) 45%, #050308 100%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-loading {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #0a0612, #1a0f2e 50%, #0a0612);
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  text-align: center;
}

.preloader__logo {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(120deg, #fff, var(--purple-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
}

.preloader__bar {
  width: 180px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-inline: auto;
}

.preloader__bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  animation: preloader-slide 1s ease-in-out infinite;
}

@keyframes preloader-slide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(350%);
  }
}

.preloader__text {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Custom cursor */
.cursor-glow,
.cursor-dot {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.3s;
}

body.has-custom-cursor .cursor-glow,
body.has-custom-cursor .cursor-dot {
  opacity: 1;
}

.cursor-glow {
  width: 280px;
  height: 280px;
  margin: -140px 0 0 -140px;
  background: radial-gradient(circle, rgba(108, 43, 217, 0.22) 0%, transparent 70%);
  filter: blur(2px);
  will-change: transform;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--white);
  box-shadow: 0 0 20px var(--purple-light);
}

@media (hover: none), (pointer: coarse) {
  body.has-custom-cursor .cursor-glow,
  body.has-custom-cursor .cursor-dot {
    display: none;
  }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem min(5vw, 3rem);
  background: rgba(10, 6, 18, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.35s, box-shadow 0.35s;
}

.site-header.is-scrolled {
  background: rgba(10, 6, 18, 0.85);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  background: linear-gradient(120deg, #fff 20%, var(--purple-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.9rem;
  color: var(--muted);
  position: relative;
  transition: color 0.25s;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  transition: width 0.35s var(--ease-out);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--white);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  width: 100%;
}

.header-cta {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  top: 64px;
  z-index: 99;
  background: rgba(10, 6, 18, 0.97);
  backdrop-filter: blur(20px);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s;
}

.mobile-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 960px) {
  .nav {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }
}

@media (max-width: 959px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s;
}

.btn--sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--purple) 0%, #7c3aed 50%, var(--purple-light) 100%);
  color: var(--white);
  box-shadow: var(--shadow-soft), 0 0 40px rgba(108, 43, 217, 0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft), 0 0 50px rgba(155, 92, 255, 0.45);
}

.btn--glow {
  position: relative;
}

.btn--glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--purple-light), transparent);
  opacity: 0.35;
  z-index: -1;
  filter: blur(12px);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--ghost:hover {
  border-color: var(--purple-light);
  color: var(--purple-light);
}

.btn--full {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 20%, rgba(108, 43, 217, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(10, 6, 18, 0.2) 0%, var(--bg-dark) 88%);
  pointer-events: none;
}

.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
}

.hero__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  margin: 0 0 1.25rem;
  background: linear-gradient(180deg, #fff 0%, rgba(248, 247, 255, 0.85) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 80px rgba(108, 43, 217, 0.3);
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero__scroll {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(248, 247, 255, 0.4);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--purple-light), transparent);
  animation: scroll-pulse 2.5s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Glass & neo cards */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: var(--shadow-soft);
}

.neo-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(10, 6, 18, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-neo);
  padding: 1.75rem;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.neo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-neo), 0 0 40px rgba(108, 43, 217, 0.15);
}

/* Sections */
.section {
  position: relative;
  padding: clamp(4rem, 12vw, 7rem) 0;
}

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 1rem;
}

.section__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 1rem;
}

.section__lead {
  color: var(--muted);
  margin: 0;
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.about__intro {
  padding: 2rem;
}

.about__intro h3 {
  margin-top: 0;
  font-size: 1.35rem;
}

.about__intro p {
  color: var(--muted);
  margin-bottom: 0;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  align-items: start;
}

.timeline__year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--purple-light);
  padding-top: 0.5rem;
}

.timeline__card {
  padding: 1.25rem 1.5rem;
}

.timeline__card h4 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.timeline__card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.expertise {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(108, 43, 217, 0.15);
  border-color: rgba(155, 92, 255, 0.3);
}

.service-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.service-card:hover .service-card__media img {
  transform: scale(1.08);
}

.service-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(10, 6, 18, 0.8));
  pointer-events: none;
}

.service-card__body {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card__body h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: var(--white);
  font-family: var(--font-display);
}

.service-card__body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Projects */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  transform-style: preserve-3d;
  perspective: 1200px;
}

.project-card__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.project-card:hover .project-card__media img {
  transform: scale(1.05);
}

.project-card__glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(108, 43, 217, 0.35));
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.project-card:hover .project-card__glow {
  opacity: 1;
}

.project-card__body {
  margin-top: -2rem;
  margin-inline: 1rem;
  position: relative;
  padding: 1.5rem;
  z-index: 1;
}

.project-card__body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.project-card__body > p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.project-card__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.project-card__stack li {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(108, 43, 217, 0.2);
  border: 1px solid rgba(155, 92, 255, 0.35);
}

.project-card__link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--purple-light);
  transition: color 0.25s;
}

.project-card__link:hover {
  color: var(--white);
}

/* Team */
.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.team-card {
  perspective: 1000px;
}

.team-card__inner {
  padding: 1.75rem;
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-out);
}

.team-card__photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(155, 92, 255, 0.45);
  box-shadow: 0 0 30px rgba(108, 43, 217, 0.25);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

.team-card__role {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.team-card__social {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.team-card__social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  font-weight: 600;
  transition: background 0.25s, transform 0.25s;
}

.team-card__social a:hover {
  background: rgba(108, 43, 217, 0.35);
  transform: translateY(-2px);
}

/* Products */
.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  position: relative;
  border-radius: var(--radius);
  padding: 2px;
}

.product-card__border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--purple-light), transparent 45%, var(--purple));
  opacity: 0.65;
  filter: blur(0);
  animation: border-glow 4s ease-in-out infinite;
}

@keyframes border-glow {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.9;
  }
}

.product-card__content {
  position: relative;
  padding: 2rem;
  border-radius: calc(var(--radius) - 2px);
  height: 100%;
}

.product-card__badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(108, 43, 217, 0.35);
  margin-bottom: 1rem;
}

.product-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.product-card p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Clients marquee */
.clients__marquee {
  overflow: hidden;
  margin-bottom: 3rem;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.clients__track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.clients__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(248, 247, 255, 0.2);
  white-space: nowrap;
  letter-spacing: 0.08em;
}

.testimonials {
  max-width: 720px;
  margin-inline: auto;
}

.testimonials__slider {
  position: relative;
  min-height: 200px;
}

.testimonial {
  position: absolute;
  inset: 0;
  padding: 2rem 2.25rem;
  margin: 0;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

.testimonial.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  position: relative;
}

.testimonial p {
  font-size: 1.1rem;
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.testimonial strong {
  font-family: var(--font-display);
  color: var(--white);
}

.testimonial span {
  font-size: 0.85rem;
  color: rgba(248, 247, 255, 0.45);
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonials__dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition: transform 0.25s, background 0.25s;
}

.testimonials__dots button.is-active {
  background: var(--purple-light);
  transform: scale(1.2);
}

/* Contact */
.contact__layout {
  display: grid;
  gap: 3rem;
}

@media (min-width: 900px) {
  .contact__layout {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.contact__intro .section__label {
  margin-bottom: 0.75rem;
}

.contact__intro .section__title {
  text-align: left;
  margin-bottom: 0.75rem;
}

.contact__intro .section__lead {
  text-align: left;
  margin-bottom: 2rem;
}

.contact__meta {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.contact__meta li {
  margin-bottom: 1.25rem;
}

.contact__meta-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 247, 255, 0.45);
  margin-bottom: 0.25rem;
}

.contact__meta a:hover {
  color: var(--purple-light);
}

.contact__social {
  display: flex;
  gap: 0.75rem;
}

.contact__social a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  font-weight: 600;
  font-size: 0.8rem;
  transition: background 0.25s, transform 0.25s;
}

.contact__social a:hover {
  background: rgba(108, 43, 217, 0.3);
  transform: translateY(-3px);
}

/* Form floating labels */
.contact-form {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.field {
  position: relative;
}

.field--full {
  grid-column: 1 / -1;
}

.field input,
.field textarea {
  width: 100%;
  padding: 1.1rem 1rem 0.65rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: rgba(248, 247, 255, 0.45);
  pointer-events: none;
  transition: top 0.25s var(--ease-out), font-size 0.25s, color 0.25s, transform 0.25s;
}

.field textarea + label {
  top: 1.25rem;
  transform: none;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(155, 92, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(108, 43, 217, 0.15);
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: 0.45rem;
  font-size: 0.7rem;
  transform: translateY(0);
  color: var(--purple-light);
}

.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: 0.65rem;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 1.25rem;
  font-size: 0.9rem;
  margin: 0;
  text-align: center;
}

@media (max-width: 640px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  padding: 3rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, transparent, rgba(10, 6, 18, 0.9));
}

.footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    align-items: start;
  }
}

.footer__brand p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 280px;
  margin-top: 0.75rem;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__nav a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.25s;
}

.footer__nav a:hover {
  color: var(--white);
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.25s;
}

.footer__social a:hover {
  background: rgba(108, 43, 217, 0.35);
}

.footer__bottom {
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(248, 247, 255, 0.4);
}

.footer__bottom-inner a {
  color: rgba(248, 247, 255, 0.55);
}

.footer__bottom-inner a:hover {
  color: var(--purple-light);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .clients__track {
    animation: none;
  }
}

/* Lenis helpers (from lenis.css) */
.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

/* Partners / Collaborations Redesign */
.partners__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.partner-item {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.partner-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), var(--glow);
  border-color: rgba(155, 92, 255, 0.4);
}

.partner-logo {
  height: 64px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.partner-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(1.1);
  opacity: 0.6;
  transition: filter 0.4s, opacity 0.4s, transform 0.4s;
}

.partner-item:hover .partner-logo img {
  filter: grayscale(0) brightness(1);
  opacity: 1;
  transform: scale(1.05);
}

.partner-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  background: linear-gradient(135deg, var(--white), var(--muted));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.8;
  transition: opacity 0.4s, transform 0.4s;
}

.partner-item:hover .partner-logo-text {
  opacity: 1;
  transform: scale(1.08);
}

.partner-name {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.03em;
  margin: 0;
  transition: color 0.4s;
}

.partner-item:hover .partner-name {
  color: var(--white);
}

@media (max-width: 640px) {
  .partners__grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
  }
  
  .partner-logo {
    height: 48px;
  }
}
