:root {
  --bg: #030a12;
  --bg-soft: #07131e;
  --line: rgba(220, 235, 246, .22);
  --muted: #aab8c5;
  --white: #f4f6f8;
  --blue: #a9c7ed;
  --max: 1240px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--white);
  background: var(--bg);
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.page-width {
  width: min(calc(100% - 112px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 88px;
  padding: 0 max(40px, calc((100% - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: .29em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 39px;
  font-size: 12px;
  color: #e9eef2;
}

.nav-cta {
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 30px;
  padding: 12px 20px;
  margin-left: 5px;
}

.nav-cta span, .button span, .text-link span { margin-left: 22px; }

.menu-toggle, .mobile-menu { display: none; }

.hero {
  position: relative;
  min-height: 800px;
  height: 100vh;
  max-height: 1040px;
  overflow: hidden;
  background: #020810;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("../assets/earth.jpg");
  background-size: cover;
  background-position: center 68%;
  transform: scale(1.04);
  animation: earth-drift 24s ease-in-out infinite alternate;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 66%, transparent 0 22%, rgba(2,8,16,.2) 55%, #020810 100%),
    linear-gradient(90deg, #020810 0%, rgba(2,8,16,.77) 22%, rgba(2,8,16,.06) 66%, rgba(2,8,16,.28) 100%),
    linear-gradient(0deg, rgba(2,8,16,.94) 0%, transparent 30%, rgba(2,8,16,.25) 100%);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 61% 32%, rgba(64, 137, 210, .12), transparent 28%);
  pointer-events: none;
}

@keyframes earth-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-13px, -5px, 0); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: clamp(145px, 18vh, 190px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #d6e0e8;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.eyebrow i {
  display: block;
  width: 25px;
  height: 1px;
  background: currentColor;
}

h1, h2 {
  margin: 0;
  font-weight: 300;
  letter-spacing: -.055em;
  line-height: .98;
}

h1 {
  max-width: 570px;
  margin-top: 28px;
  font-size: clamp(62px, 6.1vw, 96px);
  color: #f4f5f6;
}

h2 {
  font-size: clamp(42px, 4.2vw, 64px);
}

.hero-intro {
  max-width: 395px;
  margin: 25px 0 29px;
  color: #d5dee7;
  font-size: 15px;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 143px;
  border: 0;
  border-radius: 24px;
  padding: 13px 22px;
  transition: transform .3s ease, background .3s ease;
}

.button:hover { transform: translateY(-3px); }
.button-light { color: #081019; background: #fff; }
.button-light:hover { background: #dcecff; }

.hero-note {
  position: absolute;
  top: 445px;
  left: 0;
  color: #edf3f7;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .24em;
  line-height: 1.6;
  text-transform: uppercase;
}

.hero-annotation {
  position: absolute;
  top: 5px;
  right: 120px;
  width: 120px;
  color: #c4d0da;
  font-size: 9px;
  letter-spacing: .2em;
  line-height: 1.6;
  text-transform: uppercase;
}

.annotation-line {
  position: absolute;
  top: 0;
  left: -17px;
  height: 98px;
  border-left: 1px solid rgba(255,255,255,.8);
}

.annotation-line::before,
.annotation-line::after {
  content: "";
  position: absolute;
  left: -3px;
  width: 5px;
  height: 5px;
  border: 1px solid white;
  border-radius: 50%;
}
.annotation-line::before { top: -3px; }
.annotation-line::after { bottom: -3px; }

.hero-annotation strong { font-weight: 400; }

.orbits {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 105px;
  width: 78%;
  height: 73%;
  fill: none;
  stroke: rgba(177, 211, 244, .32);
  stroke-width: .8;
  pointer-events: none;
  animation: orbit-shift 16s ease-in-out infinite alternate;
}
.orbit-node { fill: #d9edff; filter: drop-shadow(0 0 6px #83c6ff); }
@keyframes orbit-shift {
  to { transform: translate(0, -7px); opacity: .7; }
}

.capabilities {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 62px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.capability {
  display: flex;
  align-items: center;
  gap: 25px;
  min-height: 58px;
  padding-left: 38px;
  border-left: 1px solid var(--line);
}
.capability:first-child { padding-left: 0; border-left: 0; }

.capability-icon {
  width: 38px;
  color: white;
  font-size: 39px;
  line-height: 1;
  font-family: Arial, sans-serif;
  font-weight: 100;
}
.layers-icon { transform: rotate(90deg); }
.shield-icon { font-size: 48px; }

.capability h3 {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.capability p {
  margin: 0;
  color: #ccd6df;
  font-size: 12px;
  line-height: 1.55;
}

.section-dark {
  position: relative;
  background: var(--bg);
}

.approach {
  min-height: 570px;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.14);
}

.approach-grid {
  position: relative;
  z-index: 2;
  min-height: 570px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.approach-copy { padding-bottom: 25px; }
.approach-copy h2 { margin: 23px 0 22px; }
.approach-copy p {
  max-width: 460px;
  color: #d4dde5;
  font-size: 14px;
  line-height: 1.7;
}
.text-link {
  display: inline-block;
  margin-top: 25px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.mountains {
  position: absolute;
  inset: auto 0 0;
  height: 220px;
  opacity: .5;
  background: linear-gradient(145deg, transparent 20%, #0d1b29 20% 31%, transparent 31% 40%, #0b1927 40% 54%, transparent 54%), linear-gradient(35deg, #081521 30%, transparent 30%);
  clip-path: polygon(0 64%, 8% 45%, 14% 68%, 23% 50%, 32% 75%, 43% 48%, 50% 65%, 62% 35%, 71% 64%, 82% 51%, 91% 69%, 100% 42%, 100% 100%, 0 100%);
}

.approach-glow {
  position: absolute;
  right: 15%;
  bottom: 0;
  width: 400px;
  height: 250px;
  background: radial-gradient(ellipse, rgba(52, 88, 135, .3), transparent 70%);
  filter: blur(25px);
}

.approach-orbit { position: relative; height: 100%; min-height: 500px; }
.orbit-earth {
  position: absolute;
  right: -17%;
  bottom: -42%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: url("../assets/earth.jpg") center / cover;
  box-shadow: 0 -15px 70px rgba(78, 157, 238, .55);
  opacity: .62;
}
.orbit-ring {
  position: absolute;
  border: 1px solid rgba(125, 185, 237, .3);
  border-radius: 50%;
  transform: rotate(-25deg);
}
.ring-a { right: -10%; bottom: 21%; width: 620px; height: 230px; }
.ring-b { right: -5%; bottom: 25%; width: 550px; height: 180px; }
.orbit-light {
  position: absolute;
  right: 20%;
  bottom: 48%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 16px 5px #83caff;
}

.contact {
  padding: 76px 0 100px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-copy h2 { margin: 24px 0 20px; }
.contact-copy p {
  max-width: 360px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact-form { padding-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form label { display: block; margin-bottom: 8px; }
input, textarea {
  width: 100%;
  border: 1px solid rgba(182, 205, 226, .25);
  border-radius: 6px;
  outline: 0;
  padding: 14px 13px;
  color: white;
  background: rgba(11, 21, 31, .75);
  transition: border-color .25s ease, background .25s ease;
}
textarea { resize: vertical; min-height: 104px; }
input::placeholder, textarea::placeholder { color: #d0d8df; }
input:focus, textarea:focus { border-color: #9dc8ec; background: rgba(18, 32, 46, .9); }
.submit-button { width: 100%; margin-top: 2px; }
.form-status { min-height: 18px; color: #a9d8bd; font-size: 12px; }

.site-footer {
  border-top: 1px solid rgba(255,255,255,.14);
  background: #030a12;
}
.footer-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 25px;
}
.footer-inner .logo { font-size: 20px; }
.footer-inner p { margin: 0; color: #b2bec8; font-size: 12px; }
.footer-links { display: flex; gap: 28px; margin-left: auto; color: #c8d1d9; font-size: 12px; }
.footer-links a:hover, .text-link:hover { color: var(--blue); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: none; }

.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;
}

@media (max-width: 900px) {
  .page-width { width: min(calc(100% - 52px), var(--max)); }
  .site-header { padding-inline: 26px; }
  .desktop-nav { display: none; }
  .menu-toggle {
    display: flex;
    width: 35px;
    height: 35px;
    border: 0;
    padding: 8px 4px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: transparent;
  }
  .menu-toggle span { display: block; height: 1px; background: white; }
  .mobile-menu {
    position: fixed;
    z-index: 9;
    inset: 0;
    display: flex;
    visibility: hidden;
    opacity: 0;
    padding: 130px 26px 40px;
    flex-direction: column;
    gap: 28px;
    background: rgba(2, 9, 16, .97);
    font-size: 30px;
    transition: opacity .3s ease, visibility .3s ease;
  }
  .mobile-menu.active { visibility: visible; opacity: 1; }
  .mobile-menu a:last-child { font-size: 14px; margin-top: 15px; }
  .hero { min-height: 800px; }
  .hero-image { background-position: 62% center; }
  .hero-annotation { right: 35px; }
  .capabilities { bottom: 35px; }
  .capability { padding-left: 18px; gap: 12px; }
  .capability p { font-size: 11px; }
  .approach-grid, .contact-grid { grid-template-columns: 1fr; }
  .approach-grid { padding-top: 70px; }
  .approach-orbit { min-height: 170px; }
  .orbit-earth { right: -4%; bottom: -440px; width: 500px; height: 500px; }
  .ring-a, .ring-b { display: none; }
}

@media (max-width: 560px) {
  .page-width { width: calc(100% - 40px); }
  .site-header { height: 74px; padding-inline: 20px; }
  .logo { font-size: 20px; }
  .hero { min-height: 790px; height: auto; }
  .hero-image { min-height: 790px; background-position: 68% center; }
  .hero-content { padding-top: 130px; min-height: 670px; }
  h1 { margin-top: 22px; font-size: clamp(52px, 15vw, 70px); }
  .hero-intro { max-width: 300px; font-size: 13px; }
  .hero-annotation { top: 26px; right: 20px; transform: scale(.82); transform-origin: right top; }
  .hero-note { top: 395px; font-size: 8px; }
  .orbits { width: 150%; right: -50%; bottom: 190px; height: 55%; }
  .capabilities {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    display: block;
    padding-bottom: 36px;
  }
  .capability, .capability:first-child {
    min-height: 65px;
    margin-top: 10px;
    padding: 12px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .capability:first-child { margin-top: 0; }
  .capability-icon { width: 42px; }
  .approach { min-height: 650px; }
  .approach-grid { min-height: 650px; padding-top: 75px; align-items: start; }
  .approach-copy h2, .contact-copy h2 { font-size: 43px; }
  .approach-copy p { font-size: 13px; }
  .approach-orbit { min-height: 300px; }
  .orbit-earth { right: -29%; bottom: -330px; width: 490px; height: 490px; }
  .contact { padding: 70px 0 75px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; padding: 28px 0; gap: 15px; }
  .footer-links { margin-left: 0; }
}
