@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/spacegrotesk-regular-webfont.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/spacegrotesk-bold-webfont.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #020b18;
  --navy-2: #061832;
  --navy-3: #0d2038;
  --paper: #f4f8fd;
  --white: #ffffff;
  --ink: #0c1830;
  --text: #4d5b72;
  --muted: #7b879b;
  --line: #e4edf7;
  --blue: #138eff;
  --blue-2: #00b7ff;
  --green: #21c58a;
  --purple: #7457ff;
  --shadow: 0 22px 70px rgba(10, 33, 66, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Space Grotesk", Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

body.is-loading {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--white);
  border-radius: 6px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 183, 255, 0.24), transparent 24%),
    radial-gradient(circle at 50% 50%, rgba(19, 142, 255, 0.14), transparent 42%),
    #020914;
  transition: opacity 520ms ease, visibility 520ms ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 260px;
  height: 260px;
}

.loader-core::before,
.loader-core::after {
  position: absolute;
  inset: 34px;
  content: "";
  border: 1px solid rgba(19, 142, 255, 0.28);
  border-radius: 999px;
  box-shadow: 0 0 36px rgba(19, 142, 255, 0.14);
  animation: loader-ring 2.8s ease-in-out infinite;
}

.loader-core::after {
  inset: 4px;
  border-color: rgba(0, 183, 255, 0.12);
  animation-delay: -1.15s;
}

.loader-mark {
  position: relative;
  z-index: 2;
  width: 220px;
  height: 220px;
  overflow: visible;
}

.loader-halo {
  fill: none;
  stroke: rgba(142, 231, 255, 0.22);
  stroke-width: 1.2;
  stroke-dasharray: 14 18;
  transform-origin: 110px 110px;
  animation: loader-halo-spin 8s linear infinite;
}

.halo-two {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-dasharray: 7 14;
  animation-duration: 5.6s;
  animation-direction: reverse;
}

.loader-orbit {
  transform-origin: 110px 110px;
}

.orbit-one {
  animation: loader-orbit 1.75s linear infinite;
}

.orbit-two {
  animation: loader-orbit 2.35s linear infinite reverse;
}

.orbit-three {
  animation: loader-orbit 3.05s linear infinite;
}

.loader-logo {
  transform-origin: 110px 110px;
  animation: loader-logo-breathe 2.4s ease-in-out infinite;
}

.loader-logo-image {
  transform-origin: 110px 110px;
  filter: drop-shadow(0 0 8px rgba(142, 231, 255, 0.42));
}

@keyframes loader-logo-breathe {
  0% {
    transform: scale(.96);
    opacity: .92;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
  100% {
    transform: scale(.96);
    opacity: .92;
  }
}

@keyframes loader-orbit {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes loader-ring {
  0%,
  100% {
    transform: scale(.86);
    opacity: .25;
  }
  50% {
    transform: scale(1.08);
    opacity: .75;
  }
}

@keyframes loader-halo-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled,
.site-header.is-open {
  position: fixed;
  background: rgba(2, 11, 24, 0.92);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  width: min(100%, var(--max));
  min-height: 82px;
  margin: 0 auto;
  padding: 0 18px;
}

.brand {
  width: 172px;
}

.brand img {
  width: 100%;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
}

.nav-mobile-contact {
  display: none;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  content: "";
  background: var(--blue);
  border-radius: 999px;
  opacity: 0;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-active::after {
  opacity: 1;
}

.nav-cta,
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #006cff);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  box-shadow: 0 14px 32px rgba(19, 142, 255, 0.28);
  font-weight: 800;
  overflow: hidden;
  isolation: isolate;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.nav-cta::before,
.button::before {
  position: absolute;
  inset: -1px;
  z-index: 0;
  content: "";
  background:
    linear-gradient(120deg, transparent 0 24%, rgba(255, 255, 255, 0.45) 42%, transparent 62%),
    linear-gradient(135deg, rgba(0, 183, 255, 0.52), rgba(19, 142, 255, 0.12));
  transform: translateX(-135%) skewX(-18deg);
  transition: transform 520ms cubic-bezier(.2, .8, .2, 1);
}

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

.nav-cta:hover,
.nav-cta:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(142, 231, 255, 0.56);
  box-shadow: 0 20px 44px rgba(19, 142, 255, 0.38), 0 0 0 1px rgba(142, 231, 255, 0.12) inset;
}

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

.button:active,
.nav-cta:active {
  transform: translateY(0);
}

.button svg {
  width: 18px;
  height: 18px;
}

.button path,
.menu-button path,
.feature-icon path,
.feature-icon circle,
.feature-icon rect,
.stat-item path,
.stat-item circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.26);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  cursor: pointer;
}

