:root {
  color-scheme: light dark;
  --night: #071113;
  --night-2: #0c1718;
  --ink: #f5f8f8;
  --muted: #bdc7ca;
  --paper: #f4f6f4;
  --paper-2: #e8ecea;
  --text: #132023;
  --text-soft: #526167;
  --blue: #5f94b4;
  --blue-deep: #153d50;
  --red: #8b202a;
  --green: #516b55;
  --silver: #d7dedf;
  --steel: #8b9ca4;
  --line: rgba(215, 222, 223, 0.2);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
}

body.no-hero {
  padding-top: 84px;
}

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

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

p {
  margin: 0;
}

.skip-link {
  background: var(--ink);
  color: var(--night);
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: 16px;
  transform: translateY(-180%);
  z-index: 30;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 19, 0.82);
  border-bottom: 1px solid rgba(215, 222, 223, 0.14);
  color: var(--ink);
  left: 0;
  min-height: 84px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.site-header__inner {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1200px;
  min-height: 84px;
  padding: 0 24px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 14px;
  min-width: 218px;
}

.brand img {
  height: 62px;
  width: 230px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 22px;
}

.site-nav a {
  color: rgba(245, 248, 248, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 28px 0;
  position: relative;
}

.site-nav a::after {
  background: var(--red);
  bottom: 22px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  align-items: center;
  background: rgba(245, 248, 248, 0.07);
  border: 1px solid rgba(215, 222, 223, 0.24);
  color: var(--ink);
  cursor: pointer;
  display: none;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  background: currentColor;
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  width: 20px;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(7px);
}

.btn {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--red);
  color: var(--ink);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #a62934;
}

.btn--light {
  background: var(--ink);
  color: var(--night);
}

.btn--ghost {
  border-color: rgba(245, 248, 248, 0.34);
  color: var(--ink);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(245, 248, 248, 0.1);
}

.hero {
  background:
    linear-gradient(90deg, rgba(7, 17, 19, 0.92), rgba(7, 17, 19, 0.7) 42%, rgba(7, 17, 19, 0.22)),
    linear-gradient(0deg, rgba(7, 17, 19, 0.92), rgba(7, 17, 19, 0.08) 36%),
    url("assets/hero-isr.jpg") center / cover no-repeat;
  color: var(--ink);
  min-height: 82svh;
  padding: 138px 24px 64px;
  position: relative;
}

