:root {
  --bg: #050711;
  --bg-soft: #090d1b;
  --panel: rgba(13, 18, 38, 0.72);
  --panel-strong: rgba(14, 20, 43, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f7f8ff;
  --muted: #9aa4bf;
  --accent: #65f4ff;
  --accent-2: #8b6cff;
  --accent-3: #ff62c7;
  --success: #a7ff83;
  --card-content-bg: rgba(4, 7, 17, 0.82);
  --card-content-text: #f7f8ff;
  --card-content-muted: #b3bbcf;
  --card-content-line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --container: 1240px;
  --font-body: "Inter", sans-serif;
  --font-display: "Sora", sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f6fb;
  --bg-soft: #eaf0f8;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --line: rgba(20, 29, 52, 0.11);
  --line-strong: rgba(20, 29, 52, 0.18);
  --text: #11162a;
  --muted: #59647e;
  --accent: #007f91;
  --accent-2: #6748dc;
  --accent-3: #c93391;
  --success: #3b9c22;
  --card-content-bg: rgba(249, 251, 255, 0.94);
  --card-content-text: #11162a;
  --card-content-muted: #515d76;
  --card-content-line: rgba(20, 29, 52, 0.14);
  --shadow: 0 24px 70px rgba(42, 56, 88, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: rgba(101, 244, 255, 0.55) var(--bg);
}

body {
  min-width: 320px;
  transition:
    background-color 0.35s ease,
    color 0.35s ease;
  background:
    radial-gradient(
      circle at 18% 12%,
      rgba(139, 108, 255, 0.14),
      transparent 32rem
    ),
    radial-gradient(
      circle at 84% 26%,
      rgba(101, 244, 255, 0.12),
      transparent 28rem
    ),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-preloader {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 42%, rgba(101, 244, 255, 0.14), transparent 23rem),
    radial-gradient(circle at 18% 12%, rgba(139, 108, 255, 0.16), transparent 28rem),
    var(--bg);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.page-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

html:not(.js) .page-preloader {
  display: none;
}

.preloader-core {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.preloader-mark {
  position: relative;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}

.preloader-mark img {
  position: relative;
  z-index: 2;
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(101, 244, 255, 0.28));
}

.preloader-ring {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(101, 244, 255, 0.25);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: preloader-spin 1.7s linear infinite;
}

.preloader-ring-two {
  inset: 18px;
  border-color: rgba(139, 108, 255, 0.2);
  border-right-color: var(--accent-2);
  animation-direction: reverse;
  animation-duration: 1.15s;
}

.preloader-core strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.preloader-core strong span {
  color: var(--accent);
}

.preloader-core small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  color: #051016;
  background: var(--accent);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

main:focus {
  outline: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.17'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
img {
  display: block;
  width: 100%;
}

::selection {
  background: rgba(101, 244, 255, 0.28);
  color: #fff;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 18px;
  left: 50%;
  width: min(calc(100% - 32px), 1240px);
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(6, 9, 20, 0.68);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px) saturate(135%);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    top 0.3s ease;
}

.site-header.is-scrolled {
  top: 10px;
  background: rgba(6, 9, 20, 0.88);
  border-color: rgba(255, 255, 255, 0.14);
}

.navbar {
  min-height: 68px;
  padding: 0 18px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  color: var(--text);
  line-height: 1;
  white-space: nowrap;
}

.brand-logo {
  display: none;
  width: auto;
  max-width: 132px;
  height: 34px;
  object-fit: contain;
  object-position: left center;
}

.brand.has-logo .brand-logo {
  display: block;
}

.brand.has-logo .brand-text {
  display: none;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.brand-network {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #c6ccdc;
  font-size: 0.88rem;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--accent);
  transition: right 0.25s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  right: 0;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(101, 244, 255, 0.4);
  background: rgba(101, 244, 255, 0.1);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
  display: none;
  width: 44px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  position: relative;
  width: 44px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(101, 244, 255, 0.38);
  background: rgba(101, 244, 255, 0.09);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.theme-toggle:focus-visible,
.menu-toggle:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 48%, transparent);
  outline-offset: 3px;
}

.theme-icon {
  position: absolute;
  width: 20px;
  height: 20px;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.25s ease;
}

.theme-icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-icon-moon {
  opacity: 0;
  transform: rotate(-30deg) scale(0.65);
}

html[data-theme="light"] .theme-icon-sun {
  opacity: 0;
  transform: rotate(35deg) scale(0.65);
}

html[data-theme="light"] .theme-icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 165px 0 90px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

#network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.72;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(5, 7, 17, 0.1),
      rgba(5, 7, 17, 0.22) 62%,
      var(--bg) 100%
    ),
    linear-gradient(
      90deg,
      var(--bg) 0%,
      rgba(5, 7, 17, 0.7) 42%,
      rgba(5, 7, 17, 0.18) 100%
    );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

h1 {
  max-width: 820px;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

h1 .gradient-text {
  color: transparent;
  background: linear-gradient(
    100deg,
    #ffffff 8%,
    var(--accent) 47%,
    #bbaeff 75%,
    #fff 100%
  );
  background-size: 210% auto;
  background-clip: text;
  -webkit-background-clip: text;
  animation: textFlow 8s linear infinite;
}

@keyframes textFlow {
  to {
    background-position: 210% center;
  }
}

.hero-lead {
  max-width: 650px;
  margin-top: 30px;
  color: #aeb7ce;
  font-size: clamp(1.02rem, 1.5vw, 1.26rem);
  line-height: 1.75;
  text-wrap: balance;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.btn-primary {
  border-color: rgba(101, 244, 255, 0.38);
  color: #051016;
  background: var(--accent);
  box-shadow: 0 16px 44px rgba(101, 244, 255, 0.16);
}

.btn-primary:hover {
  border-color: #fff;
  color: #050711;
  background: #fff;
  box-shadow: 0 18px 54px rgba(101, 244, 255, 0.24);
}

.btn-large {
  min-height: 54px;
  padding-inline: 23px;
  border-radius: 15px;
}

.btn svg,
.nav-cta svg {
  width: 18px;
  height: 18px;
}

.hero-meta {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 30px;
  color: #8d98b4;
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  width: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 14px rgba(167, 255, 131, 0.75);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.orbit-system {
  position: relative;
  width: min(100%, 510px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  animation: floatSystem 8s ease-in-out infinite;
}

@keyframes floatSystem {
  50% {
    transform: translateY(-16px) rotateX(2deg);
  }
}

.orbit-core {
  position: relative;
  z-index: 3;
  width: 174px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 42px;
  background:
    radial-gradient(
      circle at 35% 25%,
      rgba(255, 255, 255, 0.12),
      transparent 28%
    ),
    linear-gradient(
      145deg,
      rgba(101, 244, 255, 0.16),
      rgba(139, 108, 255, 0.13)
    );
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.25),
    inset 0 -18px 35px rgba(0, 0, 0, 0.16),
    0 40px 100px rgba(0, 0, 0, 0.42),
    0 0 85px rgba(101, 244, 255, 0.12);
  backdrop-filter: blur(10px);
  transform: rotate(-7deg);
}

.orbit-core::after {
  display: none;
}

.orbit-core-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 34px;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.22));
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  transform-style: preserve-3d;
}

.ring-one {
  width: 290px;
  height: 290px;
  transform: rotateX(66deg) rotateZ(12deg);
  animation: orbitSpinOne 14s linear infinite;
}

.ring-two {
  width: 390px;
  height: 390px;
  border-color: rgba(101, 244, 255, 0.18);
  transform: rotateY(68deg) rotateX(8deg);
  animation: orbitSpinTwo 18s linear infinite reverse;
}

.ring-three {
  width: 480px;
  height: 480px;
  border-style: dashed;
  border-color: rgba(139, 108, 255, 0.16);
  animation: rotateFlat 34s linear infinite;
}

@keyframes orbitSpinOne {
  to {
    transform: rotateX(66deg) rotateZ(372deg);
  }
}

@keyframes orbitSpinTwo {
  to {
    transform: rotateY(68deg) rotateX(368deg);
  }
}

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

.satellite {
  position: absolute;
  z-index: 5;
  width: 54px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 17px;
  color: var(--accent);
  background: rgba(10, 15, 32, 0.82);
  box-shadow:
    var(--shadow),
    0 0 28px rgba(101, 244, 255, 0.08);
  backdrop-filter: blur(12px);
}

.satellite svg {
  width: 24px;
  height: 24px;
}

.sat-a {
  top: 16%;
  left: 5%;
  animation: satFloat 5s ease-in-out infinite;
}
.sat-b {
  top: 4%;
  right: 17%;
  animation: satFloat 6s ease-in-out 0.5s infinite;
  color: #bbaeff;
}
.sat-c {
  right: 0;
  bottom: 24%;
  animation: satFloat 7s ease-in-out 1s infinite;
  color: #ff9fd8;
}
.sat-d {
  left: 12%;
  bottom: 8%;
  animation: satFloat 5.5s ease-in-out 1.5s infinite;
  color: #a7ff83;
}

@keyframes satFloat {
  50% {
    transform: translateY(-12px) rotate(4deg);
  }
}

.data-panel {
  position: absolute;
  z-index: 4;
  right: 2%;
  bottom: 5%;
  width: 196px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(7, 11, 25, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transform: rotate(4deg);
}

.data-panel small {
  color: #8993ad;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal {
  height: 52px;
  margin-top: 12px;
  display: flex;
  align-items: end;
  gap: 5px;
}

.signal i {
  flex: 1;
  min-width: 4px;
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(to top, var(--accent-2), var(--accent));
  animation: signal 1.8s ease-in-out infinite;
  transform-origin: bottom;
}

.signal i:nth-child(2) {
  animation-delay: 0.18s;
}
.signal i:nth-child(3) {
  animation-delay: 0.36s;
}
.signal i:nth-child(4) {
  animation-delay: 0.54s;
}
.signal i:nth-child(5) {
  animation-delay: 0.72s;
}
.signal i:nth-child(6) {
  animation-delay: 0.9s;
}

@keyframes signal {
  0%,
  100% {
    height: 20%;
  }
  50% {
    height: 100%;
  }
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 26px;
  width: 30px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  transform: translateX(-50%);
}

.scroll-cue::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  transform: translateX(-50%);
  animation: scrollCue 2s ease-in-out infinite;
}

@keyframes scrollCue {
  70% {
    top: 27px;
    opacity: 0;
  }
  100% {
    top: 9px;
    opacity: 0;
  }
}

.ticker {
  position: relative;
  z-index: 5;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.ticker-track {
  width: max-content;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 34px;
  animation: marquee 28s linear infinite;
  color: #8993ad;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 34px;
}

.ticker-track span::after {
  content: "";
  width: 5px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(101, 244, 255, 0.65);
}

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

.section {
  position: relative;
  padding: 130px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 64px;
}

.section-heading h2 {
  max-width: 780px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.75;
  text-wrap: balance;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.project-card {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  grid-column: span 4;
  min-height: 510px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition:
    transform 0.18s ease-out,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  isolation: isolate;
}

.project-card.featured {
  grid-column: span 8;
  min-height: 590px;
}

.project-card:hover {
  border-color: rgba(101, 244, 255, 0.28);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.33),
    0 0 0 1px rgba(101, 244, 255, 0.08);
}

.project-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #070a16;
}

.project-image::before {
  display: none;
}

.project-picture {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  padding: 0;
  overflow: hidden;
}

.project-card.featured .project-picture {
  inset: 0;
  height: auto;
}

.project-picture img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
}

