:root {
  --text: #edf3ff;
  --muted: #9ca9c0;
  --line: rgba(167, 198, 255, 0.14);
  --accent: #72b7ff;
  --accent-2: #8a7dff;
  --accent-3: #65ffd1;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --container: min(1220px, calc(100vw - 48px));
  --section-gap: 2rem;
  --section-padding: 2.5rem 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  width: 100%;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(114, 183, 255, 0.06), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(138, 125, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #000000 0%, #020408 25%, #03060a 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

body.nav-scrolled .site-header {
  background: rgba(0, 2, 6, 0.88);
  border-color: rgba(148, 190, 255, 0.12);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

body.preload-lock {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 12px 20px;
  background: var(--accent);
  color: #070b14;
  font-weight: 600;
  border-radius: 8px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  outline: 2px solid white;
  outline-offset: 2px;
}

.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.page-404__content {
  max-width: 480px;
}

.page-404__logo img {
  height: 80px;
  width: auto;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.page-404__title {
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 700;
  line-height: 1;
  margin: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-404__message {
  margin: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.page-404__btn {
  display: inline-flex;
  cursor: pointer;
}

.page-404 .button,
.page-404 a {
  cursor: pointer;
}

img,
video {
  display: block;
  max-width: 100%;
}

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

button,
a,
.tilt-card,
.magnetic {
  cursor: none;
}

.section-shell {
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.section {
  padding: var(--section-padding);
}

.section:not(#hero) {
  content-visibility: auto;
  contain-intrinsic-size: auto 400px;
}

main {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  padding-left: 24px;
  padding-right: 24px;
  max-width: 100%;
  box-sizing: border-box;
}

main > section.section {
  padding: var(--section-padding);
}

.stars-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.stars-bg canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-noise,
.page-glow,
.scroll-progress,
.cursor {
  pointer-events: none;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 2;
  opacity: 0.06;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.45) 0.6px, transparent 0.7px),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.22) 0.6px, transparent 0.7px);
  background-size: 18px 18px;
  mix-blend-mode: soft-light;
}

.page-glow {
  position: fixed;
  inset: auto;
  z-index: 1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
}

.page-glow--one {
  top: -180px;
  left: -120px;
  background: rgba(114, 183, 255, 0.65);
}

.page-glow--two {
  right: -160px;
  top: 20vh;
  background: rgba(138, 125, 255, 0.5);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  z-index: 50;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  box-shadow: 0 0 20px rgba(114, 183, 255, 0.6);
}

.cursor {
  position: fixed;
  z-index: 60;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.cursor--dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 18px rgba(114, 183, 255, 0.65);
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  gap: 18px;
  text-align: center;
  background: radial-gradient(circle at center, rgba(10, 21, 37, 0.96), #030509 70%);
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black 25%, transparent 75%);
}

.preloader__brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader__logo {
  height: clamp(80px, 20vw, 140px);
  width: auto;
  object-fit: contain;
  opacity: 0;
  animation: preload-letter 1s ease 0.2s forwards;
}

.preloader p {
  position: relative;
  margin: 0;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: min(calc(100vw - 32px), 1260px);
  margin: 16px auto 0;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand--header {
  gap: 0.5rem;
}

.brand__logo {
  display: block;
  height: 48px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.95;
}

.brand--header .brand__logo {
  height: 88px;
}

.brand__name {
  display: none;
}

.brand--header .brand__name {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.brand--header .brand__line {
  display: block;
}

.brand--header .brand__line:first-child {
  font-size: 1.35rem;
  font-weight: 700;
}

.brand--header .brand__line:last-child {
  font-size: 0.7rem;
  font-weight: 400;
}

@media (max-width: 720px) {
  .brand--header .brand__name {
    display: flex;
  }
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-nav a {
  transition: color 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.button {
  --button-bg: linear-gradient(135deg, rgba(114, 183, 255, 0.92), rgba(138, 125, 255, 0.92));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(130, 191, 255, 0.15);
  background: var(--button-bg);
  box-shadow: 0 12px 30px rgba(87, 126, 255, 0.3);
  color: white;
  font-weight: 600;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(87, 126, 255, 0.36);
}

.button--ghost {
  --button-bg: rgba(255, 255, 255, 0.02);
  color: var(--text);
  box-shadow: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.glass-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(15, 23, 35, 0.65), rgba(10, 17, 29, 0.9));
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.glass-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius) - 1px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(158, 198, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(114, 183, 255, 0.78), transparent);
}

.hero {
  position: relative;
  padding-top: 48px;
  padding-bottom: 0;
  min-height: 0;
}

.hero__beam {
  position: absolute;
  pointer-events: none;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
}

.hero__beam--one {
  top: 10%;
  left: -80px;
  background: rgba(114, 183, 255, 0.6);
}

.hero__beam--two {
  right: -120px;
  top: 18%;
  background: rgba(138, 125, 255, 0.5);
}

.hero__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: center;
}

.hero__content,
.hero__visual {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 560px;
}

.hero__title {
  margin: 18px 0 20px;
  max-width: 22ch;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero__title .split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
}

.hero__title .split-word--space {
  min-width: 0.3em;
  user-select: none;
}

.reveal.is-visible .hero__title.is-split.is-visible .split-word,
.hero__title.is-split.is-visible .split-word {
  animation: splitReveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

[data-split-text].is-split .split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
}

[data-split-text].is-split .split-word--space {
  min-width: 0.3em;
  user-select: none;
}

[data-split-text].is-split.is-visible .split-word {
  animation: splitReveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero__title .split-word,
  [data-split-text] .split-word {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@keyframes splitReveal {
  from {
    opacity: 0;
    transform: translateY(0.5em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__title-line {
  display: block;
}

.hero__title .hero__title-line .split-word {
  color: transparent;
  background: linear-gradient(135deg, #ffffff 20%, #b2d6ff 55%, #8d87ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero__title > .split-word {
  color: var(--text);
}

.hero__copy {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.75;
}

.hero__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__mini-grid {
  margin-top: 38px;
  max-width: 520px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-stat {
  padding: 22px 20px;
}

.hero-stat strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1;
}

.hero-stat span {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.hero__visual {
  display: grid;
  gap: 18px;
  justify-items: end;
  align-items: center;
}

.hero__robot-wrap {
  position: relative;
  transform-style: preserve-3d;
  perspective: 1400px;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease;
  transform: perspective(1400px) translateZ(20px) scale3d(1.02, 1.02, 1);
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.5))
          drop-shadow(0 0 40px rgba(114, 183, 255, 0.08));
}

.hero__robot-wrap:hover {
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.55))
          drop-shadow(0 0 50px rgba(114, 183, 255, 0.1));
}

.hero__robot-stack {
  position: relative;
  display: block;
  line-height: 0;
}

.hero__robot {
  display: block;
  max-width: 100%;
  width: min(100%, 520px);
  height: auto;
  max-height: 580px;
  min-height: 400px;
  object-fit: contain;
  object-position: right center;
}

.hero__robot-stack .hero__robot--bw {
  position: relative;
  z-index: 1;
}

.hero__robot-stack .hero__robot--color {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hero__robot-wrap:hover .hero__robot-stack .hero__robot--color,
.hero__robot-stack:hover .hero__robot--color {
  opacity: 1;
  transform: scale(1);
}

.hero__earth-wrap {
  position: absolute;
  left: 52%;
  top: 68%;
  transform: translate(-50%, -50%) translateZ(12px) scale(1.05);
  transform-style: preserve-3d;
  width: 180px;
  height: 180px;
  z-index: 2;
  pointer-events: none;
}

.hero__earth-wrap::before {
  content: "";
  position: absolute;
  inset: -25%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 35%,
    rgba(114, 183, 255, 0.06) 0%,
    transparent 50%
  );
  z-index: -1;
}

.hero__earth-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(100, 150, 200, 0.12) 0%,
    transparent 55%
  );
  z-index: 0;
  pointer-events: none;
}

.hero__earth-wrap .hero__earth[src] {
  position: relative;
  z-index: 1;
}

.hero__earth {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.hero__scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: opacity 0.4s ease;
}

.hero__scroll-hint,
.hero__scroll-hint .hero__scroll-hint-text {
  color: #ffffff !important;
  text-shadow: 0 0 30px rgba(114, 183, 255, 1), 0 0 60px rgba(114, 183, 255, 0.6) !important;
}

body.nav-scrolled .hero__scroll-hint {
  opacity: 0.3;
  pointer-events: none;
}

.hero__scroll-hint-arrow {
  width: 24px;
  height: 24px;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: rotate(45deg);
  filter: drop-shadow(0 0 16px rgba(114, 183, 255, 1));
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
  50% { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

.hero__marquee {
  position: relative;
  margin-top: 1.5rem;
  padding: 1.25rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(165, 196, 255, 0.1);
  border-bottom: 1px solid rgba(165, 196, 255, 0.1);
  background: rgba(7, 11, 18, 0.55);
}

.hero__marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 38px;
  min-width: max-content;
  padding-left: 38px;
  color: rgba(235, 243, 255, 0.76);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.88rem;
  animation: marquee 26s linear infinite;
}

.hero__marquee-track span::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 0 16px rgba(114, 183, 255, 0.55);
}

.section-heading h2,
.showcase__title,
.contact__intro h2 {
  margin: 14px 0 14px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-heading p,
.showcase__content p,
.contact__intro p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

/* Services section */
.services__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.services__robot {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.services__robot .hero__robot {
  width: min(100%, 320px);
  max-height: 420px;
  min-height: 280px;
}

.services__header {
  margin-bottom: 0;
  text-align: right;
}

.services__header .section-heading {
  margin-left: auto;
}

.services__header .section-heading p {
  margin-left: auto;
}

.service-grid,
.process-grid,
.contact__grid {
  display: grid;
  gap: 1.25rem;
}

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

/* Modern service cards */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 20px;
  border: 1px solid rgba(165, 201, 255, 0.1);
  background: linear-gradient(145deg, rgba(12, 20, 35, 0.85), rgba(8, 14, 24, 0.95));
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(114, 183, 255, 0.15), transparent 40%, transparent 60%, rgba(138, 125, 255, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(114, 183, 255, 0.2);
  border-color: rgba(114, 183, 255, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-3));
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-card__accent {
  transform: scaleY(1);
}

.service-card__content {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-card h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: rgba(230, 242, 255, 1);
}

.service-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
  flex-grow: 1;
}

.service-card__features {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-card__features li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: rgba(231, 239, 255, 0.88);
  transition: opacity 0.35s ease, transform 0.35s ease, color 0.4s ease;
}

@media (hover: hover) {
  .service-card__features li {
    opacity: 0.7;
    transform: translateX(-4px);
  }
  .service-card:hover .service-card__features li {
    opacity: 1;
    transform: translateX(0);
  }
  .service-card:hover .service-card__features li:nth-child(1) { transition-delay: 0.05s; }
  .service-card:hover .service-card__features li:nth-child(2) { transition-delay: 0.1s; }
  .service-card:hover .service-card__features li:nth-child(3) { transition-delay: 0.15s; }
}

.service-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 0 8px rgba(114, 183, 255, 0.5);
}

/* Process cards - same box & animation as service cards */
.process-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 20px;
  border: 1px solid rgba(165, 201, 255, 0.1);
  background: linear-gradient(145deg, rgba(12, 20, 35, 0.85), rgba(8, 14, 24, 0.95));
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}

.process-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(114, 183, 255, 0.15), transparent 40%, transparent 60%, rgba(138, 125, 255, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.process-card:hover {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(114, 183, 255, 0.2);
  border-color: rgba(114, 183, 255, 0.2);
}

.process-card:hover::before {
  opacity: 1;
}

.process-card__accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-3));
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.process-card:hover .process-card__accent {
  transform: scaleY(1);
}

.process-card__content {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.process-card h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  transition: color 0.3s ease;
}

.process-card:hover h3 {
  color: rgba(230, 242, 255, 1);
}

.process-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Contact cards - same box & animation as service cards */
.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 20px;
  border: 1px solid rgba(165, 201, 255, 0.1);
  background: linear-gradient(145deg, rgba(12, 20, 35, 0.85), rgba(8, 14, 24, 0.95));
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(114, 183, 255, 0.15), transparent 40%, transparent 60%, rgba(138, 125, 255, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.contact-card:hover {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(114, 183, 255, 0.2);
  border-color: rgba(114, 183, 255, 0.2);
}

.contact-card:hover::before {
  opacity: 1;
}

.contact-card__accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-3));
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-card:hover .contact-card__accent {
  transform: scaleY(1);
}

.contact-card__content {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-card__label {
  display: inline-flex;
  margin-bottom: 4px;
  color: rgba(172, 211, 255, 0.82);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.contact-card strong,
.contact-card a {
  margin: 0;
  display: block;
  font-size: 1.1rem;
  color: var(--text);
  transition: color 0.3s ease;
}

.contact-card:hover strong,
.contact-card:hover a {
  color: rgba(230, 242, 255, 1);
}

.contact-card a + a {
  margin-top: 4px;
}

.contact-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Reel Card */
.video-reel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.reel-heading {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text);
  text-align: center;
  position: relative;
}

.reel-heading__text {
  display: inline-block;
}

.reel-heading__text:not([data-split-text]) {
  opacity: 0;
  transform: translateY(20px);
}

.reel-heading.is-visible .reel-heading__text:not(.is-split) {
  animation: reel-heading-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reel-heading__text[data-split-text].is-split {
  opacity: 1;
}

.reel-heading__line {
  display: block;
  width: 0;
  height: 2px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
}

.reel-heading.is-visible .reel-heading__line {
  animation: reel-line-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes reel-heading-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reel-line-in {
  to {
    width: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reel-heading__text {
    opacity: 1;
    transform: none;
  }
  .reel-heading__line {
    width: 80px;
  }
  .reel-heading.is-visible .reel-heading__text,
  .reel-heading.is-visible .reel-heading__line {
    animation: none;
  }
}

.reel-card {
  max-width: 720px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.reel-card__link {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  text-decoration: none;
}

.reel-card__thumb {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #0a0e18;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reel-card__link:hover .reel-card__thumb {
  transform: scale(1.03);
}

.reel-card__play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  position: relative;
  clip-path: polygon(36% 22%, 36% 78%, 82% 50%);
  transform: scale(0.85);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.reel-card__link:hover .reel-card__play {
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--accent);
  transform: scale(1);
}

.reel-card__glow {
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.reel-card__link:hover .reel-card__glow {
  opacity: 0.6;
  animation: reel-glow 3s ease-in-out infinite;
}

@keyframes reel-glow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 2, 8, 0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.video-modal__wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.video-modal.is-open .video-modal__wrap {
  transform: scale(1);
  opacity: 1;
}

.video-modal__content {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.video-modal__content iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.video-modal__close:hover,
.video-modal__close:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent);
}

.showcase {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 0;
}

.showcase__header {
  grid-column: 1 / -1;
  margin-bottom: 1.5rem;
}

.showcase__title {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .showcase__title {
    white-space: normal;
  }
}

.showcase__body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: start;
  grid-column: 1 / -1;
}

.showcase__content {
  text-align: left;
  min-width: 0;
}

.showcase__media {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  max-height: 340px;
}

.showcase-panel {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(165, 201, 255, 0.1);
  background: linear-gradient(145deg, rgba(12, 20, 35, 0.6), rgba(8, 14, 24, 0.8));
  transition: box-shadow 0.4s ease, border-color 0.3s ease;
}

.showcase-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(114, 183, 255, 0.15), transparent 40%, transparent 60%, rgba(138, 125, 255, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.showcase-panel--large {
  grid-row: span 2;
}

.showcase-panel:hover {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(114, 183, 255, 0.2);
  border-color: rgba(114, 183, 255, 0.2);
}

.showcase-panel:hover::before {
  opacity: 1;
}

.showcase-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-panel:hover img {
  transform: scale(1.04);
}

.showcase-panel.reveal {
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-panel[data-delay="0"].reveal { transition-delay: 0.06s; }
.showcase-panel[data-delay="1"].reveal { transition-delay: 0.12s; }
.showcase-panel[data-delay="2"].reveal { transition-delay: 0.18s; }

.feature-list {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.feature-item--compact {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 20px;
  border: 1px solid rgba(165, 201, 255, 0.1);
  background: linear-gradient(145deg, rgba(12, 20, 35, 0.85), rgba(8, 14, 24, 0.95));
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}

.feature-item--compact::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(114, 183, 255, 0.15), transparent 40%, transparent 60%, rgba(138, 125, 255, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-item--compact:hover {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(114, 183, 255, 0.2);
  border-color: rgba(114, 183, 255, 0.2);
}

.feature-item--compact:hover::before {
  opacity: 1;
}

.feature-item__accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-3));
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-item--compact:hover .feature-item__accent {
  transform: scaleY(1);
}

.feature-item__content {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-item--compact strong {
  font-size: 1.05rem;
  margin: 0;
  color: var(--text);
  transition: color 0.3s ease;
}

.feature-item--compact:hover strong {
  color: rgba(230, 242, 255, 1);
}

.feature-item--compact p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  color: var(--muted);
}

.feature-item--compact.reveal {
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-item--compact[data-delay="0"].reveal { transition-delay: 0.05s; }
.feature-item--compact[data-delay="1"].reveal { transition-delay: 0.12s; }
.feature-item--compact[data-delay="2"].reveal { transition-delay: 0.19s; }

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

.contact__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.contact__cta {
  position: relative;
  margin-top: 22px;
  padding: 28px 28px 28px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-radius: 20px;
  border: 1px solid rgba(165, 201, 255, 0.1);
  background: linear-gradient(145deg, rgba(12, 20, 35, 0.85), rgba(8, 14, 24, 0.95));
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}

.contact__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(114, 183, 255, 0.15), transparent 40%, transparent 60%, rgba(138, 125, 255, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.contact__cta:hover {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(114, 183, 255, 0.2);
  border-color: rgba(114, 183, 255, 0.2);
}

.contact__cta:hover::before {
  opacity: 1;
}

.contact__cta-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-3));
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact__cta:hover .contact__cta-accent {
  transform: scaleY(1);
}

.contact__cta h3 {
  margin: 10px 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.08;
  transition: color 0.3s ease;
}

.contact__cta:hover h3 {
  color: rgba(230, 242, 255, 1);
}

.contact__cta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  max-width: 720px;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contact__form-wrap {
  position: relative;
  margin-top: 22px;
  padding: 28px 28px 28px 32px;
  border-radius: 20px;
  border: 1px solid rgba(165, 201, 255, 0.1);
  background: linear-gradient(145deg, rgba(12, 20, 35, 0.85), rgba(8, 14, 24, 0.95));
  overflow: hidden;
}

.contact__form-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-3));
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact__form-wrap:hover .contact__form-accent {
  transform: scaleY(1);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__form h3 {
  margin: 8px 0 4px;
  font-size: 1.4rem;
}

.contact__form p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact__form input,
.contact__form textarea {
  padding: 14px 18px;
  border: 1px solid rgba(165, 196, 255, 0.15);
  border-radius: 12px;
  background: rgba(5, 12, 22, 0.5);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: rgba(203, 219, 244, 0.4);
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: rgba(114, 183, 255, 0.4);
}

.contact-card a strong {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-card a:hover strong {
  color: var(--accent);
}

.contact__form-feedback {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  min-height: 1.4em;
}

.contact__form-feedback.is-success {
  color: var(--accent-3);
}

.contact__form-feedback.is-error {
  color: #ff6b6b;
}

.site-footer {
  margin-top: 4rem;
  padding: 0;
  color: rgba(203, 219, 244, 0.75);
  font-size: 0.9rem;
  background: linear-gradient(180deg, rgba(5, 10, 18, 0.4) 0%, rgba(3, 7, 14, 0.85) 100%);
  border-top: 1px solid rgba(165, 196, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-footer__main {
  padding-top: 2rem;
  padding-bottom: 0;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.3fr auto auto auto auto;
  gap: 2.5rem 2.5rem;
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(165, 196, 255, 0.06);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer__brand-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-footer__logo {
  height: 96px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.95;
}

.site-footer__name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.site-footer__tagline {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: rgba(203, 219, 244, 0.6);
  max-width: 280px;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.site-footer__nav a {
  color: rgba(203, 219, 244, 0.7);
  transition: color 0.2s ease;
}

.site-footer__nav a:hover {
  color: var(--accent);
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 140px;
}

.site-footer__contact a {
  color: rgba(203, 219, 244, 0.75);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.site-footer__contact a:hover {
  color: var(--accent);
}

.site-footer__visit {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 140px;
}

.site-footer__address,
.site-footer__hours {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(203, 219, 244, 0.65);
}

.site-footer__connect {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer__nav-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(165, 196, 255, 0.5);
  margin-bottom: 0.25rem;
}

.site-footer__social {
  display: grid;
  grid-template-columns: repeat(2, 38px);
  gap: 10px;
  width: fit-content;
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: rgba(203, 219, 244, 0.7);
  border: 1px solid rgba(165, 196, 255, 0.12);
  border-radius: 10px;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.site-footer__social-link:hover {
  color: var(--accent);
  border-color: rgba(114, 183, 255, 0.25);
  background-color: rgba(114, 183, 255, 0.06);
  transform: translateY(-1px);
}

.site-footer__social-icon {
  width: 18px;
  height: 18px;
}

.site-footer__bottom {
  padding: 0.75rem 0;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  text-align: right;
}

.site-footer__copyright {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(203, 219, 244, 0.45);
  letter-spacing: 0.03em;
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  right: max(1.5rem, env(safe-area-inset-bottom));
  z-index: 45;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(165, 196, 255, 0.15);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(12, 20, 35, 0.9), rgba(8, 14, 24, 0.95));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: rgba(203, 219, 244, 0.85);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease,
              border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover,
.scroll-to-top:focus-visible {
  outline: none;
  border-color: rgba(114, 183, 255, 0.35);
  color: var(--accent);
  box-shadow: 0 0 24px rgba(114, 183, 255, 0.2);
}

.scroll-to-top__icon {
  width: 22px;
  height: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

.service-card[data-delay="0"].reveal,
.process-card[data-delay="0"].reveal,
.contact-card[data-delay="0"].reveal { transition-delay: 0.05s; }
.service-card[data-delay="1"].reveal,
.process-card[data-delay="1"].reveal,
.contact-card[data-delay="1"].reveal { transition-delay: 0.12s; }
.service-card[data-delay="2"].reveal,
.process-card[data-delay="2"].reveal,
.contact-card[data-delay="2"].reveal { transition-delay: 0.19s; }
.service-card[data-delay="3"].reveal { transition-delay: 0.26s; }
.service-card[data-delay="4"].reveal { transition-delay: 0.33s; }
.service-card[data-delay="5"].reveal { transition-delay: 0.4s; }

.tilt-card {
  transform-style: preserve-3d;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
  transition: transform 0.22s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  box-shadow: inset 0 0 0 2px rgba(165, 201, 255, 0.08);
}

.tilt-card:hover {
  border-color: rgba(114, 183, 255, 0.22);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38), inset 0 0 0 2px rgba(165, 201, 255, 0.12);
}

@keyframes preload-letter {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@media (max-width: 1180px) {
  .hero__shell,
  .showcase__body,
  .contact__cta {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    justify-items: center;
  }

  .hero__robot {
    max-height: 480px;
    min-height: 320px;
  }

  .hero__earth-wrap {
    width: 140px;
    height: 140px;
    top: 66%;
    left: 52%;
  }

  .showcase__body .showcase__media {
    order: 2;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
    padding-bottom: 2rem;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__contact,
  .site-footer__visit {
    min-width: 0;
  }

  .site-footer__tagline {
    max-width: none;
  }

  .site-footer__brand-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.5rem 2rem;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
  }

  .site-footer__brand-row {
    flex-direction: column;
    align-items: center;
  }

  .site-footer__nav {
    grid-column: 1;
    grid-row: 2;
  }

  .site-footer__contact {
    grid-column: 2;
    grid-row: 2;
  }

  .site-footer__connect {
    grid-column: 1;
    grid-row: 3;
  }

  .site-footer__visit {
    grid-column: 2;
    grid-row: 3;
  }

  .site-footer__bottom {
    display: block;
    padding: 1rem 0 max(1.25rem, env(safe-area-inset-bottom));
  }

  .site-footer__copyright {
    font-size: 0.75rem;
    text-align: center;
    color: rgba(203, 219, 244, 0.6);
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 1.25rem;
  }

  .site-header .brand {
    justify-content: center;
    order: 1;
  }

  .site-nav {
    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    order: 2;
  }

  .header-cta {
    display: none !important;
  }

  .services__intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .services__robot {
    order: 2;
    justify-content: flex-start;
  }

  .services__header {
    order: 1;
    text-align: left;
  }

  .services__header .section-heading,
  .services__header .section-heading p {
    margin-left: 0;
  }

  .site-header {
    width: var(--container);
  }

  .hero {
    padding-top: 36px;
  }

  .hero__mini-grid,
  .service-grid,
  .process-grid,
  .contact__grid {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 720px) {
  .services__robot {
    justify-content: center;
  }

  .services__robot .hero__robot {
    width: min(100%, 260px);
    max-height: 340px;
    min-height: 220px;
  }

  .service-card__content {
    padding: 1.5rem 1.25rem;
  }

  body {
    cursor: auto;
  }

  button,
  a,
  .tilt-card,
  .magnetic {
    cursor: pointer;
  }

  .cursor {
    display: none;
  }

  .section {
    padding: 2rem 0;
  }

  main {
    padding-left: 24px;
    padding-right: 24px;
  }

  .section-shell {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    margin-left: 0;
    margin-right: 0;
  }

  .site-header {
    width: calc(100% - 32px);
    max-width: 100%;
    margin: 14px 16px 0;
    border-radius: 20px;
  }

  .brand--header .brand__logo {
    height: 56px;
  }

  .site-nav {
    font-size: 0.88rem;
  }

  .hero__marquee {
    width: 100%;
    max-width: 100%;
  }

  .hero__title {
    max-width: none;
  }

  .hero__mini-grid,
  .service-grid,
  .process-grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .showcase__media {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    max-height: none;
  }

  .showcase-panel--large {
    grid-row: span 1;
  }

  .showcase-panel {
    aspect-ratio: 16 / 10;
  }

  .contact__actions,
  .hero__actions {
    justify-content: flex-start;
  }

  .contact__cta {
    padding: 22px;
  }

  .scroll-to-top {
    bottom: max(2.75rem, calc(env(safe-area-inset-bottom) + 1.25rem));
    background: rgba(12, 20, 35, 0.25);
    border-color: rgba(165, 196, 255, 0.06);
    box-shadow: none;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .scroll-to-top:hover,
  .scroll-to-top:focus-visible {
    background: rgba(12, 20, 35, 0.45);
    border-color: rgba(114, 183, 255, 0.18);
    box-shadow: 0 0 16px rgba(114, 183, 255, 0.1);
  }
}
