:root {
  --bg-main: #070b16;
  --bg-panel: #0f162b;
  --line: #27324a;
  --text-main: #eef3ff;
  --text-muted: #9eabc5;
  --accent: #48d5ff;
  --accent-2: #6b7cff;
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
}

h1,
h2,
h3,
.brand {
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  letter-spacing: -0.02em;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(72, 213, 255, 0.085) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(72, 213, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 18% 14%, rgba(107, 124, 255, 0.2), transparent 45%),
    radial-gradient(circle at 84% 22%, rgba(72, 213, 255, 0.18), transparent 42%),
    linear-gradient(165deg, #060a14 10%, #0a1120 60%, #070b16 100%);
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
  filter: saturate(115%);
}

.site-shell {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 0 0.4rem;
}

.brand {
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  margin-right: auto;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 1.4rem);
}

.hero {
  padding: 4rem 0 2.4rem;
  align-items: center;
}

.hero-copy {
  grid-column: span 7;
  max-width: 660px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(72, 213, 255, 0.35);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.79rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.06;
  margin: 0 0 1rem;
}

.lead {
  color: var(--text-muted);
  max-width: 58ch;
  margin: 0 0 1.8rem;
}

.cta {
  display: inline-block;
  background: linear-gradient(130deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #071022;
  text-decoration: none;
  padding: 0.9rem 1.35rem;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 10px 34px rgba(72, 213, 255, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 38px rgba(72, 213, 255, 0.42);
}

.hero-art {
  grid-column: span 5;
  min-height: 430px;
  border-radius: 28px;
  border: 1px solid rgba(133, 154, 195, 0.2);
  background: radial-gradient(circle at 20% 15%, rgba(72, 213, 255, 0.18), transparent 42%),
    linear-gradient(165deg, rgba(15, 22, 43, 0.95), rgba(9, 14, 27, 0.96));
  position: relative;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.4px);
}

.orb-a {
  width: 170px;
  height: 170px;
  background: radial-gradient(circle at 30% 30%, #95f4ff, #44bcff 65%, #2473ff);
  top: 42px;
  right: 34px;
  opacity: 0.86;
  box-shadow: 0 0 40px rgba(72, 213, 255, 0.45);
}

.orb-b {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 30% 25%, #c1cbff, #7488ff 66%, #495fff);
  bottom: 54px;
  left: 56px;
  opacity: 0.8;
  box-shadow: 0 0 30px rgba(107, 124, 255, 0.45);
}

.slab {
  position: absolute;
  border-radius: 14px;
  border: 1px solid rgba(156, 186, 255, 0.25);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(6px);
  transform-style: preserve-3d;
}

.slab-a {
  width: 220px;
  height: 130px;
  right: 64px;
  top: 162px;
  transform: rotate(-18deg);
}

.slab-b {
  width: 170px;
  height: 104px;
  left: 50px;
  top: 140px;
  transform: rotate(18deg);
}

.slab-c {
  width: 200px;
  height: 120px;
  right: 90px;
  bottom: 40px;
  transform: rotate(8deg);
}

.ring {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px dashed rgba(72, 213, 255, 0.38);
  left: 92px;
  top: 104px;
  transform: rotate(16deg);
}

.content-section {
  padding: 1.2rem 0 0.6rem;
}

.content-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
}

.cards {
  margin-bottom: 1.6rem;
}

.card {
  background: linear-gradient(165deg, rgba(17, 26, 48, 0.9), rgba(11, 16, 30, 0.9));
  border: 1px solid rgba(126, 148, 189, 0.22);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1.2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

.service {
  grid-column: span 4;
}

.stack {
  grid-column: span 3;
}

.metric {
  grid-column: span 3;
}

.quote {
  grid-column: span 6;
}

.number {
  color: var(--accent);
  font-size: 1.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.label,
.author {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
}

.author {
  margin-top: 0.75rem;
  color: #c5d2ea;
}

.footer {
  padding: 1.4rem 0 2rem;
}

.footer p {
  margin: 0;
  color: #8493b0;
  font-size: 0.82rem;
}

.reveal,
.reveal-delay {
  opacity: 0;
  transform: translateY(12px);
  animation: rise-in 650ms ease forwards;
}

.reveal-delay {
  animation-delay: 180ms;
}

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

@media (max-width: 980px) {
  .hero-copy,
  .hero-art,
  .service,
  .stack,
  .metric,
  .quote {
    grid-column: span 12;
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero-art {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .nav {
    flex-wrap: wrap;
    row-gap: 0.45rem;
  }

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

  .hero-art {
    min-height: 320px;
  }

  .orb-a {
    width: 130px;
    height: 130px;
  }

  .orb-b {
    width: 95px;
    height: 95px;
  }
}