.project-card::before {
  display: none;
}

.project-top {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transform: translateZ(34px);
}

.project-code,
.project-type {
  min-height: 34px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #e7e9f1;
  background: rgba(5, 8, 18, 0.62);
  backdrop-filter: blur(12px);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-type {
  color: var(--accent);
}

.project-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 30px;
  transform: translateZ(44px);
  transition:
    opacity 0.3s ease,
    transform 0.35s ease,
    background-color 0.3s ease;
}

.project-card.featured .project-content {
  max-width: 100%;
  /* max-width: 680px; */
  padding: 38px;
}

.project-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.7vw, 2.7rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.project-content p {
  max-width: 570px;
  margin-top: 13px;
  color: var(--card-content-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.project-footer {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-link {
  width: 38px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  color: #cbd1df;
  background: rgba(255, 255, 255, 0.045);
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.social-link:hover {
  color: var(--accent);
  border-color: rgba(101, 244, 255, 0.35);
  background: rgba(101, 244, 255, 0.08);
  transform: translateY(-2px);
}

.social-link svg {
  width: 17px;
  height: 17px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 800;
  transition: color 0.25s ease;
}

.project-link svg {
  width: 17px;
  height: 17px;
  transition: transform 0.25s ease;
}

.project-link:hover {
  color: var(--accent);
}

@media (hover: hover) and (pointer: fine) {
  .project-content {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) translateZ(44px);
  }

  .project-card:hover .project-content,
  .project-card:focus-within .project-content {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) translateZ(44px);
    color: var(--card-content-text);
    background-color: var(--card-content-bg);
    border-top: 1px solid var(--card-content-line);
    backdrop-filter: blur(12px);
  }
}

.project-link:hover svg {
  transform: translate(3px, -3px);
}

.manifesto {
  overflow: hidden;
}

.manifesto::before {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  top: 5%;
  right: -280px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(101, 244, 255, 0.11),
    transparent 68%
  );
  pointer-events: none;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
}

.manifesto-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.data-map {
  position: relative;
  width: min(85vw, 470px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(101, 244, 255, 0.08),
      transparent 26%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(139, 108, 255, 0.1),
      rgba(5, 7, 17, 0.14) 58%,
      transparent 74%
    );
  box-shadow:
    inset 0 0 70px rgba(101, 244, 255, 0.05),
    0 0 90px rgba(139, 108, 255, 0.07);
  animation: sphereFloat 8s ease-in-out infinite;
  isolation: isolate;
}

.data-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.data-map .ring-a {
  inset: 7%;
  border-style: solid;
  animation: rotateFlat 22s linear infinite;
}

.data-map .ring-b {
  inset: 18%;
  border-color: rgba(101, 244, 255, 0.22);
  border-style: dashed;
  animation: rotateFlat 28s linear infinite reverse;
}

.data-map .ring-c {
  inset: 30%;
  border-color: rgba(139, 108, 255, 0.2);
  animation: rotateFlat 18s linear infinite;
}

@keyframes sphereFloat {
  50% {
    transform: translateY(-16px) rotate(2deg);
  }
}

.data-map-center {
  position: relative;
  z-index: 3;
  width: 170px;
  height: 170px;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 32% 20%,
      rgba(255, 255, 255, 0.12),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      rgba(101, 244, 255, 0.18),
      rgba(139, 108, 255, 0.14)
    );
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.18),
    0 16px 45px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.data-map-center strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.07em;
}

