:root {
  color-scheme: dark;
  --bg: #050608;
  --bg-2: #0d0f12;
  --panel: #15181d;
  --text: #f5f7fa;
  --muted: #aab0b8;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #e8f0ff;
  --hot: #ff3d2e;
  --steel: #7f8894;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 34%),
    var(--bg);
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 clamp(18px, 4vw, 56px);
  border-bottom: 1px solid transparent;
  transition: background 200ms ease, border-color 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 6, 8, 0.82);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  position: absolute;
  left: clamp(18px, 4vw, 56px);
  display: inline-flex;
  align-items: center;
  width: 132px;
  min-width: 118px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: #fff;
}

.header-cta:hover,
.portal-link:hover {
  color: #fff;
}

.site-nav a[aria-current="page"] {
  color: #fff;
}

.site-nav a[aria-current="page"]::after {
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 6px;
  background: #fff;
  content: "";
}

.header-cta {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  display: inline-flex;
  min-width: 104px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.54);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.portal-link {
  position: absolute;
  right: calc(clamp(18px, 4vw, 56px) + 128px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.portal-link[aria-current="page"] {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 112px clamp(20px, 5vw, 72px) 118px;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.95), rgba(5, 6, 8, 0.42) 56%, rgba(5, 6, 8, 0.88)),
    linear-gradient(180deg, rgba(5, 6, 8, 0.1), #050608 92%);
}

.hero-media::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 76%, transparent);
}

.photo-stage {
  position: absolute;
  right: max(4vw, 18px);
  top: 50%;
  width: min(50vw, 700px);
  height: min(66vh, 700px);
  transform: translateY(-43%);
}

.hero-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0b0d10;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-hmi img {
  object-fit: cover;
  object-position: center;
  background: #030507;
}

.hero-photo-main {
  right: 0;
  bottom: 0;
  width: 62%;
  height: 84%;
}

.hero-photo-top {
  top: 2%;
  left: 0;
  width: 45%;
  height: 48%;
}

.hero-photo-bottom {
  bottom: 4%;
  left: -17%;
  width: 62%;
  height: 36%;
  z-index: 2;
}

.hero-content {
  width: min(690px, 100%);
  padding-top: 28px;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 940px;
  margin-bottom: 22px;
  font-size: 7rem;
  line-height: 0.9;
  font-weight: 850;
}

.hero h1,
.uav-hero h1 {
  max-width: 650px;
  font-size: clamp(3.4rem, 5.8vw, 4.9rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 24px;
  font-size: 4.5rem;
  line-height: 0.96;
  font-weight: 830;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

p,
li {
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.48;
}

.hero-copy {
  max-width: 580px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button.primary {
  border-color: #fff;
  background: #fff;
  color: #050608;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
}

.button.wide {
  width: 100%;
}

.mission-strip {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 22px;
  left: clamp(20px, 5vw, 72px);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(82px, 12vw, 150px) 0;
}

.section-inner.narrow {
  width: min(920px, calc(100% - 40px));
}

.statement {
  background: #fff;
  color: #07080a;
}

.statement p {
  color: #181b20;
  font-size: 4.5rem;
  line-height: 1.05;
  font-weight: 760;
}

.statement .statement-kicker {
  margin-bottom: 18px;
  color: #5b626c;
  font-size: 0.8rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.statement span {
  display: block;
  margin-top: 32px;
  color: #616873;
  font-size: 1.15rem;
  font-weight: 800;
}

.uav-hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  align-items: end;
  overflow: hidden;
  padding: 120px clamp(20px, 5vw, 72px) 96px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.96), rgba(5, 6, 8, 0.66)),
    #050608;
}

.uav-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(to bottom, transparent, black 16%, black 76%, transparent);
}

.uav-hero .section-inner {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
}

.uav-hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
}

.uav-hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.86) 0%, rgba(5, 6, 8, 0.58) 40%, rgba(5, 6, 8, 0.08) 78%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.08), rgba(5, 6, 8, 0.72) 96%);
}

.uav-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.uav-hero p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.55;
}

.uav-statement .section-inner {
  padding-top: clamp(82px, 10vw, 128px);
  padding-bottom: clamp(82px, 10vw, 128px);
}

.portal-login {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  overflow: hidden;
  padding: 120px clamp(20px, 5vw, 72px) 72px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.98), rgba(5, 6, 8, 0.68)),
    radial-gradient(circle at 78% 28%, rgba(255, 61, 46, 0.16), transparent 34%),
    #050608;
}

.portal-login::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 14%, black 82%, transparent);
}

.portal-login-copy,
.login-card {
  position: relative;
  z-index: 1;
}

.portal-login-copy {
  max-width: 760px;
}

.portal-login-copy h1 {
  max-width: 720px;
  font-size: clamp(3.6rem, 7vw, 6.4rem);
  line-height: 0.93;
}

.portal-login-copy p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

.portal-login-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: 700px;
  margin-top: 40px;
  border: 1px solid var(--line);
  background: var(--line);
}

.portal-login-points span {
  min-height: 76px;
  padding: 22px;
  background: rgba(8, 10, 13, 0.92);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.login-card {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)),
    rgba(9, 11, 15, 0.88);
  backdrop-filter: blur(18px);
}

.login-card h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.login-card label {
  display: grid;
  gap: 8px;
}

.login-card label span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.login-card input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  font: inherit;
  padding: 0 16px;
  outline: none;
}

.login-card input:focus {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.08);
}

.login-note {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  line-height: 1.45;
}

.login-help {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.login-help:hover {
  color: #fff;
}

.video-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 34%),
    #0b0d10;
  border-bottom: 1px solid var(--line);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(210px, 300px));
  gap: 1px;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--line);
}

.video-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  background: #06080b;
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  object-fit: contain;
}

