:root:has(input.theme-controller[value=cloudvolution]:checked),
[data-theme="cloudvolution"] {
  color-scheme: dark;
  --color-base-100: oklch(17% 0.03 250);
  --color-base-200: oklch(14% 0.028 250);
  --color-base-300: oklch(22% 0.036 246);
  --color-base-content: oklch(95% 0.012 230);
  --color-primary: oklch(76% 0.145 199);
  --color-primary-content: oklch(16% 0.035 245);
  --color-secondary: oklch(70% 0.15 246);
  --color-secondary-content: oklch(98% 0.008 230);
  --color-accent: oklch(81% 0.12 178);
  --color-accent-content: oklch(16% 0.035 245);
  --color-neutral: oklch(28% 0.035 248);
  --color-neutral-content: oklch(95% 0.012 230);
  --color-info: oklch(72% 0.14 228);
  --color-info-content: oklch(98% 0.008 230);
  --color-success: oklch(75% 0.14 164);
  --color-success-content: oklch(16% 0.035 245);
  --color-warning: oklch(82% 0.14 88);
  --color-warning-content: oklch(20% 0.04 70);
  --color-error: oklch(68% 0.19 24);
  --color-error-content: oklch(98% 0.008 230);
  --radius-selector: 2rem;
  --radius-field: 2rem;
  --radius-box: 1.5rem;
  --size-selector: 0.25rem;
  --size-field: 0.25rem;
  --border: 1px;
  --depth: 0;
  --noise: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #07111f;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 8%, rgba(50, 177, 230, 0.07), transparent 26rem),
    #07111f;
  color: var(--color-base-content);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(88, 214, 232, 0.25);
  color: #fff;
}

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

.shell {
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
}

.page-noise {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(202, 235, 245, 0.09);
}

.navbar {
  min-height: 138px;
  padding: 0;
}

.brand img {
  display: block;
  width: 240px;
  height: auto;
}

.navbar-center {
  gap: 2.25rem;
}

.nav-link,
.header-cta,
.eyebrow,
.section-kicker,
.capability-index,
.hero-footer,
.site-footer {
  font-family: "DM Mono", monospace;
}

.nav-link {
  color: color-mix(in srgb, var(--color-base-content) 58%, transparent);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-base-content);
}

.header-cta {
  gap: 0.65rem;
  border: 1px solid rgba(196, 238, 247, 0.18);
  color: rgba(229, 248, 251, 0.78);
  font-size: 0.72rem;
  font-weight: 400;
}

.hero-field {
  position: relative;
  display: block;
  min-height: 840px;
  overflow: hidden;
  background: radial-gradient(ellipse at 80% 46%, rgba(23, 87, 115, 0.12), transparent 48%), #07111f;
}

#network-canvas,
#volume-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

#volume-canvas {
  mask-image: linear-gradient(180deg, transparent, #000 15%, #000 75%, transparent);
}

#network-canvas { z-index: 1; }

.hero-field.no-webgl {
  background: radial-gradient(ellipse at 80% 46%, rgba(23, 87, 115, 0.16), transparent 48%), #07111f;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 790px;
  max-width: none;
  justify-content: flex-start;
  padding-top: 146px;
}

.hero-copy {
  width: min(760px, 60%);
}

.eyebrow,
.section-kicker {
  color: color-mix(in srgb, var(--color-base-content) 54%, transparent);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2.25rem;
}

.signal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 20px rgba(88, 214, 232, 0.9);
  animation: signal-pulse 2.4s ease-in-out infinite;
}

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

h1 {
  max-width: 9ch;
  margin-bottom: 2rem;
  font-size: clamp(5rem, 11vw, 10rem);
  font-weight: 500;
  letter-spacing: -0.085em;
  line-height: 0.78;
}