.hero::after {
  background-image:
    linear-gradient(rgba(215, 222, 223, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215, 222, 223, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  opacity: 0.26;
  pointer-events: none;
  position: absolute;
}

.hero__inner {
  margin: 0 auto;
  max-width: 1200px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  align-items: center;
  color: var(--silver);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 10px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: var(--red);
  content: "";
  display: inline-block;
  height: 2px;
  width: 42px;
}

.hero h1,
.page-hero h1 {
  font-size: 4.85rem;
  line-height: 0.98;
  margin: 0;
  max-width: 820px;
}

.hero__lead {
  color: rgba(245, 248, 248, 0.88);
  font-size: 1.28rem;
  margin-top: 26px;
  max-width: 710px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__metrics {
  border-top: 1px solid rgba(215, 222, 223, 0.26);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 54px;
  max-width: 980px;
  padding-top: 22px;
}

.metric strong {
  color: var(--ink);
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
}

.metric span {
  color: rgba(245, 248, 248, 0.72);
  display: block;
  font-size: 0.88rem;
  margin-top: 4px;
}

.section {
  padding: 86px 24px;
}

.section--dark {
  background: var(--night);
  color: var(--ink);
}

.section--steel {
  background: #dfe5e4;
}

.section--tight {
  padding-bottom: 54px;
  padding-top: 54px;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.6fr);
  margin-bottom: 42px;
}

.section-heading h2,
.content-block h2 {
  font-size: 2.8rem;
  line-height: 1.06;
  margin: 0;
}

.section-heading p,
.content-block p,
.section-intro {
  color: var(--text-soft);
  font-size: 1.02rem;
}

.section--dark .section-heading p,
.section--dark .content-block p,
.section--dark .section-intro,
.section--dark .card p,
.section--dark .split p,
.section--dark .timeline p {
  color: rgba(245, 248, 248, 0.73);
}

.signal-strip {
  background: var(--night);
  color: var(--ink);
  padding: 22px 24px;
}

.signal-strip__inner {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 0.8fr 1.2fr;
  margin: 0 auto;
  max-width: 1200px;
}

.signal-strip strong {
  color: var(--silver);
}

.signal-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.signal-list span {
  border-left: 3px solid var(--red);
  color: rgba(245, 248, 248, 0.75);
  font-size: 0.88rem;
  padding-left: 12px;
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

.card {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(19, 32, 35, 0.12);
  border-radius: 8px;
  padding: 28px;
}

.section--dark .card {
  background: rgba(245, 248, 248, 0.055);
  border-color: rgba(215, 222, 223, 0.16);
}

.card__label {
  color: var(--red);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section--dark .card__label {
  color: #e07a82;
}

.card h3 {
  font-size: 1.26rem;
  line-height: 1.2;
  margin: 0 0 12px;
}

.card p {
  color: var(--text-soft);
}

.capability-card {
  min-height: 268px;
  position: relative;
}

.capability-card::before {
  background: var(--blue);
  content: "";
  height: 4px;
  left: 28px;
  position: absolute;
  top: 0;
  width: 64px;
}

.split {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1fr);
}

.split--reverse {
  grid-template-columns: minmax(340px, 1fr) minmax(0, 0.86fr);
}

.split__image {
  border: 1px solid rgba(19, 32, 35, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section--dark .split__image {
  border-color: rgba(215, 222, 223, 0.16);
}

.split__image img {
  aspect-ratio: 16 / 10;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.split h2 {
  font-size: 2.7rem;
  line-height: 1.08;
  margin: 0 0 18px;
}

.split p + p {
  margin-top: 16px;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
}

.feature-list li {
  border-left: 3px solid var(--green);
  list-style: none;
  padding-left: 14px;
}

.section--dark .feature-list li {
  border-left-color: var(--blue);
  color: rgba(245, 248, 248, 0.84);
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(7, 17, 19, 0.92), rgba(7, 17, 19, 0.68) 48%, rgba(7, 17, 19, 0.38)),
    url("assets/command-center.jpg") center / cover no-repeat;
  color: var(--ink);
  padding: 154px 24px 84px;
}

.page-hero--services {
  background:
    linear-gradient(90deg, rgba(7, 17, 19, 0.92), rgba(7, 17, 19, 0.72) 48%, rgba(7, 17, 19, 0.36)),
    url("assets/aviation-maintenance.jpg") center / cover no-repeat;
}

.page-hero--contact {
  background:
    linear-gradient(90deg, rgba(7, 17, 19, 0.92), rgba(7, 17, 19, 0.7) 48%, rgba(7, 17, 19, 0.28)),
    url("assets/hero-isr.jpg") center / cover no-repeat;
}

.page-hero p {
  color: rgba(245, 248, 248, 0.82);
  font-size: 1.16rem;
  margin-top: 22px;
  max-width: 760px;
}

.band {
  background: var(--night);
  color: var(--ink);
  padding: 34px 24px;
}

.band__inner {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1200px;
}

.band__item {
  border-left: 3px solid var(--red);
  padding-left: 16px;
}

.band__item strong {
  display: block;
}

.band__item span {
  color: rgba(245, 248, 248, 0.68);
  display: block;
  font-size: 0.86rem;
}

.timeline {
  display: grid;
  gap: 20px;
}

.timeline__item {
  border-left: 3px solid var(--red);
  padding-left: 22px;
}

.timeline h3 {
  margin: 0 0 6px;
}

.service-row {
  border-top: 1px solid rgba(19, 32, 35, 0.15);
  display: grid;
  gap: 24px;
  grid-template-columns: 0.38fr 1fr;
  padding: 34px 0;
}

.section--dark .service-row {
  border-top-color: rgba(215, 222, 223, 0.15);
}

.service-row h2,
.service-row h3 {
  font-size: 1.5rem;
  line-height: 1.18;
  margin: 0;
}

.service-row p {
  color: var(--text-soft);
  margin-bottom: 18px;
}

.section--dark .service-row p {
  color: rgba(245, 248, 248, 0.72);
}

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

.tag-list li {
  background: rgba(21, 61, 80, 0.09);
  border: 1px solid rgba(21, 61, 80, 0.16);
  color: var(--blue-deep);
  font-size: 0.86rem;
  font-weight: 700;
  list-style: none;
  padding: 8px 10px;
}

.section--dark .tag-list li {
  background: rgba(95, 148, 180, 0.12);
  border-color: rgba(95, 148, 180, 0.2);
  color: #d7ebf4;
}

.quote-panel {
  background: var(--night);
  color: var(--ink);
  padding: 58px;
}

.quote-panel blockquote {
  font-size: 2rem;
  line-height: 1.22;
  margin: 0;
  max-width: 900px;
}

.quote-panel cite {
  color: rgba(245, 248, 248, 0.66);
  display: block;
  font-style: normal;
  margin-top: 18px;
}

.contact-panel {
  background: var(--night);
  color: var(--ink);
  display: grid;
  gap: 34px;
  grid-template-columns: 0.76fr 1fr;
  min-width: 0;
  overflow: hidden;
  padding: 40px;
}

.contact-panel > * {
  min-width: 0;
}

.contact-panel h2 {
  font-size: 2.3rem;
  line-height: 1.1;
  margin: 0 0 18px;
}

.contact-methods {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-method {
  border-left: 3px solid var(--red);
  padding-left: 16px;
}

.contact-method span {
  color: rgba(245, 248, 248, 0.65);
  display: block;
  font-size: 0.86rem;
}

.contact-method strong,
.contact-method a {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-status {
  border: 1px solid rgba(215, 222, 223, 0.22);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 14px 16px;
}

.form-status--pending {
  background: rgba(95, 148, 180, 0.12);
  border-color: rgba(95, 148, 180, 0.28);
  color: #d7ebf4;
}

.form-status--success {
  background: rgba(81, 107, 85, 0.18);
  border-color: rgba(81, 107, 85, 0.34);
  color: #e3f0e5;
}

.form-status--error {
  background: rgba(139, 32, 42, 0.15);
  border-color: rgba(199, 91, 100, 0.34);
  color: #ffd7db;
}

.form-grid label {
  color: rgba(245, 248, 248, 0.78);
  display: grid;
  font-size: 0.88rem;
  font-weight: 800;
  gap: 8px;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  background: rgba(245, 248, 248, 0.08);
  border: 1px solid rgba(215, 222, 223, 0.22);
  color: var(--ink);
  font: inherit;
  min-width: 0;
  min-height: 46px;
  padding: 12px 13px;
  width: 100%;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  border-color: rgba(95, 148, 180, 0.62);
  box-shadow: 0 0 0 3px rgba(95, 148, 180, 0.16);
  outline: none;
}

.form-grid input[aria-invalid="true"],
.form-grid textarea[aria-invalid="true"],
.form-grid select[aria-invalid="true"] {
  border-color: rgba(199, 91, 100, 0.72);
}

.form-grid textarea {
  min-height: 132px;
  resize: vertical;
}

.form-grid select option {
  background: var(--night);
  color: var(--ink);
}

.field-help,
.field-error {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
}

.field-help {
  color: rgba(245, 248, 248, 0.62);
}

.field-error {
  color: #ffb7bf;
  min-height: 1.2em;
}

.form-honeypot {
  left: -9999px;
  position: absolute;
}

.btn[disabled] {
  cursor: wait;
  opacity: 0.74;
  transform: none;
}

.site-footer {
  background: #05090a;
  color: rgba(245, 248, 248, 0.76);
  padding: 42px 24px;
}

.site-footer__inner {
  display: grid;
  gap: 28px;
  grid-template-columns: 0.9fr 1.1fr;
  margin: 0 auto;
  max-width: 1200px;
}

.footer-logo {
  height: 60px;
  margin-bottom: 16px;
  width: 224px;
}

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

.footer-links a {
  color: rgba(245, 248, 248, 0.76);
  font-weight: 700;
}

.footer-note {
  border-top: 1px solid rgba(215, 222, 223, 0.14);
  color: rgba(245, 248, 248, 0.52);
  font-size: 0.82rem;
  grid-column: 1 / -1;
  padding-top: 20px;
}

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

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

@media (max-width: 980px) {
  body.no-hero {
    padding-top: 76px;
  }

  .site-header,
  .site-header__inner {
    min-height: 76px;
  }

  .brand img {
    height: 50px;
    width: 186px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    align-items: stretch;
    background: rgba(7, 17, 19, 0.98);
    border-top: 1px solid rgba(215, 222, 223, 0.15);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 10px 24px 22px;
    position: absolute;
    right: 0;
    top: 76px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-bottom: 1px solid rgba(215, 222, 223, 0.1);
    padding: 14px 0;
  }

  .site-nav a::after {
    bottom: 10px;
    width: 46px;
  }

  .hero {
    min-height: 78svh;
    padding-top: 118px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 3.35rem;
  }

  .hero__metrics,
  .band__inner,
  .signal-list,
  .grid--3,
  .grid--2,
  .section-heading,
  .split,
  .split--reverse,
  .contact-panel,
  .site-footer__inner,
  .signal-strip__inner {
    grid-template-columns: 1fr;
  }

  .hero__metrics {
    max-width: 100%;
  }

  .service-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    padding: 0 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    height: 46px;
    width: 172px;
  }

  .hero,
  .page-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.45rem;
  }

  .hero__lead,
  .page-hero p {
    font-size: 1.02rem;
  }

  .section {
    padding: 64px 18px;
  }

  .section-heading h2,
  .content-block h2,
  .split h2 {
    font-size: 2.05rem;
  }

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

  .card,
  .quote-panel,
  .contact-panel {
    padding: 24px;
  }

  .quote-panel blockquote {
    font-size: 1.45rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
