:root {
  --ink: #090a0b;
  --surface: #111315;
  --surface-2: #17191c;
  --paper: #f4f1ea;
  --muted: #a8adb4;
  --accent: #f28c28;
  --line: rgba(244, 241, 234, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 84px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 4.4vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  animation: rise 650ms ease-out both;
}

.brand {
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.brand span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 34px;
  color: rgba(244, 241, 234, 0.82);
  font-size: 0.9rem;
}

.nav a {
  position: relative;
  padding: 10px 0;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  background: transparent;
}

.menu-button span {
  display: block;
  height: 1px;
  margin: 6px 0;
  background: var(--paper);
}

.hero {
  position: relative;
  display: flex;
  min-height: min(900px, 100svh);
  align-items: center;
  padding: 132px clamp(24px, 5.8vw, 92px) 120px;
  isolation: isolate;
  overflow: hidden;
}

.hero-image,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -4;
  object-fit: cover;
  object-position: center;
  animation: heroZoom 1500ms ease-out both;
}

.hero-shade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(4, 5, 6, 0.98) 0%, rgba(4, 5, 6, 0.92) 31%, rgba(4, 5, 6, 0.42) 63%, rgba(4, 5, 6, 0.16) 100%),
    linear-gradient(0deg, rgba(4, 5, 6, 0.86) 0%, transparent 35%);
}

.hero-grid {
  z-index: -2;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 58%);
}

.hero-content {
  width: min(900px, 69vw);
  animation: rise 750ms 100ms ease-out both;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--accent);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.section-intro h2,
.applications-copy h2,
.contact-heading h2 {
  font-family: Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(4rem, 6vw, 6.7rem);
  line-height: 0.84;
}

.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 241, 234, 0.72);
}

.hero-copy {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.28rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 26px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 2px solid #ffb467;
  outline-offset: 3px;
}

.button-primary {
  background: var(--accent);
  color: #0b0b0b;
}

.button-primary:hover {
  background: #ff9f3a;
}

.button-secondary {
  border-color: rgba(244, 241, 234, 0.5);
  background: rgba(8, 9, 10, 0.25);
  backdrop-filter: blur(8px);
}

.button-secondary:hover {
  background: rgba(244, 241, 234, 0.1);
  border-color: rgba(244, 241, 234, 0.85);
}

.hero-proof {
  position: absolute;
  bottom: 42px;
  left: clamp(24px, 5.8vw, 92px);
  display: flex;
  align-items: center;
  gap: 14px;
  color: #c3c4c2;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.hero-proof i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.telemetry {
  position: absolute;
  right: clamp(24px, 4.4vw, 72px);
  bottom: 36px;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 4px 12px;
  min-width: 150px;
  padding: 15px 17px;
  border: 1px solid rgba(244, 241, 234, 0.3);
  background: rgba(6, 7, 8, 0.42);
  font-family: var(--font-geist-mono), monospace;
  backdrop-filter: blur(8px);
}

.telemetry span {
  color: #ff654f;
  font-size: 0.65rem;
}

.telemetry strong {
  justify-self: end;
  font-size: 1rem;
}

.telemetry small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.17em;
}

.section-shell {
  padding-right: clamp(24px, 5.8vw, 92px);
  padding-left: clamp(24px, 5.8vw, 92px);
}

.services {
  padding-top: clamp(88px, 10vw, 150px);
  padding-bottom: clamp(88px, 10vw, 150px);
  background: var(--paper);
  color: var(--ink);
}

.section-intro {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.8fr;
  gap: 42px;
  align-items: end;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(9, 10, 11, 0.22);
}

.section-intro .eyebrow,
.applications-copy .eyebrow {
  align-self: start;
}

.section-intro h2,
.applications-copy h2,
.contact-heading h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 0.95;
}

.section-intro > p:last-child,
.applications-copy > p:not(.eyebrow),
.contact-heading > p:not(.eyebrow) {
  margin: 0;
  color: #60646a;
  font-size: 1rem;
  line-height: 1.7;
}