.menu-button svg {
  width: 24px;
  height: 24px;
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero::after {
  position: absolute;
  inset: auto -10% 0;
  height: 120px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(0, 183, 255, 0.14), transparent);
  filter: blur(18px);
  animation: hero-scan 8s linear infinite;
}

.hero-video,
.hero-art,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  z-index: 1;
  object-fit: cover;
  object-position: 62% 62%;
  opacity: 0;
  transform: scale(1.025);
  transform-origin: 70% 54%;
  transition: opacity 420ms ease;
}

.hero-video.is-ready {
  opacity: 1;
}

.hero-art {
  z-index: 0;
  object-fit: cover;
  object-position: 62% 62%;
  transform: scale(1.025);
  transform-origin: 70% 54%;
  animation: hero-video-drift 13s ease-in-out infinite alternate;
}

.hero-overlay {
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(2, 11, 24, 0.94) 0%, rgba(2, 11, 24, 0.76) 36%, rgba(2, 11, 24, 0.2) 72%, rgba(2, 11, 24, 0.38) 100%),
    linear-gradient(0deg, rgba(2, 11, 24, 0.6), rgba(2, 11, 24, 0.04));
}

.hero-particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .68;
}

.hero-loop-effects {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}

.hero-loop-effects::before,
.hero-loop-effects::after {
  position: absolute;
  content: "";
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-loop-effects::before {
  inset: 0;
  background:
    radial-gradient(circle at 68% 54%, rgba(0, 183, 255, 0.24), transparent 18%),
    radial-gradient(circle at 76% 42%, rgba(19, 142, 255, 0.14), transparent 24%);
  opacity: .58;
  animation: hero-glow-loop 5.8s ease-in-out infinite;
}

.hero-loop-effects::after {
  top: -20%;
  bottom: -20%;
  left: 36%;
  width: 18%;
  background: linear-gradient(90deg, transparent, rgba(109, 223, 255, 0.18), transparent);
  filter: blur(18px);
  transform: skewX(-12deg) translateX(-150%);
  animation: hero-light-sweep 7.5s ease-in-out infinite;
}

.hero-inner {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  min-height: 690px;
  padding: 108px 18px 72px;
}

.hero-copy {
  width: min(100%, 650px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  background: var(--blue);
  border-radius: 2px;
  transform: rotate(45deg);
  box-shadow: 0 0 18px rgba(19, 142, 255, 0.9);
}

.eyebrow.blue {
  color: var(--blue);
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(3.8rem, 7vw, 6.7rem);
  font-weight: 800;
}

.hero mark {
  color: var(--blue);
  background: none;
}

.hero-copy p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.13rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.focus-strip {
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #f7faff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(10, 33, 66, 0.05);
}

.focus-inner {
  display: grid;
  grid-template-columns: minmax(145px, 0.18fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  width: min(100%, var(--max));
  min-height: 104px;
  margin: 0 auto;
  padding: 0 18px;
  overflow: hidden;
}

.focus-title {
  color: #8a96a8;
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.partner-marquee {
  position: relative;
  overflow: hidden;
  min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partner-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: partner-marquee 44s linear infinite;
}

.partner-marquee:hover .partner-track {
  animation-play-state: paused;
}

.partner-logo {
  display: grid;
  place-items: center;
  flex: 0 0 190px;
  height: 66px;
  padding: 7px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(10, 33, 66, 0.07);
}

.partner-logo img {
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
}

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

.section {
  padding: clamp(72px, 8vw, 110px) 18px;
}

.about-section,
.projects-section {
  background:
    radial-gradient(circle at 18% 20%, rgba(19, 142, 255, 0.1), transparent 28%),
    var(--paper);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 28px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading h2 {
  color: var(--ink);
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 800;
}

.section-heading p:not(.eyebrow) {
  width: min(100%, 590px);
  margin: 14px auto 0;
  color: var(--text);
}

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

.feature-card {
  position: relative;
  min-height: 292px;
  padding: 36px 30px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(19, 142, 255, 0.1), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feature-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent, rgba(0, 183, 255, 0.09), transparent),
    radial-gradient(circle at 50% 20%, rgba(142, 231, 255, 0.18), transparent 22%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.feature-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin: 0 auto 24px;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 183, 255, 0.18), transparent 34%),
    linear-gradient(180deg, #071a31 0%, #020914 100%);
  border: 1px solid rgba(142, 231, 255, 0.2);
  border-radius: 999px;
  box-shadow: 0 18px 34px rgba(10, 33, 66, 0.22), 0 0 26px rgba(19, 142, 255, 0.14);
  filter: drop-shadow(0 18px 34px rgba(19, 142, 255, 0.2));
}

.feature-icon svg {
  width: 112px;
  height: 112px;
  overflow: visible;
}

.feature-ring {
  fill: transparent;
  stroke: rgba(142, 231, 255, 0.3);
  stroke-width: 1.4;
  transform-origin: 60px 60px;
}

.ring-main {
  filter: drop-shadow(0 0 16px rgba(19, 142, 255, 0.32));
}

.ring-dash {
  fill: none;
  stroke: rgba(142, 231, 255, 0.34);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: .1 7.6;
  animation: feature-ring-spin 9s linear infinite;
}

.feature-symbol {
  color: var(--white);
  stroke: currentColor;
  stroke-width: 5.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 14px rgba(19, 142, 255, 0.65));
}

.feature-arrow-stack {
  fill: var(--white);
  stroke: none;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.92)) drop-shadow(0 0 16px rgba(19, 142, 255, 0.72));
  animation: arrow-stack-rise 1.8s ease-in-out infinite;
}

.ghost-one {
  opacity: .88;
  animation-delay: .12s;
}

.ghost-two {
  opacity: .58;
  animation-delay: .24s;
}

.feature-cog-shape,
.feature-cog-center {
  stroke-width: 5.2;
}

.feature-arrow {
  transform-origin: 60px 60px;
  animation: arrow-shake 1.5s ease-in-out infinite;
}

.feature-cog {
  transform-origin: 60px 60px;
  animation: cog-grind 4s linear infinite;
}

.feature-eye {
  transform-origin: 60px 60px;
  animation: eye-blink 3.6s ease-in-out infinite;
}

.feature-pupil {
  fill: rgba(255, 255, 255, 0.08);
}

.feature-card h3 {
  position: relative;
  font-size: 1.25rem;
  font-weight: 800;
}

.feature-card p {
  position: relative;
  margin-top: 12px;
  color: var(--text);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(19, 142, 255, 0.28);
  box-shadow: 0 28px 80px rgba(10, 33, 66, 0.16);
}

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

.feature-card:hover .ring-main {
  stroke: rgba(142, 231, 255, 0.44);
}

.projects-section {
  padding-top: 76px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(10, 33, 66, 0.12);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.project-card figure {
  aspect-ratio: 16 / 9.8;
  background: #dce9f5;
  border-bottom: 1px solid var(--line);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 420ms ease;
}

.project-body {
  padding: 16px;
}

.project-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.project-title h3 {
  font-size: 0.96rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-title span {
  padding: 4px 8px;
  color: #09a86f;
  background: rgba(33, 197, 138, 0.12);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.project-body p {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.55;
}

.project-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.project-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.project-button:hover {
  transform: translateY(-2px);
}

.project-button-muted {
  color: #20324b;
  background: #eef3f8;
  border-color: #dbe6f0;
}

.project-button-muted:hover {
  background: #e4edf6;
  border-color: #cbdceb;
  box-shadow: 0 12px 24px rgba(10, 33, 66, 0.12);
}

.project-button-primary {
  color: var(--white);
  background: linear-gradient(135deg, #138eff, #006be8);
  box-shadow: 0 14px 28px rgba(19, 142, 255, 0.24);
}

.project-button-primary:hover {
  color: var(--white);
  box-shadow: 0 18px 34px rgba(19, 142, 255, 0.32);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(19, 142, 255, 0.28);
  box-shadow: 0 28px 80px rgba(10, 33, 66, 0.18);
}

.project-card:hover img {
  transform: scale(1.035);
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

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

.project-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 9, 20, 0.22);
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(19, 142, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(2, 9, 20, 0.92), rgba(2, 9, 20, 0.88));
  backdrop-filter: blur(8px);
}

.project-modal-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 1040px);
  max-height: min(90vh, 820px);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(142, 231, 255, 0.24);
  border-radius: 12px;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.36);
  transform: translateY(14px) scale(0.98);
  transition: transform 220ms ease;
}

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

.project-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: rgba(5, 18, 34, 0.82);
  border: 1px solid rgba(5, 18, 34, 0.14);
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(10, 33, 66, 0.2);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.project-modal-close:hover {
  transform: rotate(90deg);
  background: rgba(19, 142, 255, 0.9);
}

.project-modal-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.project-modal-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(440px, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 28px;
  min-height: auto;
  padding: 28px 34px;
  background:
    radial-gradient(circle at 50% 0%, rgba(19, 142, 255, 0.14), transparent 42%),
    linear-gradient(180deg, #f7fbff 0%, #eef6fd 100%);
  border-bottom: 1px solid var(--line);
}

.project-modal-visual::before,
.project-modal-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.project-modal-visual::before {
  inset: 18px;
  border: 1px solid rgba(19, 142, 255, 0.12);
  border-radius: 14px;
}

.project-modal-visual::after {
  left: 50%;
  bottom: 12px;
  width: 74%;
  height: 28px;
  background: radial-gradient(ellipse, rgba(10, 33, 66, 0.16), transparent 70%);
  transform: translate(-50%, -50%);
}

.project-modal-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 800 / 397;
  margin: 0;
  overflow: hidden;
  background: #07111f;
  border: 1px solid rgba(10, 33, 66, 0.12);
  border-radius: 12px;
  box-shadow: 0 22px 54px rgba(10, 33, 66, 0.18), 0 0 0 7px rgba(255, 255, 255, 0.72);
}

.project-modal-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.project-modal-meta {
  grid-column: 2;
  grid-row: 1 / span 3;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  align-self: end;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  margin: 0 0 0 auto;
  padding: 18px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(19, 142, 255, 0.13);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(10, 33, 66, 0.08);
  backdrop-filter: blur(10px);
}

.project-modal-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 4px;
}