.data-map-center small {
  display: block;
  margin-top: 4px;
  color: #aab4cd;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.data-node {
  position: absolute;
  z-index: 4;
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(8, 12, 26, 0.72);
  color: #dfe5f4;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  animation: nodeFloat 6s ease-in-out infinite;
}

.node-1 {
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0.2s;
}
.node-2 {
  top: 28%;
  right: 6%;
  animation-delay: 0.8s;
}
.node-3 {
  bottom: 22%;
  right: 10%;
  animation-delay: 1.4s;
}
.node-4 {
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 2s;
}
.node-5 {
  bottom: 28%;
  left: 4%;
  animation-delay: 1.1s;
}
.node-6 {
  top: 29%;
  left: 7%;
  animation-delay: 1.7s;
}

@keyframes nodeFloat {
  50% {
    transform: translateY(-10px);
  }
}

.node-1,
.node-4 {
  animation-name: nodeFloatCentered;
}
@keyframes nodeFloatCentered {
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.binary-stream {
  position: absolute;
  z-index: 2;
  color: rgba(101, 244, 255, 0.48);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(101, 244, 255, 0.14);
  opacity: 0.88;
  animation: streamPulse 5s ease-in-out infinite;
}

.stream-1 {
  top: 20%;
  left: -2%;
  transform: rotate(-17deg);
}
.stream-2 {
  right: -4%;
  bottom: 24%;
  transform: rotate(15deg);
  animation-delay: 1.2s;
}
.stream-3 {
  left: 18%;
  bottom: 4%;
  transform: rotate(-2deg);
  animation-delay: 2.2s;
}

@keyframes streamPulse {
  50% {
    opacity: 0.45;
    transform: translateY(-4px);
  }
}

.stream-1,
.stream-2,
.stream-3 {
  transform-origin: center;
}

.services {
  padding-top: 86px;
}

.portfolio-panel {
  position: relative;
  padding: clamp(36px, 6vw, 70px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(101, 244, 255, 0.15),
      transparent 23rem
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(139, 108, 255, 0.2),
      transparent 28rem
    ),
    rgba(12, 17, 36, 0.7);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.portfolio-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.33;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to right, transparent, #000 30%, #000);
}

.portfolio-panel h2,
.service-heading h2 {
  font-family: var(--font-display);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.portfolio-panel h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
}

.portfolio-panel p {
  max-width: 700px;
  margin-top: 18px;
  color: #aab3c9;
  line-height: 1.8;
}

.service-heading {
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
  gap: 36px;
  align-items: end;
}

.service-heading h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
}