.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr minmax(240px, 0.7fr) 28px;
  gap: 26px;
  align-items: center;
  min-height: 190px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(9, 10, 11, 0.22);
  transition: padding 240ms ease, background 240ms ease;
}

.service-card:hover {
  padding-right: 20px;
  padding-left: 20px;
  background: #ebe7df;
}

.service-number,
.service-detail {
  color: #73777d;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 2.4vw, 2.5rem);
  letter-spacing: -0.045em;
}

.service-card p {
  max-width: 580px;
  margin: 0;
  color: #5e6266;
  line-height: 1.6;
}

.service-arrow {
  color: var(--accent);
  font-size: 1.5rem;
}

.applications {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
  padding-top: clamp(90px, 10vw, 150px);
  scroll-margin-top: 40px;
}

.applications-visual {
  position: relative;
  display: flex;
  min-height: 510px;
  align-items: flex-end;
  padding: 36px;
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(5,6,7,.9), rgba(5,6,7,.1) 65%),
    url("hero-city-drone.png") center / cover;
  color: var(--paper);
}

.applications-visual::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  content: "";
}

.applications-visual p {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

.scan-line {
  position: absolute;
  z-index: 1;
  top: 18px;
  bottom: 18px;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, var(--accent), transparent);
  box-shadow: 0 0 24px rgba(242, 140, 40, 0.7);
  animation: scan 4.5s ease-in-out infinite alternate;
}

.frame-corner {
  position: absolute;
  z-index: 3;
  right: 30px;
  width: 42px;
  height: 42px;
  border-right: 2px solid var(--accent);
}

.frame-top {
  top: 30px;
  border-top: 2px solid var(--accent);
}

.frame-bottom {
  bottom: 30px;
  border-bottom: 2px solid var(--accent);
}

.applications-copy h2 {
  margin-bottom: 32px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list span {
  padding: 12px 14px;
  border: 1px solid rgba(9, 10, 11, 0.24);
  color: #4c5156;
  font-size: 0.78rem;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(52px, 8vw, 130px);
  padding-top: clamp(88px, 10vw, 150px);
  padding-bottom: clamp(88px, 10vw, 150px);
  background: var(--surface);
}

.contact-heading > p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 30px;
  color: var(--muted);
}

.process {
  display: grid;
  gap: 0;
  margin-top: 54px;
  border-top: 1px solid var(--line);
}

.process div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.process span {
  color: var(--accent);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.68rem;
}

.process p {
  margin: 0;
  color: #c9c8c4;
  font-size: 0.9rem;
}

