:root {
  --ink: #17202a;
  --muted: #5f7080;
  --paper: #d6e0dd;
  --surface: #dfe8e3;
  --surface-soft: #ccd9d7;
  --white: #ffffff;
  --line: #c4d3da;
  --deep: #07151f;
  --deep-soft: #0f2634;
  --cyan: #00a7b5;
  --green: #4f8f62;
  --amber: #c58a3a;
  --warm-surface: #ded9cc;
  --warm-card: #e9e4d8;
  --shadow: 0 22px 60px rgba(18, 28, 36, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background .2s ease, box-shadow .2s ease, color .2s ease;
}

.site-header.is-scrolled {
  color: var(--white);
  background: rgba(7, 21, 31, .9);
  box-shadow: 0 10px 30px rgba(5, 15, 24, .18);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border-radius: 6px;
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  opacity: .86;
}

.nav a:hover {
  opacity: 1;
}

.lang-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
}

.site-header.is-scrolled .lang-switch {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .09);
}

.lang-switch button {
  width: 40px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  color: var(--deep);
  background: var(--white);
}

.site-header.is-scrolled .lang-switch button[aria-pressed="true"] {
  color: var(--deep);
  background: var(--surface);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  padding: 132px clamp(20px, 6vw, 78px) 74px;
  overflow: hidden;
  color: var(--white);
  border-bottom: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 167, 181, .24), transparent 34%),
    linear-gradient(135deg, #06111a 0%, #0b2230 52%, #102a22 100%);
}

.hero-collage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: .98;
}

.hero-collage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent, black 42%, black 100%);
}

.hero-tile {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .36);
}

.hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-tile-large {
  right: clamp(20px, 5vw, 78px);
  bottom: 12%;
  width: min(43vw, 650px);
  height: min(40vw, 450px);
}

.hero-tile-uav {
  right: min(39vw, 520px);
  top: 17%;
  width: 170px;
  height: 170px;
}

.hero-tile-rov {
  right: clamp(18px, 4vw, 56px);
  top: 14%;
  width: min(28vw, 360px);
  height: min(20vw, 260px);
}

.hero-tile-data {
  right: min(32vw, 420px);
  bottom: 7%;
  width: min(26vw, 330px);
  height: min(16vw, 210px);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 13, 20, .98), rgba(4, 13, 20, .9) 44%, rgba(4, 13, 20, .34) 68%, rgba(4, 13, 20, .14)),
    linear-gradient(0deg, rgba(216, 231, 235, .2), rgba(4, 13, 20, .78) 18%, rgba(4, 13, 20, 0) 42%);
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 15px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(48px, 9vw, 116px);
  line-height: .92;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(19px, 2.5vw, 28px);
  line-height: 1.35;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 800;
  border: 1px solid transparent;
}

.button-primary {
  color: var(--deep);
  background: var(--cyan);
}

.button-primary:hover {
  background: #29bdc8;
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .08);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, .16);
}

.section {
  padding: clamp(68px, 9vw, 124px) 0;
}

.intro,
.process {
  color: var(--ink);
  background: linear-gradient(180deg, #d6e0dd 0%, #ded9cc 100%);
}

#capabilities {
  color: var(--ink);
  background: linear-gradient(180deg, #ded9cc 0%, #dfe8e3 100%);
}

.section-inner {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(320px, 1.2fr);
  gap: clamp(30px, 7vw, 96px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5.2vw, 72px);
  line-height: 1;
  letter-spacing: 0;
  color: inherit;
}

.large-copy {
  margin: 0;
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.48;
}

.image-strip {
  display: grid;
  grid-template-columns: 1.1fr .9fr 1fr;
  gap: 12px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--surface-soft);
}

.image-strip img {
  width: 100%;
  height: clamp(270px, 32vw, 460px);
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: var(--surface-soft);
}

.image-strip img:nth-child(1) {
  object-position: 48% 52%;
}

.image-strip img:nth-child(2) {
  object-position: center 44%;
}

