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

:root {
  --bg: #050b11;
  --bg-soft: #09131e;
  --panel: rgba(14, 30, 43, .74);
  --panel-solid: #0d1a25;
  --text: #edf7fb;
  --muted: #8ba1ad;
  --line: rgba(157, 211, 229, .16);
  --green: #54f0a7;
  --green-deep: #18ad72;
  --blue: #4ec9ff;
  --glow: rgba(78, 201, 255, .22);
  --radius: 26px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 12%, rgba(24, 173, 114, .08), transparent 25%),
    radial-gradient(circle at 10% 40%, rgba(78, 201, 255, .07), transparent 28%),
    var(--bg);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

#starfield {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.page-noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: .025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.section {
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 125px 0;
}
.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: .3s ease;
}
.site-header.scrolled {
  background: rgba(5, 11, 17, .82);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.brand img, .footer-brand img { width: 205px; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  color: #b9c8cf;
  font-size: .83rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s;
}
.main-nav a:hover { color: var(--green); }
.main-nav .nav-cta {
  padding: 12px 20px;
  color: var(--text);
  border: 1px solid rgba(84, 240, 167, .45);
  border-radius: 100px;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 6px 0;
  background: white;
  transition: .25s;
}

.hero {
  min-height: 100vh;
  width: min(1440px, calc(100% - 48px));
  padding-top: 165px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: 50px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 25px;
  color: #9db2bc;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
}
.eyebrow span { width: 34px; height: 1px; background: var(--green); }
.hero h1, .section-heading h2, .contact h2 {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: -.055em;
  line-height: .98;
}
.hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 7.4rem);
  font-weight: 500;
}
.hero h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(237, 247, 251, .6);
}
.hero-text {
  max-width: 680px;
  margin: 34px 0 0;
  color: #aabac2;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}
.hero-actions { display: flex; gap: 14px; margin-top: 38px; }
.button {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  transition: transform .2s, background .2s, border-color .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #03100b;
  background: var(--green);
  box-shadow: 0 0 38px rgba(84, 240, 167, .15);
}
.button-primary:hover { background: #78ffc1; }
.button-ghost {
  color: #d5e2e7;
  border-color: var(--line);
  background: rgba(255,255,255,.02);
}
.button-ghost:hover { border-color: rgba(78, 201, 255, .5); }
.hero-stats {
  display: flex;
  gap: 44px;
  margin-top: 65px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}
.hero-stats article { max-width: 145px; }
.hero-stats strong, .hero-stats b {
  font-family: "Space Grotesk";
  font-size: 1.75rem;
}
.hero-stats b { color: var(--green); }
.hero-stats span { display: block; color: var(--muted); font-size: .74rem; line-height: 1.4; }

.hero-visual {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
}
.planet-wrap {
  position: relative;
  width: min(550px, 42vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.planet {
  position: relative;
  width: 72%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(135, 255, 209, .75), transparent 8%),
    radial-gradient(circle at 36% 35%, #1c9d80, #07384d 45%, #03131f 75%);
  box-shadow: inset -45px -35px 70px rgba(0,0,0,.72), 0 0 100px rgba(78, 201, 255, .12);
}
.planet:after {
  content: "";
  position: absolute;
  inset: -45%;
  background: repeating-linear-gradient(0deg, transparent 0 14px, rgba(105,218,255,.09) 15px 16px);
  transform: rotate(-20deg);
}
.planet-grid {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: .28;
  background-image:
    linear-gradient(rgba(78,201,255,.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78,201,255,.3) 1px, transparent 1px);
  background-size: 32px 32px;
  transform: rotate(14deg) scale(1.2);
}
.planet-highlight {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
}
.planet-glow {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: rgba(78, 201, 255, .16);
  filter: blur(50px);
}
.hero-orbit {
  position: absolute;
  border: 1px solid rgba(78, 201, 255, .12);
  border-radius: 50%;
  pointer-events: none;
}
.orbit-one { width: 540px; height: 540px; right: 3%; top: 21%; transform: rotate(35deg) scaleY(.48); }
.orbit-two { width: 700px; height: 700px; right: -4%; top: 13%; transform: rotate(-25deg) scaleY(.55); }
.hero-rocket {
  position: absolute;
  z-index: 4;
  width: 27%;
  top: 2%;
  right: 4%;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.5));
  animation: rocketFloat 5s ease-in-out infinite;
}
@keyframes rocketFloat { 50% { transform: translate(-10px, 14px) rotate(-2deg); } }
.satellite-dot {
  position: absolute;
  width: 9px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}
.dot-a { left: 5%; top: 38%; }
.dot-b { right: 10%; bottom: 18%; background: var(--blue); box-shadow: 0 0 18px var(--blue); }
.dot-c { left: 22%; bottom: 4%; width: 5px; }
.telemetry-card {
  position: absolute;
  right: 0;
  bottom: 7%;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
}
.glass {
  background: rgba(8, 21, 31, .68);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.status-dot {
  width: 9px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 15px var(--green);
}
.telemetry-card small { display: block; color: var(--muted); font-size: .58rem; letter-spacing: .18em; }
.telemetry-card strong { font-size: .78rem; letter-spacing: .12em; }
.signal-bars { height: 25px; display: flex; align-items: end; gap: 3px; margin-left: 18px; }
.signal-bars i { width: 3px; background: var(--blue); border-radius: 2px; }
.signal-bars i:nth-child(1) { height: 25%; }
.signal-bars i:nth-child(2) { height: 45%; }
.signal-bars i:nth-child(3) { height: 70%; }
.signal-bars i:nth-child(4) { height: 100%; }
.scroll-indicator {
  position: absolute;
  left: 0;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #8296a0;
  font-size: .6rem;
  letter-spacing: .22em;
  writing-mode: vertical-rl;
}
.scroll-indicator i { width: 1px; height: 55px; background: linear-gradient(var(--green), transparent); }

.section-heading {
  margin-bottom: 65px;
}
.section-heading.wide {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 80px;
}
.section-heading h2, .contact h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 500;
}
.section-heading.wide > p {
  max-width: 420px;
  margin: 0 0 8px;
  color: var(--muted);
}
.about { padding-top: 160px; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.about-copy .lead {
  margin-top: 0;
  color: #dbe7ec;
  font-size: 1.5rem;
  line-height: 1.45;
}
.about-copy > p:not(.lead) { color: var(--muted); }
.text-link {
  display: inline-flex;
  gap: 16px;
  margin-top: 22px;
  color: var(--green);
  font-weight: 700;
}
.mission-panel { position: relative; display: grid; gap: 28px; }
.mission-panel article {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.mission-panel article > span {
  color: var(--green);
  font-family: "Space Grotesk";
  font-size: .78rem;
}
.mission-panel h3 { margin: 0 0 6px; font-family: "Space Grotesk"; font-size: 1.45rem; }
.mission-panel p { margin: 0; color: var(--muted); }
.mission-line {
  position: absolute;
  left: 25px;
  top: 32px;
  bottom: 32px;
  width: 1px;
  background: linear-gradient(var(--green), rgba(84,240,167,.05));
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.area-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  padding: 28px;
  display: flex;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(15,31,44,.9), rgba(5,12,18,.92));
  transition: transform .35s, border-color .35s;
}
.area-card:hover { transform: translateY(-6px); border-color: rgba(84,240,167,.4); }
.area-card.area-featured { grid-column: span 2; min-height: 520px; }
.area-card img {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 60%;
  height: 68%;
  object-fit: contain;
  opacity: .8;
  transition: transform .5s, opacity .5s;
}
.area-card:hover img { transform: scale(1.045); opacity: 1; }
.area-featured img { width: 64%; right: 0; top: 2%; height: 90%; }
.area-number {
  position: absolute;
  top: 25px;
  left: 28px;
  color: #65808c;
  font-family: "Space Grotesk";
  font-size: .78rem;
}
.area-content { position: relative; z-index: 2; max-width: 560px; }
.area-content > p {
  margin: 0 0 8px;
  color: var(--green);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
}
.area-content h3 { max-width: 520px; margin: 0 0 12px; font-family: "Space Grotesk"; font-size: 2rem; line-height: 1.1; }
.area-featured .area-content h3 { font-size: clamp(2.4rem, 4vw, 4.3rem); }
.area-content span { color: var(--muted); font-size: .86rem; }

.projects { width: min(1340px, calc(100% - 48px)); }
.project-list { display: grid; gap: 110px; }
.project {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 70px;
  align-items: center;
}
.project-reverse { grid-template-columns: .75fr 1.25fr; }
.project-reverse .project-media { order: 2; }
.project-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 70% 30%, rgba(78,201,255,.16), transparent 28%),
    linear-gradient(135deg, #0b1a25, #050b11);
}
.project-media:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 35px 35px;
}
.project-media img { position: relative; z-index: 2; width: 82%; max-height: 480px; }
.project-media > span {
  position: absolute;
  z-index: 4;
  left: 24px;
  bottom: 24px;
  padding: 9px 13px;
  border: 1px solid rgba(84,240,167,.35);
  border-radius: 100px;
  color: var(--green);
  background: rgba(5,11,17,.8);
  font-size: .62rem;
  letter-spacing: .16em;
}
.project-copy > p:first-child { color: var(--green); font-size: .7rem; font-weight: 700; letter-spacing: .18em; }
.project-copy h3 { margin: 14px 0 22px; font-family: "Space Grotesk"; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.05; }
.project-copy > p:not(:first-child) { color: var(--muted); font-size: 1.04rem; }
.project-copy ul { list-style: none; margin: 28px 0 0; padding: 0; }
.project-copy li {
  padding: 13px 0;
  color: #c9d7dc;
  border-bottom: 1px solid var(--line);
}
.project-copy li:before { content: "↗"; margin-right: 12px; color: var(--green); }

.technology { overflow: hidden; }
.tech-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.tech-background span {
  color: rgba(255,255,255,.018);
  font-family: "Space Grotesk";
  font-size: 20vw;
  font-weight: 700;
  letter-spacing: -.08em;
}
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tech-card {
  min-height: 270px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(7, 17, 25, .7);
  backdrop-filter: blur(6px);
}
.tech-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(78,201,255,.25);
  color: var(--blue);
  font-family: "Space Grotesk";
  font-size: .72rem;
  letter-spacing: .08em;
  background: rgba(78,201,255,.05);
}
.tech-card h3 { margin: 28px 0 12px; font-family: "Space Grotesk"; font-size: 1.35rem; }
.tech-card p { margin: 0; color: var(--muted); }

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.process-track:before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--green), rgba(78,201,255,.25), transparent);
}
.process-track article { position: relative; padding-top: 62px; }
.process-track strong {
  position: absolute;
  top: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #04110c;
  background: var(--green);
  font-family: "Space Grotesk";
  font-size: .74rem;
}
.process-track h3 { font-family: "Space Grotesk"; font-size: 1.45rem; }
.process-track p { color: var(--muted); }