.video-card div {
  padding: 26px;
}

.video-card span {
  display: block;
  margin-bottom: 36px;
  color: var(--hot);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.video-card p {
  font-size: 16px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
}

.model-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(82px, 12vw, 150px) 0;
}

.model-copy {
  max-width: 520px;
}

.model-shell {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    #080a0d;
}

.model-shell::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  pointer-events: none;
}

.model-toolbar,
.model-hints {
  position: absolute;
  z-index: 2;
  right: 18px;
  left: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.model-toolbar {
  top: 16px;
}

.model-hints {
  bottom: 16px;
}

.model-viewer {
  position: absolute;
  inset: 0;
}

.model-viewer canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.model-status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.model-viewer.is-loaded .model-status {
  display: none;
}

.rov-control-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 34%),
    #050608;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rov-control-section .section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.rov-control-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.rov-control-card {
  display: grid;
  grid-template-rows: minmax(420px, 58vh) auto;
  min-height: 100%;
  margin: 0;
  background: #07090c;
}

.rov-control-card img {
  display: block;
  width: 100%;
  height: 100%;
  padding: clamp(12px, 2vw, 24px);
  background: #030507;
  object-fit: contain;
}

.rov-control-card-hmi img {
  padding: clamp(18px, 3vw, 38px);
}

.rov-control-card figcaption {
  padding: 24px 26px 28px;
  border-top: 1px solid var(--line);
}

.rov-control-card span {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rov-control-card p {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 16px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.capability-grid article {
  min-height: 220px;
  padding: 28px;
  background: rgba(10, 12, 15, 0.94);
}

.capability-grid p {
  font-size: 16px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.capabilities {
  background: #050608;
  border-bottom: 1px solid var(--line);
}

.capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capability-grid article {
  min-height: 250px;
}

.cap-icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  margin-bottom: 52px;
  place-items: center;
  color: rgba(255, 255, 255, 0.86);
}

.cap-icon svg {
  display: block;
  width: 54px;
  height: 54px;
  overflow: visible;
}

.cap-icon path,
.cap-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.capability-grid article:hover .cap-icon {
  color: var(--hot);
}

.process {
  background: #f4f5f7;
  color: #090b0f;
}

.process .eyebrow,
.process p {
  color: #555d67;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: rgba(0, 0, 0, 0.14);
}

.process-list li {
  min-height: 260px;
  padding: 26px;
  background: #f4f5f7;
  color: #343a43;
  font-size: 16px;
}

.process-list span {
  display: block;
  margin-bottom: 72px;
  color: #090b0f;
  font-size: 18px;
  font-weight: 850;
}

.markets {
  background: #0b0d10;
  border-bottom: 1px solid var(--line);
}

.market-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.market-list span {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.contact {
  background:
    linear-gradient(90deg, rgba(255, 61, 46, 0.12), transparent 38%),
    #050608;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
  gap: clamp(36px, 8vw, 104px);
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.contact-panel span,
.contact-link {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.4;
}

.contact-link {
  font-weight: 800;
}

.map-panel {
  overflow: hidden;
  min-height: 260px;
  margin-top: 8px;
  border: 1px solid var(--line);
  background: #07090c;
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
  filter: grayscale(1) invert(0.9) contrast(0.92);
}

.map-link {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.map-link:hover {
  color: #fff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

@media (max-width: 920px) {
  .site-nav {
    gap: 22px;
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 96px;
  }

  .photo-stage {
    right: -14vw;
    top: auto;
    bottom: 26vh;
    width: 76vw;
    height: 52vh;
    transform: none;
    opacity: 0.58;
  }

  .split,
  .model-section,
  .portal-login,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .model-shell {
    min-height: 520px;
  }

  .video-grid,
  .rov-control-grid,
  .capability-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .rov-control-card {
    grid-template-rows: minmax(320px, 56vh) auto;
  }

  .capability-grid article,
  .process-list li {
    min-height: auto;
  }

  .process-list span {
    margin-bottom: 24px;
  }

  .mission-strip {
    overflow-x: auto;
  }

  h1 {
    font-size: 4.8rem;
  }

  .hero h1,
  .uav-hero h1 {
    font-size: clamp(3.15rem, 8.8vw, 4.15rem);
  }

  h2 {
    font-size: 3.25rem;
  }

  .statement p {
    font-size: 2.65rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 64px;
  }

  .brand {
    width: 112px;
    min-width: 102px;
  }

  .site-nav {
    display: none;
  }

  .portal-link {
    right: calc(20px + 98px);
    max-width: 92px;
    font-size: 11px;
    line-height: 1.05;
    text-align: right;
  }

  .header-cta {
    min-width: 88px;
  }

  .hero {
    padding-right: 20px;
    padding-left: 20px;
  }

  h1 {
    font-size: 3.4rem;
  }

  .hero h1,
  .uav-hero h1 {
    font-size: 2.72rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .portal-login {
    padding-right: 20px;
    padding-left: 20px;
  }

  .portal-login-copy h1 {
    font-size: 3.1rem;
  }

  .portal-login-points {
    grid-template-columns: 1fr;
  }

  .rov-control-card {
    grid-template-rows: minmax(240px, 42vh) auto;
  }

  .rov-control-card figcaption {
    padding: 20px;
  }

  .photo-stage {
    right: -36vw;
    top: auto;
    bottom: 36vh;
    width: 112vw;
    height: 38vh;
    transform: none;
    opacity: 0.42;
  }

  .hero-photo-main {
    width: 58%;
    height: 100%;
  }

  .hero-photo-top,
  .hero-photo-bottom {
    display: none;
  }

  .statement p {
    font-size: 2rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .model-shell {
    min-height: 440px;
  }

  .model-toolbar,
  .model-hints {
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
  }
}