.service-heading p {
  color: var(--muted);
  line-height: 1.75;
}

.service-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(101, 244, 255, 0.26);
  background: rgba(101, 244, 255, 0.05);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.18);
}

.service-icon {
  width: 56px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 1.36rem;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.service-card p {
  margin-top: 12px;
  color: #9fa9c2;
  line-height: 1.72;
  font-size: 0.95rem;
}

.service-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.service-link:hover {
  color: #fff;
}

.contact-panel {
  margin-top: 28px;
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 5% 100%, rgba(139, 108, 255, 0.18), transparent 24rem),
    radial-gradient(circle at 100% 0%, rgba(101, 244, 255, 0.12), transparent 22rem),
    var(--panel);
  box-shadow: var(--shadow);
  scroll-margin-top: 104px;
}

.contact-panel .eyebrow {
  color: var(--accent);
}

.contact-panel h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.5vw, 4.2rem) !important;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.contact-panel-copy > p {
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.75;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.83rem;
  font-weight: 700;
}

.field-label {
  display: inline;
}

.contact-form input:not([type="checkbox"]),
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  outline: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  font: inherit;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form input:not([type="checkbox"]):focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: rgba(101, 244, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(101, 244, 255, 0.12);
}

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

.form-optional {
  color: var(--muted);
  font-weight: 500;
}

.privacy-consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px !important;
  color: var(--muted) !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  line-height: 1.55;
}

.privacy-consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--accent);
}

.privacy-consent a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-submit {
  justify-self: start;
}

.form-feedback {
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.55;
}

.form-feedback-success {
  border-color: rgba(167, 255, 131, 0.35);
  color: var(--success);
  background: rgba(167, 255, 131, 0.08);
}

.form-feedback-error {
  border-color: rgba(255, 98, 199, 0.38);
  color: #ffd4ec;
  background: rgba(255, 98, 199, 0.09);
}

.form-feedback-error ul {
  margin: 6px 0 0 18px;
}

.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.manifesto-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.manifesto-copy > p {
  max-width: 650px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.82;
}