.image-strip img:nth-child(3) {
  object-position: center 54%;
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

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

.capability {
  min-height: 250px;
  padding: clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 250, 251, .72);
}

.capability h3,
.platform-feature h3,
.steps h3 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.14;
}

.capability p,
.platform-feature p,
.steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.capability:nth-child(2) {
  border-top: 4px solid var(--amber);
}

.capability:nth-child(4) {
  border-top: 4px solid var(--cyan);
}

.capability:nth-child(6) {
  border-top: 4px solid var(--green);
}

.dark-section {
  color: var(--white);
  background: var(--deep);
}

.dark-section .section-kicker {
  color: #58d5df;
}

.dark-section h2 {
  color: var(--white);
}

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

.platform-feature {
  background: var(--deep-soft);
  border: 1px solid rgba(255, 255, 255, .1);
  overflow: hidden;
}

.platform-feature img {
  width: 100%;
  height: clamp(220px, 21vw, 300px);
  object-fit: cover;
  object-position: center;
  background: #081923;
}

.platform-feature:nth-child(1) img {
  object-position: center 52%;
}

.platform-feature:nth-child(2) img {
  object-position: center;
}

.platform-feature:nth-child(3) img {
  object-position: center 52%;
}

.platform-feature div {
  padding: 24px;
}

.platform-feature p {
  color: rgba(255, 255, 255, .68);
}

.gallery-section {
  background: var(--surface);
}

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

.gallery img {
  width: 100%;
  height: clamp(260px, 32vw, 420px);
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: transparent;
}

.gallery img:nth-child(1) {
  object-position: 50% 76%;
}

.gallery img:nth-child(2) {
  object-position: 50% 48%;
}

.gallery img:nth-child(3) {
  object-position: 24% 76%;
}

.gallery img:nth-child(4) {
  object-position: 50% 68%;
}

.gallery .wide {
  grid-column: auto;
}

.process {
  background: linear-gradient(180deg, var(--surface) 0%, var(--warm-surface) 100%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
}

.steps li {
  min-height: 260px;
  padding: clamp(24px, 3vw, 36px);
  background: rgba(246, 250, 251, .72);
}

.steps span {
  display: block;
  margin-bottom: 46px;
  color: var(--cyan);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 620px);
  min-height: 620px;
  color: var(--white);
  background: var(--deep);
}

.contact-image {
  background:
    linear-gradient(90deg, rgba(7, 21, 31, .05), rgba(7, 21, 31, .55)),
    url("assets/aerial-analysis.jpg") center / cover;
}

.contact-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 84px);
}

.contact-content p:not(.section-kicker) {
  color: rgba(255, 255, 255, .76);
  font-size: 20px;
  line-height: 1.55;
}

.contact-content .button {
  align-self: flex-start;
  margin-top: 22px;
}

.footer {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 28px clamp(20px, 6vw, 78px);
  color: rgba(255, 255, 255, .7);
  background: #040b10;
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    min-height: 88px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 16px;
    font-size: 12px;
  }

  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .capability-grid,
  .platform-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .image-strip {
    grid-template-columns: 1fr;
  }

  .hero-collage {
    opacity: .58;
  }

  .hero-tile-large {
    right: -120px;
    bottom: 10%;
    width: 640px;
    height: 440px;
  }

  .hero-tile-uav {
    right: 44%;
    top: 17%;
  }

  .hero-tile-rov,
  .hero-tile-data {
    display: none;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery .wide {
    grid-column: span 2;
  }

  .contact-image {
    min-height: 320px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 14px;
  }

  .nav a:nth-child(2),
  .nav a:nth-child(3) {
    display: none;
  }

  .hero {
    min-height: 92vh;
    padding-inline: 20px;
  }

  .hero-tile-large {
    right: -210px;
    width: 560px;
    height: 420px;
  }

  .hero-tile-uav {
    width: 150px;
    height: 150px;
    right: 22px;
    top: 132px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .gallery,
  .gallery .wide {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}