.project-modal-stats span {
  display: block;
  min-height: auto;
  padding: 12px;
  color: var(--text);
  background: #f4f8fc;
  border: 1px solid #deebf7;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
}

.project-modal-stats span::before {
  display: none;
}

.project-modal-stats strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1;
}

.project-modal-tag,
.project-modal-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-modal-tag {
  gap: 9px;
  color: #0c2b4c;
  background: transparent;
  border: 0;
  letter-spacing: .02em;
}

.project-modal-tag::before {
  content: "";
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(19, 142, 255, 0.72);
}

.project-modal-meta a {
  color: var(--white);
  gap: 9px;
  padding-inline: 22px;
  background: linear-gradient(135deg, #138eff, #006be8);
  border: 1px solid rgba(19, 142, 255, 0.5);
  box-shadow: 0 14px 26px rgba(19, 142, 255, 0.26);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-modal-meta a span {
  min-height: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-1px);
}

.project-modal-meta a span::before {
  display: none;
}

.project-modal-meta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(19, 142, 255, 0.34);
}

.project-modal-content {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(360px, 0.86fr);
  column-gap: 42px;
  align-items: end;
  padding: 30px 34px 34px;
  overflow: visible;
}

.project-modal-content .eyebrow {
  grid-column: 1;
}

.project-modal-content h3 {
  grid-column: 1;
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
}