.contact-form {
  display: grid;
  gap: 24px;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid var(--line);
  background: #0d0f11;
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: #d7d4cf;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.25);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  outline: none;
  padding: 13px 0;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form select {
  color-scheme: dark;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #64686d;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-note {
  min-height: 18px;
  margin: -8px 0 0;
  color: #85898e;
  font-size: 0.72rem;
  line-height: 1.5;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
  min-height: 116px;
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer > a:last-child {
  justify-self: end;
  font-size: 0.82rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroZoom {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}

@keyframes scan {
  from { transform: translateX(-150px); opacity: 0.35; }
  to { transform: translateX(150px); opacity: 0.9; }
}

@media (max-width: 900px) {
  .hero {
    min-height: 820px;
  }

  .hero-content {
    width: min(720px, 90vw);
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(4,5,6,.95), rgba(4,5,6,.68) 70%, rgba(4,5,6,.38));
  }

  .section-intro {
    grid-template-columns: 1fr 1fr;
  }

  .section-intro > p:last-child {
    grid-column: 2;
  }

  .service-card {
    grid-template-columns: 44px 1fr 28px;
  }

  .service-detail {
    grid-column: 2;
  }

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

  .applications-visual {
    min-height: 430px;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: absolute;
    height: 72px;
  }

  .menu-button {
    z-index: 3;
    display: block;
  }

  .nav {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    display: none;
    width: min(82vw, 340px);
    min-height: 100svh;
    flex-direction: column;
    padding: 110px 32px 40px;
    background: rgba(9, 10, 11, 0.98);
    font-size: 1.2rem;
  }

  .nav-open {
    display: flex;
  }

  .hero {
    min-height: 780px;
    align-items: flex-end;
    padding-bottom: 126px;
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(4,5,6,.98) 5%, rgba(4,5,6,.65) 68%, rgba(4,5,6,.42)),
      linear-gradient(90deg, rgba(4,5,6,.9), transparent);
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 18vw, 5.5rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-proof {
    right: 24px;
    bottom: 28px;
    flex-wrap: wrap;
  }

  .telemetry {
    display: none;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-intro > p:last-child {
    grid-column: auto;
  }

  .service-card {
    grid-template-columns: 34px 1fr;
    gap: 12px;
    padding: 28px 0;
  }

  .service-detail {
    grid-column: 2;
    margin-top: 10px;
    line-height: 1.55;
  }

  .service-arrow {
    display: none;
  }

  .applications-visual {
    min-height: 360px;
    padding: 30px;
  }

  .contact-form {
    padding: 24px;
  }

  .form-row,
  .footer {
    grid-template-columns: 1fr;
  }

  .footer {
    justify-items: start;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .footer > a:last-child {
    justify-self: start;
  }
}

/* Mobile hardening: typography, cropping and single-column layout */
@media (max-width: 640px) {
  .site-header {
    padding-right: 20px;
    padding-left: 20px;
  }

  .brand {
    font-size: 1.25rem;
  }

  .nav {
    position: fixed;
    width: min(88vw, 360px);
    max-width: 100%;
  }

  .hero {
    display: block;
    min-height: 0;
    padding: 325px 20px 112px;
  }

  .hero-image {
    inset: 0 0 auto;
    height: 390px;
    object-position: 72% 44%;
    animation: none;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(4,5,6,1) 0%, rgba(4,5,6,.96) 38%, rgba(4,5,6,.68) 63%, rgba(4,5,6,.12) 100%),
      linear-gradient(90deg, rgba(4,5,6,.55), rgba(4,5,6,.08));
  }

  .hero-grid {
    display: none;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero h1,
  .section-intro h2,
  .applications-copy h2,
  .contact-heading h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    letter-spacing: -0.055em;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.85rem, 13vw, 3.65rem);
    line-height: .91;
  }

  .hero h1 span {
    -webkit-text-stroke-width: 1px;
  }

  .hero-copy {
    max-width: 34rem;
    margin-top: 24px;
    font-size: .98rem;
    line-height: 1.55;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 26px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 52px;
  }

  .hero-proof {
    right: 20px;
    bottom: 24px;
    left: 20px;
    gap: 9px;
    font-size: .7rem;
    line-height: 1.35;
  }

  .section-shell {
    padding-right: 20px;
    padding-left: 20px;
  }

  .services {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-intro h2,
  .applications-copy h2,
  .contact-heading h2 {
    font-size: clamp(2.2rem, 10.5vw, 3rem);
    line-height: .96;
  }

  .service-card {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .service-card h3 {
    font-size: 1.55rem;
    line-height: 1.05;
  }

  .service-card p {
    font-size: .93rem;
  }

  .service-detail {
    max-width: 100%;
    font-size: .61rem;
  }

  .applications {
    gap: 42px;
    padding-top: 78px;
  }

  .applications-visual {
    min-height: 300px;
    padding: 28px;
    background-position: 72% center;
  }

  .applications-visual p {
    font-size: .95rem;
  }

  .tag-list span {
    padding: 10px 11px;
    font-size: .71rem;
  }

  .contact {
    gap: 46px;
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .contact-heading > p:not(.eyebrow) {
    margin-top: 22px;
  }

  .process {
    margin-top: 38px;
  }

  .contact-form,
  .contact-form label,
  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  .form-row {
    min-width: 0;
    max-width: 100%;
  }

  .contact-form {
    gap: 20px;
    padding: 22px 18px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
  }

  .footer {
    gap: 18px;
  }
}

@media (max-width: 380px) {
  .hero {
    padding-top: 290px;
  }

  .hero-image {
    height: 350px;
    object-position: 74% 42%;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 12.5vw, 3rem);
  }
}

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