.principles {
  margin-top: 42px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.principle {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.principle strong {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.principle h3 {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.principle p {
  color: #8f99b2;
  line-height: 1.6;
}

.site-footer {
  padding: 44px 0 32px;
}

.footer-top {
  padding-bottom: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

.footer-copy {
  max-width: 430px;
  margin-top: 16px;
  color: #858fa8;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 9px;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #6f7890;
  font-size: 0.75rem;
}

.affiliate-disclosure {
  max-width: 760px;
  margin: 14px 0 0;
  color: #6f7890;
  font-size: 0.72rem;
  line-height: 1.55;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.cursor-glow {
  position: fixed;
  z-index: 1;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle,
    rgba(101, 244, 255, 0.055),
    transparent 67%
  );
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
}

.partner-section,
.manifesto,
.services,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.project-image.image-fallback::before,
.project-image.image-fallback .project-picture {
  display: none;
}

.project-image.image-fallback::after {
  content: attr(data-fallback);
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.2);
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  background:
    linear-gradient(
      135deg,
      rgba(101, 244, 255, 0.1),
      rgba(139, 108, 255, 0.16)
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 39px,
      rgba(255, 255, 255, 0.025) 40px
    );
}

.project-domain {
  color: #9ea8bf;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.project-link-muted {
  color: #7f899f;
  cursor: default;
}

.project-link-muted:hover {
  color: #7f899f;
}

.project-card.coming-soon {
  grid-column: 1 / -1;
  min-height: 370px;
}

.project-card.coming-soon .project-content {
  /* max-width: 760px; */
  max-width: 100%;
}

.project-card.coming-soon::before {
  background:
    linear-gradient(
      90deg,
      rgba(4, 7, 17, 0.96) 0%,
      rgba(4, 7, 17, 0.76) 48%,
      rgba(4, 7, 17, 0.32) 100%
    ),
    linear-gradient(125deg, rgba(139, 108, 255, 0.2), transparent 55%);
}

.partner-section {
  position: relative;
  padding: 10px 0 120px;
}

.partner-heading {
  margin-bottom: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.partner-heading span {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.partner-heading h2 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  letter-spacing: -0.05em;
}

.partner-heading p {
  max-width: 430px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.partner-grid {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.partner-card {
  position: relative;
  width: min(100%, calc(var(--banner-width, 728) * 1px));
  max-width: 100%;
  aspect-ratio: var(--banner-width, 728) / var(--banner-height, 90);
  display: grid;
  place-items: center;
  overflow: hidden;
  line-height: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(
      135deg,
      rgba(101, 244, 255, 0.055),
      rgba(139, 108, 255, 0.055)
    ),
    rgba(255, 255, 255, 0.018);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.14);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.partner-card:hover {
  transform: translateY(-3px);
  border-color: rgba(101, 244, 255, 0.3);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.2);
}

.partner-card img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.partner-fallback {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px 22px;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
  background:
    radial-gradient(
      circle at 15% 50%,
      rgba(101, 244, 255, 0.12),
      transparent 30%
    ),
    radial-gradient(
      circle at 85% 50%,
      rgba(139, 108, 255, 0.13),
      transparent 34%
    );
  transition: opacity 0.2s ease;
}

.partner-fallback strong,
.partner-fallback small {
  display: block;
}

.partner-fallback strong {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  letter-spacing: -0.025em;
}

.partner-fallback small {
  margin-top: 4px;
  color: var(--muted);
  font-size: clamp(0.66rem, 1.4vw, 0.78rem);
}

.partner-card.is-loaded .partner-fallback {
  opacity: 0;
}

.partner-card.is-error img {
  display: none;
}

.partner-card.is-error .partner-fallback {
  opacity: 1;
}

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

.noscript-message {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: var(--panel);
}

.footer-bottom a {
  transition: color 0.25s ease;
}

.footer-bottom a:hover {
  color: var(--accent);
}

html[data-theme="light"] body {
  background:
    radial-gradient(
      circle at 18% 12%,
      rgba(103, 72, 220, 0.11),
      transparent 32rem
    ),
    radial-gradient(
      circle at 84% 26%,
      rgba(0, 127, 145, 0.1),
      transparent 28rem
    ),
    var(--bg);
}

html[data-theme="light"] body::before {
  opacity: 0.07;
  mix-blend-mode: multiply;
}

html[data-theme="light"] ::selection {
  color: #07141a;
  background: rgba(0, 127, 145, 0.2);
}

html[data-theme="light"] .site-header {
  border-color: rgba(20, 29, 52, 0.1);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 42px rgba(42, 56, 88, 0.1);
}

html[data-theme="light"] .site-header.is-scrolled {
  border-color: rgba(20, 29, 52, 0.15);
  background: rgba(255, 255, 255, 0.91);
}

html[data-theme="light"] .nav-links {
  color: #57617a;
}

html[data-theme="light"] .nav-links a:hover {
  color: #10162b;
}

html[data-theme="light"] .nav-cta,
html[data-theme="light"] .btn,
html[data-theme="light"] .menu-toggle,
html[data-theme="light"] .theme-toggle {
  color: #11162a;
  border-color: rgba(20, 29, 52, 0.12);
  background: rgba(20, 29, 52, 0.035);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] .nav-cta:hover,
html[data-theme="light"] .btn:hover,
html[data-theme="light"] .menu-toggle:hover,
html[data-theme="light"] .theme-toggle:hover {
  border-color: rgba(0, 127, 145, 0.28);
  background: rgba(0, 127, 145, 0.07);
  box-shadow: 0 13px 30px rgba(42, 56, 88, 0.11);
}

html[data-theme="light"] .btn-primary {
  color: #fff;
  border-color: rgba(0, 127, 145, 0.3);
  background: var(--accent);
  box-shadow: 0 16px 42px rgba(0, 127, 145, 0.16);
}

html[data-theme="light"] .btn-primary:hover {
  color: #fff;
  border-color: #11162a;
  background: #11162a;
}

html[data-theme="light"] .hero::before {
  background:
    linear-gradient(
      to bottom,
      rgba(243, 246, 251, 0.02),
      rgba(243, 246, 251, 0.16) 62%,
      var(--bg) 100%
    ),
    linear-gradient(
      90deg,
      var(--bg) 0%,
      rgba(243, 246, 251, 0.72) 42%,
      rgba(243, 246, 251, 0.16) 100%
    );
}

html[data-theme="light"] h1 .gradient-text {
  background: linear-gradient(
    100deg,
    #11162a 8%,
    #007f91 46%,
    #6748dc 76%,
    #11162a 100%
  );
  background-size: 210% auto;
  background-clip: text;
  -webkit-background-clip: text;
}

html[data-theme="light"] .hero-lead {
  color: #59647e;
}

html[data-theme="light"] .hero-meta,
html[data-theme="light"] .ticker-track {
  color: #68728a;
}

html[data-theme="light"] .orbit-core {
  border-color: rgba(20, 29, 52, 0.13);
  background:
    radial-gradient(
      circle at 35% 25%,
      rgba(255, 255, 255, 0.88),
      transparent 30%
    ),
    linear-gradient(145deg, rgba(0, 127, 145, 0.14), rgba(103, 72, 220, 0.12));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.78),
    inset 0 -18px 35px rgba(64, 78, 110, 0.07),
    0 35px 75px rgba(42, 56, 88, 0.15),
    0 0 75px rgba(0, 127, 145, 0.08);
}

html[data-theme="light"] .orbit-ring {
  border-color: rgba(20, 29, 52, 0.13);
}

html[data-theme="light"] .ring-two {
  border-color: rgba(0, 127, 145, 0.17);
}

html[data-theme="light"] .ring-three {
  border-color: rgba(103, 72, 220, 0.17);
}

html[data-theme="light"] .satellite,
html[data-theme="light"] .data-panel {
  border-color: rgba(20, 29, 52, 0.12);
  background: rgba(255, 255, 255, 0.8);
  box-shadow:
    var(--shadow),
    0 0 25px rgba(0, 127, 145, 0.06);
}

html[data-theme="light"] .data-panel small {
  color: #67718a;
}

html[data-theme="light"] .scroll-cue {
  border-color: rgba(20, 29, 52, 0.2);
}

html[data-theme="light"] .ticker {
  background: rgba(20, 29, 52, 0.016);
}

html[data-theme="light"] .project-card {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(42, 56, 88, 0.14);
}

html[data-theme="light"] .project-card:hover {
  border-color: rgba(0, 127, 145, 0.25);
  box-shadow:
    0 28px 70px rgba(42, 56, 88, 0.18),
    0 0 0 1px rgba(0, 127, 145, 0.06);
}

html[data-theme="light"] .project-image {
  background:
    radial-gradient(
      circle at 25% 20%,
      rgba(0, 127, 145, 0.14),
      transparent 32%
    ),
    linear-gradient(145deg, #e8eef8, #f9fbfe);
}

html[data-theme="light"] .project-code,
html[data-theme="light"] .project-type {
  color: #202840;
  border-color: rgba(20, 29, 52, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 7px 20px rgba(42, 56, 88, 0.08);
}

html[data-theme="light"] .project-type {
  color: #007582;
}

html[data-theme="light"] .project-content h3,
html[data-theme="light"] .project-link {
  color: #11162a;
}

html[data-theme="light"] .project-content p {
  color: #515d76;
}

html[data-theme="light"] .project-card:hover .project-content,
html[data-theme="light"] .project-card:focus-within .project-content {
  border-top-color: rgba(20, 29, 52, 0.14);
  box-shadow: 0 -12px 32px rgba(42, 56, 88, 0.08);
}

html[data-theme="light"] .project-domain,
html[data-theme="light"] .project-link-muted {
  color: #66718a;
}

html[data-theme="light"] .social-link {
  color: #4f5a73;
  border-color: rgba(20, 29, 52, 0.12);
  background: rgba(255, 255, 255, 0.66);
}

html[data-theme="light"] .social-link:hover {
  color: #007f91;
  border-color: rgba(0, 127, 145, 0.27);
  background: rgba(0, 127, 145, 0.07);
}

html[data-theme="light"] .project-card.coming-soon::before {
  background:
    linear-gradient(
      90deg,
      rgba(249, 251, 255, 0.98) 0%,
      rgba(249, 251, 255, 0.88) 48%,
      rgba(249, 251, 255, 0.3) 100%
    ),
    linear-gradient(125deg, rgba(103, 72, 220, 0.12), transparent 55%);
}

html[data-theme="light"] .manifesto::before {
  background: radial-gradient(circle, rgba(0, 127, 145, 0.1), transparent 68%);
}

html[data-theme="light"] .tech-sphere {
  border-color: rgba(20, 29, 52, 0.1);
  background:
    radial-gradient(circle at 42% 38%, rgba(0, 127, 145, 0.1), transparent 23%),
    radial-gradient(
      circle at 50% 50%,
      rgba(103, 72, 220, 0.09),
      rgba(243, 246, 251, 0.2) 55%,
      transparent 70%
    );
  box-shadow:
    inset 0 0 65px rgba(0, 127, 145, 0.04),
    0 0 80px rgba(103, 72, 220, 0.05);
}

html[data-theme="light"] .tech-sphere::before,
html[data-theme="light"] .tech-sphere::after {
  border-color: rgba(0, 127, 145, 0.15);
}

html[data-theme="light"] .sphere-line {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(20, 29, 52, 0.18),
    transparent
  );
}

html[data-theme="light"] .principle p,
html[data-theme="light"] .footer-copy,
html[data-theme="light"] .partner-heading p,
html[data-theme="light"] .partner-card span {
  color: #66718a;
}

html[data-theme="light"] .partner-card {
  border-color: rgba(20, 29, 52, 0.1);
  background:
    linear-gradient(
      135deg,
      rgba(0, 127, 145, 0.045),
      rgba(103, 72, 220, 0.045)
    ),
    rgba(240, 244, 250, 0.78);
  box-shadow: 0 12px 34px rgba(42, 56, 88, 0.07);
}

html[data-theme="light"] .partner-card:hover {
  border-color: rgba(0, 127, 145, 0.22);
  background: rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .footer-bottom {
  color: #6b758d;
}

html[data-theme="light"] .affiliate-disclosure {
  color: #6b758d;
}

html[data-theme="light"] .cursor-glow {
  background: radial-gradient(
    circle,
    rgba(0, 127, 145, 0.055),
    transparent 67%
  );
}

html[data-theme="light"] .data-map {
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(0, 127, 145, 0.08),
      transparent 26%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(103, 72, 220, 0.08),
      rgba(243, 246, 251, 0.32) 58%,
      transparent 74%
    );
  box-shadow:
    inset 0 0 65px rgba(0, 127, 145, 0.05),
    0 0 75px rgba(103, 72, 220, 0.06);
}

html[data-theme="light"] .data-ring {
  border-color: rgba(25, 34, 56, 0.1);
}

html[data-theme="light"] .data-map-center {
  border-color: rgba(25, 34, 56, 0.1);
  background:
    radial-gradient(
      circle at 32% 20%,
      rgba(255, 255, 255, 0.85),
      transparent 30%
    ),
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(227, 235, 247, 0.92));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.7),
    0 16px 40px rgba(42, 56, 88, 0.12);
}

html[data-theme="light"] .data-map-center small,
html[data-theme="light"] .service-card p,
html[data-theme="light"] .portfolio-panel p {
  color: #5d6881;
}

html[data-theme="light"] .data-node {
  color: #263150;
  border-color: rgba(20, 29, 52, 0.1);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 28px rgba(42, 56, 88, 0.08);
}

html[data-theme="light"] .binary-stream {
  color: rgba(0, 127, 145, 0.45);
}

html[data-theme="light"] .portfolio-panel {
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(0, 127, 145, 0.1),
      transparent 23rem
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(103, 72, 220, 0.12),
      transparent 28rem
    ),
    rgba(255, 255, 255, 0.85);
  box-shadow: 0 24px 80px rgba(42, 56, 88, 0.08);
}

html[data-theme="light"] .service-card {
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 50px rgba(42, 56, 88, 0.06);
}

html[data-theme="light"] .service-card:hover {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 58px rgba(42, 56, 88, 0.1);
}

html[data-theme="light"] .contact-panel {
  background:
    radial-gradient(circle at 5% 100%, rgba(103, 72, 220, 0.12), transparent 24rem),
    radial-gradient(circle at 100% 0%, rgba(0, 127, 145, 0.1), transparent 22rem),
    rgba(255, 255, 255, 0.84);
}

html[data-theme="light"] .contact-form input:not([type="checkbox"]),
html[data-theme="light"] .contact-form textarea {
  background: rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] .form-feedback-error {
  color: #7f164f;
}

html[data-theme="light"] .service-icon {
  border-color: rgba(20, 29, 52, 0.1);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.9);
}

h1 {
  font-size: 60pt;
}

h2 {
  font-size: 45pt !important;
}

.partner-heading span {
  font-size: 15pt;
}
.partner-heading h2 {
  font-size: 35pt !important;
}

.is-visible h3 {
    font-size: 25pt;
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    padding: 18px;
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(6, 9, 20, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.25s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

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

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-links a::after {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  html[data-theme="light"] .nav-links {
    background: rgba(255, 255, 255, 0.96);
  }

  html[data-theme="light"] .nav-links a:hover {
    background: rgba(20, 29, 52, 0.04);
  }

  .hero {
    padding-top: 135px;
  }

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

  .hero-copy {
    text-align: center;
    margin-inline: auto;
  }

  .hero-actions,
  .hero-meta {
    justify-content: center;
  }

  .hero-visual {
    min-height: 480px;
  }

  .section-heading,
  .manifesto-grid {
    grid-template-columns: 1fr;
  }

  .section-heading p {
    max-width: 650px;
  }

  .project-card,
  .project-card.featured {
    grid-column: span 6;
  }

  .project-card.coming-soon {
    grid-column: 1 / -1;
  }

  .project-card.featured {
    min-height: 560px;
  }

  .manifesto-visual {
    min-height: 450px;
    order: 2;
  }

  .portfolio-panel,
  .service-heading,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

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

  .navbar {
    min-height: 62px;
    padding-inline: 14px 10px;
    gap: 14px;
  }

  .nav-actions {
    margin-left: auto;
    gap: 7px;
  }

  .theme-toggle,
  .menu-toggle {
    width: 42px;
  }

  .brand {
    gap: 0.38rem;
  }

  .brand-logo {
    max-width: 104px;
    height: 29px;
  }

  .brand-text {
    font-size: 1.08rem;
  }

  .brand-network {
    font-size: 0.57rem;
    letter-spacing: 0.11em;
  }

  .hero {
    min-height: auto;
    padding: 124px 0 70px;
  }

  h1 {
    font-size: clamp(3.05rem, 16vw, 4.6rem);
  }

  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
  }

  .btn-large {
    width: 100%;
  }

  .hero-meta {
    margin-top: 34px;
    align-items: center;
    flex-direction: column;
    gap: 11px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .orbit-system {
    width: 360px;
    max-width: 100%;
  }

  .orbit-core {
    width: 130px;
    border-radius: 32px;
  }

  .data-map {
    width: min(100%, 360px);
  }

  .data-map-center {
    width: 136px;
    height: 136px;
  }

  .data-map-center strong {
    font-size: 1.65rem;
  }

  .orbit-core::after {
    font-size: 1.95rem;
  }

  .ring-one {
    width: 220px;
    height: 220px;
  }
  .ring-two {
    width: 295px;
    height: 295px;
  }
  .ring-three {
    width: 355px;
    height: 355px;
  }

  .satellite {
    width: 45px;
    border-radius: 14px;
  }

  .data-panel {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 92px 0;
  }

  .section-heading {
    gap: 22px;
    margin-bottom: 38px;
  }

  .section-heading h2,
  .manifesto-copy h2 {
    font-size: clamp(2.55rem, 12vw, 3.8rem);
  }

  .network-grid {
    gap: 16px;
  }

  .project-card,
  .project-card.featured,
  .project-card.coming-soon {
    grid-column: 1 / -1;
    min-height: 500px;
  }

  .project-card.coming-soon {
    min-height: 430px;
  }

  .project-picture img {
    object-position: center center;
  }

  .partner-section {
    padding-bottom: 90px;
  }

  .partner-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .portfolio-panel {
    padding: 28px;
  }

  .portfolio-panel h2,
  .service-heading h2 {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  .service-card {
    padding: 22px;
  }

  .contact-panel {
    padding: 24px;
    gap: 28px;
  }

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

  .contact-form-full {
    grid-column: auto;
  }

  .contact-submit {
    width: 100%;
  }

  .project-card.featured {
    min-height: 540px;
  }

  .project-content,
  .project-card.featured .project-content {
    padding: 24px;
    opacity: 1;
    pointer-events: auto;
    transform: translateZ(44px);
    background-color: transparent;
    backdrop-filter: none;
  }

  .project-footer {
    align-items: flex-end;
  }

  .manifesto-visual {
    min-height: 360px;
  }

  .principle {
    grid-template-columns: 44px 1fr;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    gap: 7px;
  }
}

@media (pointer: coarse) {
  .cursor-glow {
    display: none;
  }
  .project-card {
    transform: none !important;
  }
}

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

  #network-canvas,
  .cursor-glow {
    display: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