.contact { width: min(1340px, calc(100% - 48px)); }
.contact-panel {
  padding: clamp(35px, 6vw, 80px);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  border: 1px solid rgba(84,240,167,.22);
  border-radius: 36px;
  background:
    radial-gradient(circle at 0 100%, rgba(84,240,167,.1), transparent 35%),
    linear-gradient(135deg, rgba(11,27,38,.96), rgba(5,12,18,.95));
}
.contact-copy > p:not(.eyebrow) { max-width: 520px; color: var(--muted); }
.contact-direct { margin-top: 45px; display: grid; gap: 8px; }
.contact-direct a { color: var(--green); font-weight: 700; }
.contact-direct span { color: var(--muted); font-size: .85rem; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; color: #cbd8de; font-size: .78rem; font-weight: 600; }
.contact-form label:nth-child(3), .contact-form label:nth-child(4), .contact-form button, .contact-form small { grid-column: span 2; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px 15px;
  color: var(--text);
  outline: none;
  background: rgba(255,255,255,.035);
  transition: border-color .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--green); }
.contact-form textarea { resize: vertical; }
.contact-form option { color: #111; }
.contact-form button { justify-self: start; border: 0; }
.contact-form small { color: #67808b; }

.site-footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0 30px;
  border-top: 1px solid var(--line);
}
.site-footer > p { color: var(--muted); }
.footer-links { display: flex; gap: 28px; margin: 32px 0 55px; color: #b7c7ce; font-size: .85rem; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #687f8a;
  font-size: .72rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }

@media (max-width: 1000px) {
  .main-nav {
    position: fixed;
    inset: 84px 0 0;
    padding: 50px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    background: rgba(5,11,17,.97);
    transform: translateX(100%);
    transition: transform .3s;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.25rem; }
  .menu-toggle { display: block; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; padding-top: 145px; }
  .hero-visual { min-height: 540px; }
  .planet-wrap { width: min(540px, 86vw); }
  .orbit-one, .orbit-two { display: none; }
  .about-grid, .project, .project-reverse, .contact-panel { grid-template-columns: 1fr; }
  .project-reverse .project-media { order: initial; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: repeat(2, 1fr); gap: 50px 25px; }
  .section-heading.wide { align-items: start; flex-direction: column; gap: 20px; }
}

@media (max-width: 680px) {
  .section, .hero, .projects, .contact, .site-footer { width: min(100% - 30px, var(--max)); }
  .section { padding: 88px 0; }
  .site-header { height: 72px; padding: 0 15px; }
  .main-nav { inset: 72px 0 0; }
  .brand img { width: 180px; }
  .hero { min-height: auto; padding-top: 120px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-stats { gap: 18px; justify-content: space-between; }
  .hero-stats article { max-width: 30%; }
  .hero-stats strong, .hero-stats b { font-size: 1.35rem; }
  .hero-visual { min-height: 430px; }
  .planet-wrap { width: 100%; }
  .telemetry-card { bottom: 0; right: 2%; }
  .scroll-indicator { display: none; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2, .contact h2 { font-size: 2.7rem; }
  .about-grid { gap: 55px; }
  .area-grid, .tech-grid { grid-template-columns: 1fr; }
  .area-card.area-featured { grid-column: auto; min-height: 460px; }
  .area-card { min-height: 420px; }
  .area-card img, .area-featured img { width: 95%; height: 65%; top: 6%; right: -8%; }
  .area-featured .area-content h3, .area-content h3 { font-size: 2.25rem; }
  .project-list { gap: 75px; }
  .project { gap: 35px; }
  .project-media { min-height: 390px; }
  .project-copy h3 { font-size: 2.5rem; }
  .process-track { grid-template-columns: 1fr; }
  .process-track:before { display: none; }
  .contact-panel { gap: 50px; border-radius: 24px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label, .contact-form label:nth-child(3), .contact-form label:nth-child(4), .contact-form button, .contact-form small { grid-column: auto; }
  .footer-links { flex-wrap: wrap; }
  .footer-bottom { gap: 15px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