.project-modal-content p:not(.eyebrow) {
  grid-column: 1;
  margin-top: 16px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.58;
  max-width: 560px;
}

.project-modal-visual ul {
  position: relative;
  z-index: 1;
  grid-column: 2;
  display: grid;
  gap: 10px;
  align-content: start;
  margin-top: 0;
  padding: 0;
  list-style: none;
}

.project-modal-visual li {
  position: relative;
  padding: 12px 14px 12px 42px;
  color: #20324b;
  background: #f4f8fc;
  border: 1px solid #deebf7;
  border-radius: 8px;
  font-weight: 700;
}

.project-modal-visual li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(19, 142, 255, 0.7);
  transform: translateY(-50%);
}

.stats-band {
  position: relative;
  padding: 58px 18px;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 50%, rgba(19, 142, 255, 0.22), transparent 26%),
    radial-gradient(circle at 80% 20%, rgba(0, 183, 255, 0.14), transparent 24%),
    #030b16;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  min-height: 128px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.stat-item span {
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 64px;
  height: 64px;
  color: var(--blue);
  background: rgba(19, 142, 255, 0.11);
  border: 1px solid rgba(19, 142, 255, 0.26);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(19, 142, 255, 0.12);
}

.stat-item svg {
  width: 30px;
  height: 30px;
}

