:root {
  color-scheme: dark;
  --green: #25a147;
  --green-deep: #6fea93;
  --green-ink: #eaffef;
  --wine: #130207;
  --ink: #030604;
  --text: #f4fff7;
  --muted: #9dafaa;
  --line: rgba(112, 238, 154, 0.16);
  --paper: #050807;
  --paper-2: #0b130f;
  --white: #ffffff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 82% 18%, rgba(37, 161, 71, 0.13), transparent 28%),
    radial-gradient(circle at 14% 42%, rgba(19, 2, 7, 0.66), transparent 34%),
    var(--paper);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(rgba(112, 238, 154, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 238, 154, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

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

img {
  display: block;
  max-width: 100%;
}

#stack,
#solutions,
#modules,
#about {
  scroll-margin-top: 104px;
}

.site-shell {
  overflow: hidden;
}

.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 44px), var(--max));
  height: 62px;
  padding: 0 10px 0 16px;
  overflow: hidden;
  border: 1px solid rgba(112, 238, 154, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025)),
    rgba(2, 8, 5, 0.44);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px) saturate(1.24);
  transform: translateX(-50%);
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    opacity 220ms ease,
    transform 260ms ease;
}

.topbar.is-elevated {
  border-color: rgba(112, 238, 154, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(3, 8, 5, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 18px 46px rgba(0, 0, 0, 0.34);
}

.topbar.is-hidden {
  opacity: 0.22;
  pointer-events: none;
  transform: translate(-50%, -50px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand img {
  width: 146px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 28px);
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 650;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.topbar.is-elevated .nav-links {
  color: rgba(255, 255, 255, 0.74);
}

.nav-links a {
  white-space: nowrap;
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.topbar.is-elevated .nav-links a:hover {
  color: #78ee9b;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 7px;
  font-weight: 760;
  font-size: 14px;
  white-space: nowrap;
}

.nav-cta {
  width: 44px;
  min-width: 44px;
  padding: 0;
  border: 1px solid rgba(112, 238, 154, 0.28);
  background: rgba(37, 161, 71, 0.82);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 26px rgba(37, 161, 71, 0.16);
}

.topbar.is-elevated .nav-cta {
  background: rgba(37, 161, 71, 0.9);
}

.nav-cta svg,
.button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-cta .linkedin-icon {
  width: 21px;
  height: 21px;
  fill: currentColor;
  stroke: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(700px, calc(100svh - 150px));
  padding: 154px max(24px, calc((100vw - var(--max)) / 2)) 30px;
  isolation: isolate;
  background: var(--ink);
}

.hero.section-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -5;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(10, 20, 13, 0.92) 0%, rgba(10, 20, 13, 0.66) 42%, rgba(10, 20, 13, 0.14) 84%),
    linear-gradient(180deg, rgba(19, 2, 7, 0.16) 0%, rgba(10, 20, 13, 0.08) 48%, rgba(247, 250, 245, 0.04) 100%);
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #70ee9a;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  color: #ffffff;
  font-size: clamp(58px, 7.7vw, 104px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--green-ink);
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--green-ink);
  font-size: clamp(23px, 2.5vw, 34px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  padding: 0 18px;
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: rgba(112, 238, 154, 0.58);
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 20px 46px rgba(37, 161, 71, 0.26);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.solutions,
.modules,
.about,
.footer {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.stack-section {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 72px 0 104px;
  background:
    radial-gradient(circle at 74% 26%, rgba(37, 161, 71, 0.22), transparent 34%),
    radial-gradient(circle at 18% 70%, rgba(112, 238, 154, 0.08), transparent 32%),
    linear-gradient(180deg, #16231b 0%, #101b14 58%, #0c130f 100%);
  color: #ffffff;
}

.stack-copy {
  width: min(calc(100% - 48px), var(--max));
  max-width: 960px;
  margin: 0 auto 34px;
}

.stack-copy h2 {
  color: #ffffff;
}

.stack-copy p:not(.eyebrow),
.section-heading p,
.solution-panel p,
.product-copy p,
.about-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.stack-copy p {
  color: rgba(232, 246, 237, 0.72);
}

.stack-figure {
  position: relative;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(112, 238, 154, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(37, 161, 71, 0.16), transparent 36%),
    #132019;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
}

.stack-map-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  background: #121d16;
}

.stack-map-wrap::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(12, 19, 15, 0.04), rgba(12, 19, 15, 0.18)),
    radial-gradient(circle at 64% 50%, rgba(37, 161, 71, 0.2), transparent 42%);
  mix-blend-mode: screen;
}

.stack-map-base {
  width: 100%;
  filter: invert(1) hue-rotate(180deg) saturate(1.28) contrast(0.92) brightness(0.9);
  opacity: 0.96;
}

.map-hotspot {
  position: absolute;
  z-index: 2;
  appearance: none;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(37, 161, 71, 0.02);
  color: #ffffff;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.map-hotspot::after {
  position: absolute;
  left: 12px;
  bottom: 10px;
  content: attr(data-label);
  padding: 6px 8px;
  border: 1px solid rgba(112, 238, 154, 0.24);
  border-radius: 6px;
  background: rgba(3, 6, 4, 0.82);
  color: #78ee9b;
  font-size: 12px;
  font-weight: 850;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.map-hotspot:hover,
.map-hotspot:focus-visible {
  z-index: 4;
  border-color: rgba(112, 238, 154, 0.74);
  background: rgba(37, 161, 71, 0.16);
  box-shadow: 0 0 0 1px rgba(112, 238, 154, 0.18), 0 22px 60px rgba(37, 161, 71, 0.3);
  outline: none;
  transform: scale(1.08);
}

.map-hotspot:hover::after,
.map-hotspot:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.hotspot-ev {
  left: 12%;
  top: 4%;
  width: 26%;
  height: 26%;
}

.hotspot-uav {
  left: 38%;
  top: 22%;
  width: 31%;
  height: 25%;
}

.hotspot-grid {
  left: 56%;
  top: 3%;
  width: 25%;
  height: 25%;
}

.hotspot-sst {
  left: 76%;
  top: 19%;
  width: 19%;
  height: 25%;
}

.hotspot-robotics {
  left: 17%;
  top: 38%;
  width: 29%;
  height: 31%;
}

.hotspot-ai {
  left: 48%;
  top: 44%;
  width: 42%;
  height: 39%;
}

.solutions {
  padding: 92px 0 108px;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.solution-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.82fr);
  gap: 42px;
  align-items: center;
  isolation: isolate;
}

.solution-energy-orbit {
  position: absolute;
  top: 6%;
  left: -4%;
  z-index: 1;
  width: 64%;
  height: 86%;
  border: 2px solid rgba(112, 238, 154, 0.32);
  border-right-color: rgba(112, 238, 154, 0.08);
  border-radius: 52% 46% 50% 48%;
  filter:
    drop-shadow(0 0 14px rgba(37, 161, 71, 0.32))
    drop-shadow(0 0 40px rgba(37, 161, 71, 0.16));
  pointer-events: none;
  transform: rotate(-3deg);
}

.solution-energy-orbit::before,
.solution-energy-orbit::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.solution-energy-orbit::before {
  top: 48%;
  right: -45%;
  width: 52%;
  height: 2px;
  background: linear-gradient(90deg, rgba(112, 238, 154, 0.82), rgba(112, 238, 154, 0));
  box-shadow: 0 0 18px rgba(112, 238, 154, 0.5);
  transform: rotate(-7deg);
}

.solution-energy-orbit::after {
  inset: 8%;
  border: 1px solid rgba(112, 238, 154, 0.14);
  border-right-color: transparent;
  border-radius: inherit;
}

.solution-flow {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: 680px;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 22px;
  transition: grid-template-rows 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.solution-flow:has(.solution-panel:nth-child(1):hover),
.solution-flow:has(.solution-panel:nth-child(1):focus-within) {
  grid-template-rows: 1.24fr 0.88fr 0.88fr;
}

.solution-flow:has(.solution-panel:nth-child(2):hover),
.solution-flow:has(.solution-panel:nth-child(2):focus-within) {
  grid-template-rows: 0.88fr 1.24fr 0.88fr;
}

.solution-flow:has(.solution-panel:nth-child(3):hover),
.solution-flow:has(.solution-panel:nth-child(3):focus-within) {
  grid-template-rows: 0.88fr 0.88fr 1.24fr;
}

.solution-panel {
  position: relative;
  min-height: 0;
  padding: 28px 30px;
  border: 1px solid rgba(112, 238, 154, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(37, 161, 71, 0.18), rgba(255, 255, 255, 0.025) 40%),
    #0b120e;
  box-shadow: var(--shadow);
  transform-origin: center;
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 320ms ease,
    background 320ms ease,
    box-shadow 320ms ease;
}

.solution-panel:hover,
.solution-panel:focus-within {
  z-index: 4;
  border-color: rgba(112, 238, 154, 0.5);
  background:
    radial-gradient(circle at 18% 16%, rgba(37, 161, 71, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(37, 161, 71, 0.24), rgba(255, 255, 255, 0.035) 44%),
    #0f1c14;
  box-shadow: 0 32px 92px rgba(37, 161, 71, 0.16), 0 24px 74px rgba(0, 0, 0, 0.48);
  transform: translateX(10px) scale(1.025);
}

.solution-flow:has(.solution-panel:hover) .solution-panel:not(:hover),
.solution-flow:has(.solution-panel:focus-within) .solution-panel:not(:focus-within) {
  opacity: 0.78;
  transform: scale(0.985);
}

.solution-panel:not(:last-child)::after {
  position: absolute;
  top: auto;
  right: auto;
  bottom: -32px;
  left: 50%;
  z-index: 2;
  width: 2px;
  height: 40px;
  content: "";
  background: linear-gradient(180deg, rgba(37, 161, 71, 0.22), rgba(37, 161, 71, 0.88));
  transform: translateX(-50%);
}

.solution-panel:not(:last-child)::before {
  position: absolute;
  top: auto;
  right: auto;
  bottom: -33px;
  left: calc(50% - 5px);
  z-index: 3;
  width: 10px;
  height: 10px;
  content: "";
  border-top: 2px solid rgba(37, 161, 71, 0.86);
  border-right: 2px solid rgba(37, 161, 71, 0.86);
  transform: rotate(135deg);
}

.solution-panel span {
  display: inline-flex;
  margin-bottom: 46px;
  color: var(--green);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 850;
}

.solution-rack-visual {
  position: relative;
  z-index: 2;
  min-height: 680px;
  margin: 0;
  overflow: visible;
}

.solution-rack-visual img {
  position: absolute;
  top: 50%;
  right: -10%;
  width: 138%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter:
    drop-shadow(0 38px 70px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 44px rgba(37, 161, 71, 0.16));
  transform: translateY(-50%);
}

.modules {
  position: relative;
  isolation: isolate;
  padding: 96px 0 116px;
}

.modules::before {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 80% 18%, rgba(37, 161, 71, 0.2), transparent 32%),
    radial-gradient(circle at 18% 72%, rgba(112, 238, 154, 0.07), transparent 34%),
    linear-gradient(180deg, #16231b 0%, #121f16 56%, #0d1711 100%);
}

.module-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(112, 238, 154, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%),
    #101a13;
  box-shadow: var(--shadow);
}

.product-visual {
  position: relative;
  display: grid;
  min-height: 470px;
  padding: 34px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 76%, rgba(112, 238, 154, 0.16), transparent 34%),
    radial-gradient(circle at 35% 28%, rgba(37, 161, 71, 0.22), transparent 30%),
    linear-gradient(180deg, #101913, #07100b);
}

.product-visual::before {
  position: absolute;
  inset: 10% 8% 8%;
  content: "";
  background:
    linear-gradient(rgba(112, 238, 154, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 238, 154, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 48%, #000 0%, transparent 70%);
  pointer-events: none;
}

.product-visual img.product-cutout {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 430px;
  object-fit: contain;
  filter:
    drop-shadow(0 34px 46px rgba(0, 0, 0, 0.52))
    drop-shadow(0 0 26px rgba(37, 161, 71, 0.16));
  transition: transform 500ms ease;
}

.product-visual img.product-hv-ibc {
  width: 112%;
  max-width: none;
}

.product-visual img.product-lv-ibc {
  width: 105%;
  max-width: none;
}

.product-card:hover .product-visual > img.product-cutout {
  transform: translateY(-6px) scale(1.035);
}

.product-copy {
  padding: 28px 30px 32px;
}

.product-copy span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--green);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.about {
  padding: 106px 0 122px;
}

.about-copy {
  max-width: 1040px;
}

.about-copy p {
  max-width: 930px;
  margin-bottom: 20px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
}

.footer .brand img {
  width: 142px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.section-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 1040px) {
  .nav-links {
    gap: 18px;
    font-size: 13px;
  }

  .brand img {
    width: 128px;
  }

  .module-showcase {
    grid-template-columns: 1fr;
  }

  .solution-stage {
    grid-template-columns: minmax(0, 0.98fr) minmax(330px, 0.82fr);
    gap: 28px;
  }

  .solution-rack-visual {
    min-height: 620px;
  }
}

@media (max-width: 760px) {
  .solution-stage {
    grid-template-columns: 1fr;
  }

  .solution-flow {
    min-height: auto;
    grid-template-rows: none;
  }

  .solution-flow:has(.solution-panel:nth-child(1):hover),
  .solution-flow:has(.solution-panel:nth-child(1):focus-within),
  .solution-flow:has(.solution-panel:nth-child(2):hover),
  .solution-flow:has(.solution-panel:nth-child(2):focus-within),
  .solution-flow:has(.solution-panel:nth-child(3):hover),
  .solution-flow:has(.solution-panel:nth-child(3):focus-within) {
    grid-template-rows: none;
  }

  .solution-panel {
    min-height: 230px;
  }

  .solution-rack-visual {
    min-height: 430px;
    order: -1;
  }

  .solution-rack-visual img {
    right: -18%;
    width: 126%;
  }

  .solution-energy-orbit {
    top: 43%;
    left: -9%;
    width: 112%;
    height: 53%;
    opacity: 0.78;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 124px;
  }

  #stack,
  #solutions,
  #modules,
  #about {
    scroll-margin-top: 124px;
  }

  .topbar {
    top: 10px;
    width: calc(100% - 20px);
    height: 92px;
    flex-wrap: wrap;
    align-content: center;
    gap: 4px 12px;
    padding: 8px 10px;
  }

  .brand {
    order: 1;
  }

  .brand img {
    width: 122px;
    height: 38px;
  }

  .nav-links {
    order: 3;
    flex: 0 0 100%;
    justify-content: center;
    gap: 16px;
    padding: 0 2px 2px;
    font-size: 12px;
  }

  .nav-cta {
    order: 2;
    margin-left: auto;
    width: 40px;
    min-width: 40px;
    min-height: 38px;
  }

  .hero {
    min-height: min(710px, calc(100svh - 126px));
    padding: 142px 18px 42px;
  }

  .hero-bg {
    object-position: 57% center;
  }

  h1 {
    font-size: clamp(44px, 14.5vw, 64px);
  }

  h2 {
    font-size: clamp(34px, 10vw, 50px);
  }

  .hero-copy {
    font-size: 17px;
  }

  .solutions,
  .modules,
  .about,
  .footer {
    width: calc(100% - 36px);
  }

  .solutions,
  .modules,
  .about {
    padding-block: 64px;
  }

  .stack-section {
    padding: 34px 0 64px;
  }

  .stack-copy,
  .stack-figure {
    width: calc(100% - 36px);
  }

  .stack-figure {
    padding: 8px;
  }

  .solution-panel,
  .product-copy {
    padding: 22px;
  }

  .solution-panel span {
    margin-bottom: 38px;
  }

  .product-visual {
    min-height: 300px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .section-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .topbar.is-hidden {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%);
  }
}
