@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  color-scheme: dark;
  --ink: #071522;
  --paper: #f1ead7;
  --muted: #9db0b8;
  --cyan: #59e0dc;
  --blue: #3198d5;
  --sun: #ffca72;
  --coral: #ef765d;
  --line: rgb(196 229 228 / 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 75% 7%, rgb(52 155 177 / 0.18), transparent 24rem),
    linear-gradient(180deg, #071522 0%, #081927 45%, #06111b 100%);
  font-family: "Manrope", sans-serif;
}
a { color: inherit; }

.page-grid {
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.site-header, main, footer {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
}
.wordmark small {
  display: block;
  color: var(--muted);
  font-size: 0.48rem;
  letter-spacing: 0.2em;
}
.wordmark-mark {
  display: grid;
  width: 2rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  background: rgb(89 224 220 / 0.06);
  box-shadow: inset -5px -5px 0 rgb(49 152 213 / 0.12);
}

nav {
  display: flex;
  gap: 1.7rem;
  margin-left: auto;
}
nav a, .header-cta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
}
nav a { color: var(--muted); }
nav a:hover { color: var(--cyan); }
.header-cta {
  border: 1px solid var(--line);
  padding: 0.75rem 1rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  min-height: 720px;
  padding-block: 4rem 5rem;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
  color: var(--cyan);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kicker span { width: 1.8rem; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; }
h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}
h1 em {
  color: var(--sun);
  font-style: normal;
  text-shadow: 4px 4px 0 rgb(239 118 93 / 0.3);
}
.hero-lede {
  max-width: 590px;
  margin: 2rem 0;
  color: #c7d4d3;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding-inline: 1.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.button-primary {
  color: var(--ink);
  background: var(--cyan);
  box-shadow: 5px 5px 0 var(--blue);
}
.button-quiet { border: 1px solid var(--line); color: var(--paper); }

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 4rem 0 0;
}
.signal-strip div { border-top: 1px solid var(--line); padding-top: 0.7rem; }
.signal-strip dt {
  color: var(--cyan);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.7rem;
}
.signal-strip dd { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.7rem; }

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, rgb(76 175 185 / 0.18), transparent 45%),
    linear-gradient(180deg, #163b4b 0%, #0d2638 48%, #091723 100%);
  box-shadow: 18px 18px 0 rgb(49 152 213 / 0.08);
  isolation: isolate;
}
.hero-visual::after {
  position: absolute;
  inset: 0;
  border: 10px solid rgb(7 21 34 / 0.28);
  content: "";
  pointer-events: none;
}
.sun {
  position: absolute;
  top: 14%;
  right: 13%;
  width: 8rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 60px rgb(255 202 114 / 0.35);
}
.cloud {
  position: absolute;
  height: 3rem;
  border-radius: 50%;
  background: rgb(239 234 215 / 0.28);
  filter: blur(6px);
}
.cloud::before, .cloud::after {
  position: absolute;
  border-radius: inherit;
  background: inherit;
  content: "";
}
.cloud-one { top: 23%; left: 4%; width: 13rem; }
.cloud-two { top: 38%; right: -7%; width: 11rem; }
.cloud::before { top: -1.5rem; left: 20%; width: 45%; height: 3.5rem; }
.cloud::after { top: -0.8rem; right: 10%; width: 40%; height: 3rem; }

.core {
  position: absolute;
  z-index: 3;
  top: 28%;
  left: 37%;
  width: 9rem;
  height: 9rem;
  transform: rotate(-7deg);
  animation: float 6s ease-in-out infinite;
}
.core-face { position: absolute; border: 1px solid rgb(197 255 247 / 0.65); }
.core-front {
  inset: 1.7rem 1.2rem 0 0;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgb(89 224 220 / 0.8), rgb(30 105 153 / 0.74));
  box-shadow: inset 0 0 35px rgb(255 255 255 / 0.18), 0 25px 55px rgb(0 0 0 / 0.28);
}
.core-front span {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
}
.core-side {
  top: 1.7rem;
  right: 0;
  width: 1.2rem;
  height: 7.3rem;
  transform: skewY(-40deg);
  transform-origin: left top;
  background: #17668d;
}
.core-top {
  top: 0.55rem;
  left: 0.8rem;
  width: 7.1rem;
  height: 1.2rem;
  transform: skewX(-50deg);
  transform-origin: left bottom;
  background: #8cf4e8;
}
.orbit {
  position: absolute;
  z-index: 2;
  top: 21%;
  left: 19%;
  width: 63%;
  aspect-ratio: 1;
  border: 1px solid rgb(89 224 220 / 0.38);
  border-radius: 50%;
  transform: rotate(28deg);
}
.orbit-two {
  top: 28%;
  left: 28%;
  width: 45%;
  border-color: rgb(255 202 114 / 0.34);
  transform: rotate(-34deg);
}