.stat-item strong {
  display: block;
  grid-column: 2;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.05;
  white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@keyframes hero-scan {
  0% {
    transform: translateX(-45%);
  }
  100% {
    transform: translateX(45%);
  }
}

@keyframes hero-video-drift {
  0%,
  100% {
    transform: scale(1.025) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.055) translate3d(-10px, -8px, 0);
  }
}

@keyframes hero-glow-loop {
  0%,
  100% {
    opacity: .42;
    transform: scale(.98);
  }
  50% {
    opacity: .78;
    transform: scale(1.05);
  }
}

@keyframes hero-light-sweep {
  0%,
  28% {
    opacity: 0;
    transform: skewX(-12deg) translateX(-150%);
  }
  46% {
    opacity: .9;
  }
  68%,
  100% {
    opacity: 0;
    transform: skewX(-12deg) translateX(360%);
  }
}

@keyframes feature-ring-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes arrow-shake {
  0%,
  100% {
    transform: translate3d(0, -12px, 0);
  }
  28% {
    transform: translate3d(0, -14px, 0);
  }
  38% {
    transform: translate3d(1px, -15px, 0);
  }
  48% {
    transform: translate3d(-1px, -14px, 0);
  }
  62% {
    transform: translate3d(0, -16px, 0);
  }
}