h1 span {
  display: block;
  padding-left: 0.14em;
  color: #bce9ef;
  background: linear-gradient(105deg, #edfafe 4%, #a9dce5 46%, #5cb9c9 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 38px rgba(60, 190, 211, 0.16);
}

.hero-intro {
  max-width: 580px;
  margin-bottom: 2.4rem;
  color: rgba(218, 239, 244, 0.68);
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.btn-primary {
  min-height: 3.8rem;
  padding-inline: 1.65rem;
  border: 0;
  box-shadow: 0 0 0 rgba(88, 214, 232, 0);
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(56, 183, 217, 0.22);
}

.arrow {
  display: inline-block;
  margin-left: 0.8rem;
}

.text-link {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  color: rgba(222, 241, 246, 0.7);
  font-size: 0.83rem;
  transition: color 180ms ease;
}

.text-link:hover {
  color: var(--color-base-content);
}

.hero-footer {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 1.4rem 0;
  border-top: 1px solid rgba(202, 235, 245, 0.09);
  color: rgba(212, 236, 242, 0.38);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-footer span:nth-child(2) {
  text-align: center;
}

.hero-footer span:last-child {
  text-align: right;
}

.section-shell {
  padding-block: clamp(7rem, 12vw, 12rem);
}

.capabilities {
  background: #edf8f9;
  color: #0a1a29;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 2.25fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: clamp(5rem, 9vw, 9rem);
}

.section-heading .section-kicker,
.approach .section-kicker {
  color: rgba(10, 26, 41, 0.46);
}

.section-heading h2,
.approach-title h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(2.65rem, 5.5vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.section-heading h2 {
  max-width: 920px;
}

.capability-list {
  border-top: 1px solid rgba(10, 26, 41, 0.16);
}

.capability-row {
  display: grid;
  grid-template-columns: 0.55fr 1.15fr 1.35fr 0.25fr;
  gap: 2rem;
  align-items: center;
  min-height: 190px;
  border-bottom: 1px solid rgba(10, 26, 41, 0.16);
  transition: padding 260ms ease, background 260ms ease;
}

.capability-row:hover {
  padding-inline: 1.25rem;
  background: rgba(74, 199, 219, 0.08);
}

.capability-index {
  color: rgba(10, 26, 41, 0.42);
  font-size: 0.68rem;
}

.capability-row h3 {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 2.5vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.capability-row p {
  margin-bottom: 0;
  color: rgba(10, 26, 41, 0.58);
  font-size: 0.96rem;
  line-height: 1.7;
}

.capability-mark {
  justify-self: end;
  font-size: 1.3rem;
}

.approach {
  background:
    linear-gradient(rgba(128, 211, 227, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128, 211, 227, 0.035) 1px, transparent 1px),
    #0a1727;
  background-size: 52px 52px;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4rem, 10vw, 10rem);
}

.approach-title {
  position: sticky;
  top: 140px;
  align-self: start;
}

.approach-title .section-kicker {
  margin-bottom: 2rem;
  color: rgba(210, 236, 242, 0.43);
}

.approach-title h2 {
  max-width: 8ch;
}

.method-map {
  position: relative;
}

.method-line {
  position: absolute;
  top: 0;
  bottom: 4rem;
  left: 20px;
  width: 1px;
  background: linear-gradient(var(--color-primary), rgba(88, 214, 232, 0.08));
}

.method-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 2rem;
  min-height: 240px;
}

.method-step > span {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(88, 214, 232, 0.25);
  border-radius: 50%;
  background: #0a1727;
  color: var(--color-primary);
  font-family: "DM Mono", monospace;
  font-size: 0.62rem;
}

.method-step h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.method-step p {
  max-width: 410px;
  color: rgba(211, 236, 241, 0.52);
  line-height: 1.7;
}

.contact {
  position: relative;
  overflow: hidden;
  background: var(--color-primary);
  color: var(--color-primary-content);
}

.contact-inner {
  position: relative;
}

.contact .section-kicker {
  color: rgba(7, 25, 36, 0.55);
}

.contact h2 {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  margin: 2rem 0 3.5rem;
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: 0.9;
}

.contact .btn-primary {
  position: relative;
  z-index: 1;
  background: #07111f;
  color: #e7f9fb;
}

.contact-orb {
  position: absolute;
  top: 50%;
  right: -8%;
  width: min(45vw, 600px);
  aspect-ratio: 1;
  border: 1px solid rgba(7, 25, 36, 0.16);
  border-radius: 50%;
  transform: translateY(-50%);
}

.contact-orb::before,
.contact-orb::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(7, 25, 36, 0.12);
  border-radius: 50%;
}

.contact-orb::before {
  inset: 14%;
}

.contact-orb::after {
  inset: 31%;
  background: rgba(7, 25, 36, 0.07);
}

.site-footer {
  align-items: start;
  padding-block: 4rem;
  color: rgba(216, 239, 244, 0.48);
  font-size: 0.82rem;
  line-height: 1.7;
}

.site-footer aside {
  min-width: 45%;
  align-items: flex-start;
  text-align: left;
}

.site-footer nav {
  min-width: 190px;
}

.footer-logo {
  width: 240px;
  margin-bottom: 0.9rem;
}

.footer-tagline {
  margin: 0;
  color: rgba(226, 244, 248, 0.62);
  font-size: 0.82rem;
  text-align: left;
}

.footer-copyright {
  display: block;
  align-self: end;
  min-width: max-content;
  margin-left: auto;
  white-space: nowrap;
}

.footer-title {
  color: rgba(229, 248, 251, 0.86);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms cubic-bezier(0.22, 1, 0.36, 1), transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.hero-copy .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.hero-copy .reveal:nth-child(3) {
  transition-delay: 160ms;
}

.hero-copy .reveal:nth-child(4) {
  transition-delay: 240ms;
}

@keyframes signal-pulse {
  50% { opacity: 0.4; transform: scale(0.72); }
}

.hero-field.is-offscreen .signal-dot { animation-play-state: paused; }

@media (max-width: 900px) {
  .hero-field { min-height: 780px; }
  .hero-content { min-height: 730px; }
  .hero-copy { width: 100%; }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .capability-row { grid-template-columns: 0.25fr 1fr 1.2fr 0.15fr; gap: 1rem; }
  .approach-grid { gap: 5rem; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1280px); }
  .navbar { min-height: 106px; }
  .brand img { width: 184px; }
  .header-cta { width: 42px; min-height: 42px; padding: 0; font-size: 0; }
  .header-cta span { font-size: 1rem; }
  .hero-field { min-height: 760px; }
  .hero-content { min-height: 700px; padding-top: 112px; }
  .hero-copy { padding-top: 2rem; }
  .eyebrow { max-width: 28ch; line-height: 1.6; }
  h1 { margin-left: -0.05em; font-size: clamp(4.5rem, 23vw, 7rem); }
  h1 span { padding-left: 0.25em; }
  .hero-intro { max-width: 30ch; font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.4rem; }
  .hero-actions .btn { min-height: 3.5rem; }
  .hero-footer { grid-template-columns: 1fr; gap: 0.45rem; }
  .hero-footer span:nth-child(2),
  .hero-footer span:last-child { display: none; }
  .section-shell { padding-block: 6.5rem; }
  .section-heading { margin-bottom: 4rem; }
  .capability-row { grid-template-columns: 36px 1fr 24px; min-height: auto; padding-block: 2rem; }
  .capability-row h3 { font-size: 1.55rem; }
  .capability-row p { grid-column: 2 / 4; }
  .capability-mark { grid-column: 3; grid-row: 1; }
  .capability-row:hover { padding-inline: 0; }
  .approach-grid { grid-template-columns: 1fr; gap: 5rem; }
  .approach-title { position: static; }
  .method-step { min-height: 220px; gap: 1.25rem; }
  .contact h2 { font-size: clamp(4rem, 19vw, 6.5rem); }
  .contact .btn { width: 100%; padding-inline: 1rem; font-size: 0.78rem; }
  .contact-orb { right: -55%; width: 115vw; }
  .site-footer aside { min-width: 100%; }
  .footer-copyright { align-self: start; margin-left: 0; }
}

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