.city {
  position: absolute;
  z-index: 1;
  right: 5%;
  bottom: 0;
  left: 5%;
  height: 42%;
  border-bottom: 20px solid #07131e;
}
.city span {
  position: absolute;
  bottom: 0;
  left: var(--x);
  width: 10%;
  height: var(--h);
  border: 1px solid rgb(99 184 202 / 0.35);
  background:
    repeating-linear-gradient(90deg, transparent 0 12px, rgb(89 224 220 / 0.12) 13px 15px),
    linear-gradient(180deg, #183c50, #091925);
  clip-path: polygon(10% 10%, 70% 10%, 100% 0, 100% 100%, 0 100%, 0 20%);
}
.speed-lines {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgb(241 234 215 / 0.6);
  stroke-width: 2;
}
.visual-note {
  position: absolute;
  z-index: 5;
  right: 1.2rem;
  bottom: 0.8rem;
  color: var(--cyan);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.56rem;
  letter-spacing: 0.18em;
}

.capabilities, .products { padding-block: 7rem; }
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
  margin-bottom: 3rem;
}
.section-heading .kicker { grid-column: 1 / -1; margin-bottom: -0.5rem; }
h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}
.section-heading > p:last-child {
  max-width: 35rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.capability-grid article {
  min-height: 330px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem;
  background: rgb(14 39 55 / 0.35);
  transition: background 180ms ease, transform 180ms ease;
}
.capability-grid article:hover {
  z-index: 1;
  background: rgb(24 69 83 / 0.52);
  transform: translateY(-5px);
}
.card-index, .product-copy > p {
  color: var(--cyan);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.capability-grid h3 { margin: 4rem 0 1rem; font-size: 1.65rem; }
.capability-grid article > p:not(.card-index) { color: #bdcbcc; line-height: 1.7; }
.capability-grid article > span {
  display: block;
  margin-top: 2.5rem;
  color: var(--sun);
  font-size: 0.68rem;
}

.approach {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 610px;
  border-block: 1px solid var(--line);
}
.approach-art {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background:
    radial-gradient(circle at 48% 32%, rgb(255 202 114 / 0.4), transparent 12rem),
    linear-gradient(180deg, #376c7a, #173748 58%, #0b1d29);
}
.land {
  position: absolute;
  right: -10%;
  bottom: -5%;
  left: -10%;
  height: 44%;
  border-radius: 50% 50% 0 0;
  background: radial-gradient(ellipse at 50% 0, #315e58, #112a2d 70%);
}
.portal {
  position: absolute;
  top: 20%;
  left: 50%;
  width: 11rem;
  height: 17rem;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 45px rgb(89 224 220 / 0.35), inset 0 0 35px rgb(89 224 220 / 0.2);
}
.portal span {
  position: absolute;
  inset: 12%;
  border: 1px dashed rgb(255 202 114 / 0.6);
  border-radius: inherit;
}
.figure {
  position: absolute;
  z-index: 2;
  bottom: 13%;
  left: 48%;
  width: 1.6rem;
  height: 6rem;
  border-radius: 1rem 1rem 0.4rem 0.4rem;
  background: #07121d;
  box-shadow: 0 -2.3rem 0 -0.35rem #07121d;
}
.approach-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7rem);
  background: rgb(8 25 39 / 0.7);
}
.approach-copy ol { margin: 3rem 0 0; padding: 0; list-style: none; counter-reset: steps; }
.approach-copy li {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
  counter-increment: steps;
}
.approach-copy li strong::before {
  margin-right: 0.8rem;
  color: var(--cyan);
  content: "0" counter(steps);
  font-size: 0.6rem;
}
.approach-copy li span { color: var(--muted); font-size: 0.82rem; line-height: 1.55; }

.product-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d2535;
  text-decoration: none;
}
.product-art { position: relative; min-height: 440px; overflow: hidden; }
.product-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.product-card:hover img { transform: scale(1.03); }
.product-grid-mark {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(89 224 220 / 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgb(89 224 220 / 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
}
.product-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
}
.product-copy h3 {
  margin: 1rem 0;
  color: var(--sun);
  font-size: clamp(2.8rem, 5vw, 5rem);
  letter-spacing: -0.06em;
}
.product-copy > span { color: #c2d0d0; line-height: 1.7; }
.product-copy strong {
  margin-top: 3rem;
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}
.product-copy b { margin-left: 0.5rem; font-size: 1.1rem; }

.contact {
  margin-bottom: 7rem;
  padding: 6rem clamp(2rem, 8vw, 7rem);
  text-align: center;
  background:
    radial-gradient(circle at 50% 100%, rgb(49 152 213 / 0.3), transparent 28rem),
    #10293a;
}
.contact .kicker { justify-content: center; }
.contact h2 { margin-bottom: 2.5rem; }
footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
  min-height: 120px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-7deg); }
  50% { transform: translateY(-14px) rotate(-3deg); }
}

@media (max-width: 850px) {
  .site-header nav, .header-cta { display: none; }
  .hero, .approach, .product-card { grid-template-columns: 1fr; }
  .hero { padding-top: 5rem; }
  .hero-visual { min-height: 500px; }
  .section-heading, .capability-grid { grid-template-columns: 1fr; }
  .approach-art { min-height: 480px; }
  .product-art { min-height: 360px; }
  footer { grid-template-columns: 1fr; padding-block: 2rem; }
}

@media (max-width: 520px) {
  .site-header, main, footer { width: min(100% - 1.25rem, 1180px); }
  .hero { min-height: auto; padding-block: 4rem; }
  h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .signal-strip { grid-template-columns: 1fr; margin-top: 3rem; }
  .hero-visual { min-height: 410px; }
  .core { left: 32%; transform: scale(0.8) rotate(-7deg); }
  .capabilities, .products { padding-block: 5rem; }
  .approach-copy { padding: 3rem 1.4rem; }
  .approach-copy li { grid-template-columns: 1fr; }
  .contact { padding: 4rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .core { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