@keyframes arrow-stack-rise {
  0%,
  100% {
    transform: translateY(4px);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes cog-grind {
  0% {
    transform: rotate(0deg);
  }
  42% {
    transform: rotate(118deg);
  }
  48% {
    transform: rotate(112deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes eye-blink {
  0%,
  44%,
  54%,
  100% {
    transform: scaleY(1);
  }
  49% {
    transform: scaleY(.12);
  }
}

.stat-item p {
  grid-column: 2;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: .95rem;
  line-height: 1.25;
}

.cta-section {
  padding: 78px 18px;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 0%, rgba(19, 142, 255, 0.28), transparent 36%),
    repeating-linear-gradient(160deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 22px),
    var(--navy-2);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(420px, 1.18fr);
  gap: 44px;
  align-items: start;
}

.cta-copy {
  position: sticky;
  top: 110px;
}

.cta-inner h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 800;
}

.cta-copy p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(142, 231, 255, 0.16);
  border-radius: 12px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.contact-form label span {
  font-size: 0.92rem;
}

.contact-form em {
  color: rgba(255, 255, 255, 0.48);
  font-style: normal;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(2, 9, 20, 0.48);
  border: 1px solid rgba(142, 231, 255, 0.18);
  border-radius: 8px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form textarea {
  min-height: 124px;
  padding-top: 14px;
  resize: vertical;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(2, 9, 20, 0.66);
  border-color: rgba(19, 142, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(19, 142, 255, 0.14);
}

.contact-message,
.contact-status {
  grid-column: 1 / -1;
}

.contact-captcha {
  grid-column: 1;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.contact-captcha > span {
  font-size: 0.92rem;
}

.cf-turnstile {
  min-height: 65px;
  padding: 8px;
  background: rgba(2, 9, 20, 0.34);
  border: 1px solid rgba(142, 231, 255, 0.14);
  border-radius: 8px;
}

.contact-submit {
  align-self: end;
  justify-self: stretch;
  min-height: 50px;
  border: 0;
  cursor: pointer;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.contact-status {
  min-height: 22px;
  margin: -2px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, padding 180ms ease;
}

.contact-status.is-error {
  padding: 12px 14px;
  color: #ffd6d6;
  background: rgba(255, 92, 92, 0.12);
  border: 1px solid rgba(255, 92, 92, 0.24);
  border-radius: 8px;
}

.contact-status.is-success {
  padding: 12px 14px;
  color: #eafff5;
  background: rgba(33, 197, 138, 0.16);
  border: 1px solid rgba(33, 197, 138, 0.36);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(33, 197, 138, 0.12);
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: linear-gradient(180deg, #0d1d31, #07111f);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(250px, 1.5fr) 0.75fr 0.9fr 0.85fr;
  gap: clamp(28px, 6vw, 90px);
  padding: 56px 18px;
}

.footer-main img {
  width: 170px;
  margin-bottom: 22px;
}

.footer-brand p {
  max-width: 330px;
}

.footer-main h3 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
}

.footer-main a,
.footer-main span {
  display: block;
  margin-bottom: 9px;
}

.footer-main a:hover,
.footer-main a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  color: rgba(255, 255, 255, 0.62);
  background: rgba(0, 0, 0, 0.18);
}

.footer-bottom .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  font-size: 0.88rem;
}

.footer-bottom div div {
  display: flex;
  gap: 28px;
}

.footer-bottom button {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.footer-bottom button:hover,
.footer-bottom button:focus-visible {
  color: var(--white);
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

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

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(19, 142, 255, 0.12), transparent 34%),
    rgba(2, 9, 20, 0.9);
  backdrop-filter: blur(8px);
}

.legal-modal-panel {
  position: relative;
  width: min(100%, 760px);
  max-height: min(86vh, 760px);
  overflow: auto;
  padding: 34px;
  background: var(--white);
  border: 1px solid rgba(142, 231, 255, 0.22);
  border-radius: 12px;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.36);
}

.legal-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: rgba(5, 18, 34, 0.86);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.legal-modal-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.legal-modal-panel h2 {
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3rem);
}

.legal-modal-content {
  display: grid;
  gap: 20px;
  margin-top: 22px;
  color: var(--text);
}

.legal-modal-content h3 {
  color: var(--ink);
  font-size: 1.08rem;
}

.legal-modal-content p {
  margin-top: 6px;
}

@media (max-width: 1020px) {
  .nav-shell {
    grid-template-columns: auto 1fr auto;
  }

  .menu-button {
    display: grid;
    justify-self: end;
  }

  .nav-cta {
    justify-self: end;
  }

  .nav-links {
    position: absolute;
    top: 82px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    background: rgba(2, 11, 24, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 13px;
  }

  .focus-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 18px;
  }

  .focus-title {
    grid-column: auto;
    text-align: center;
  }

  .partner-logo {
    flex-basis: 170px;
  }

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

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

  .project-modal-panel {
    max-height: 88vh;
    overflow: auto;
  }

  .project-modal-visual {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .project-modal-visual ul {
    grid-column: 1;
    width: min(100%, 720px);
    margin-inline: auto;
  }

  .project-modal-logo {
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
  }

  .project-modal-content {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .project-modal-content .eyebrow,
  .project-modal-content h3,
  .project-modal-content p:not(.eyebrow),
  .project-modal-meta {
    grid-column: 1;
    grid-row: auto;
  }

  .project-modal-meta {
    max-width: none;
    margin: 24px 0 0;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }

  .cta-copy {
    position: static;
    text-align: center;
  }

  .cta-copy p:not(.eyebrow) {
    margin-inline: auto;
  }

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

@media (min-width: 1500px) {
  .hero-video,
  .hero-art {
    object-position: 62% 36%;
  }
}

@media (min-width: 1180px) and (max-height: 760px) {
  .hero-video,
  .hero-art {
    object-position: 62% 32%;
  }
}

@media (max-width: 680px) {
  .nav-shell {
    min-height: 72px;
  }

  .brand {
    width: 150px;
  }

  .nav-links {
    top: 72px;
  }

  .hero,
  .hero-inner {
    min-height: 650px;
  }

  .hero-video,
  .hero-art {
    object-position: 66% 58%;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(2, 11, 24, 0.96), rgba(2, 11, 24, 0.68));
  }

  .hero-inner {
    padding: 98px 16px 44px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.2rem);
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .focus-inner,
  .feature-grid,
  .project-grid,
  .stats-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .focus-inner {
    gap: 16px;
  }

  .partner-logo {
    flex-basis: 154px;
    height: 58px;
    padding-inline: 14px;
  }

  .section {
    padding: 58px 16px;
  }

  .feature-card {
    min-height: auto;
  }

  .project-actions {
    grid-template-columns: 1fr;
  }

  .project-modal {
    padding: 12px;
  }

  .project-modal-visual {
    min-height: auto;
    padding: 22px 14px 18px;
  }

  .project-modal-visual::before {
    inset: 20px;
  }

  .project-modal-visual::after {
    width: 82%;
    height: 46%;
  }

  .project-modal-meta {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px;
    margin-top: 22px;
  }

  .project-modal-stats {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .project-modal-meta a {
    justify-content: center;
    width: 100%;
  }

  .project-modal-content {
    padding: 28px 22px;
  }

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

  .contact-captcha {
    grid-column: 1;
  }

  .stat-item {
    grid-template-columns: 54px 1fr;
    min-height: auto;
    padding: 18px;
  }

  .stat-item span {
    width: 54px;
    height: 54px;
  }

  .footer-bottom .section-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .nav-cta {
    display: none;
  }

  .nav-mobile-contact {
    display: block;
  }
}

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

  .site-loader {
    display: none;
  }

  body.is-loading {
    overflow: auto;
  }
}
