:root {
  --bg: #f4f7f5;
  --surface: #ffffff;
  --surface-soft: #edf3f0;
  --ink: #10201c;
  --muted: #5b6d67;
  --line: rgba(16, 32, 28, 0.12);
  --brand: #17694f;
  --brand-2: #1c7f70;
  --brand-dark: #081915;
  --teal: #4fc1b2;
  --blue: #7fbad4;
  --warm: #d59a52;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(6, 27, 22, 0.11);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.7rem);
  max-width: 12ch;
  color: #fff;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
}

h3 {
  font-size: 1.25rem;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  z-index: 999;
  background: #fff;
  color: #111;
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(5, 19, 16, 0.92), rgba(5, 19, 16, 0.25), transparent);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
  font-weight: 720;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-company {
  display: inline-block;
  color: #0b4a63;
  font-size: 1.02rem;
  font-weight: 780;
  letter-spacing: -0.015em;
  line-height: 1;
}

.site-header .brand,
.site-header .nav a {
  color: #fff;
}

.site-header .brand {
  padding: 5px 15px 5px 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(255, 255, 255, .42);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}

.brand-logo {
  display: block;
  width: 68px;
  height: 54px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 3px 9px rgba(0, 0, 0, .12));
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: .9rem;
}

.nav a {
  opacity: .82;
  transition: opacity .2s ease, transform .2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
}

.nav-cta {
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
  padding: 9px 15px;
}

.hero {
  min-height: 94vh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--brand-dark);
}

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

.hero-image {
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5,19,16,.92) 0%, rgba(5,19,16,.74) 36%, rgba(5,19,16,.25) 70%, rgba(5,19,16,.16) 100%),
    linear-gradient(0deg, rgba(5,19,16,.62) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 118px;
  padding-bottom: 82px;
}

.hero-content > p:not(.visual-note) {
  color: rgba(255,255,255,.78);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  max-width: 720px;
  margin-top: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .74rem;
  font-weight: 760;
  color: var(--brand-2);
  margin-bottom: 17px;
}

.hero .eyebrow,
.dark-section .eyebrow,
.contact-section .eyebrow {
  color: #8ce0d1;
}

.eyebrow::before {
  content: "";
  width: 25px;
  height: 1px;
  background: currentColor;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .93rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.button-primary {
  background: #dff6ef;
  color: #0c3c30;
  box-shadow: 0 10px 30px rgba(5,19,16,.2);
}

.button-ghost {
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
}

.visual-note {
  color: rgba(255,255,255,.54);
  font-size: .75rem;
  margin-top: 22px;
}

.section {
  padding: 108px 0;
}

.section-intro {
  padding-top: 94px;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 50px;
}

.section-heading.centered {
  text-align: center;
  margin-inline: auto;
}

.section-heading.compact {
  margin-bottom: 32px;
}

.section-heading p,
.lead,
.about-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading p {
  max-width: 680px;
  margin: 20px auto 0;
}

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

.pillar-card,
.capability-card,
.feature-card,
.tech-grid article {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(24, 62, 51, 0.05);
}

.pillar-card {
  padding: 30px;
  min-height: 288px;
  display: flex;
  flex-direction: column;
}

.icon-chip {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--brand);
  font-weight: 760;
  font-size: .8rem;
  margin-bottom: 34px;
}

.pillar-card p,
.capability-card p,
.feature-card p,
.tech-grid p {
  color: var(--muted);
}

.pillar-card p {
  margin-top: 14px;
}

.pillar-card a {
  margin-top: auto;
  font-weight: 750;
  color: var(--brand);
}

.split-section {
  background: #fff;
}

.split-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.split-copy .lead {
  margin-top: 23px;
}

.split-copy > p:not(.lead) {
  color: var(--muted);
}

.media-card {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #0c2420;
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-card figcaption {
  padding: 12px 16px 15px;
  color: rgba(255,255,255,.64);
  font-size: .76rem;
  background: #0b201c;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 27px;
}

.status {
  padding: 7px 11px;
  border-radius: 999px;
  background: #e6f4ef;
  color: #17614d;
  font-size: .76rem;
  font-weight: 760;
  letter-spacing: .02em;
}

.status-muted {
  background: #eef1f0;
  color: #586760;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 62px;
}

.capability-card {
  padding: 25px;
}

.capability-card h3 {
  margin-bottom: 12px;
}

.data-strip {
  background: #edf4f1;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
}

.workflow-step {
  padding: 24px 20px;
  border-top: 1px solid rgba(23,105,79,.3);
}

.workflow-step > span {
  color: var(--brand);
  font-weight: 800;
  font-size: .75rem;
}

.workflow-step h3 {
  margin: 10px 0 12px;
}

.workflow-step p {
  color: var(--muted);
  font-size: .92rem;
}

.workflow-arrow {
  align-self: center;
  color: rgba(23,105,79,.48);
  font-size: 1.4rem;
}

.dark-section {
  background: #071814;
  color: #fff;
}

.dark-section .lead,
.dark-section .feature-card p {
  color: rgba(255,255,255,.68);
}

.dark-media {
  box-shadow: 0 26px 80px rgba(0,0,0,.28);
}

.defence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 62px;
}

.feature-card {
  padding: 30px;
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.12);
  box-shadow: none;
}

.feature-kicker {
  display: inline-block;
  color: #83d9ca;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .69rem;
  font-weight: 760;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.tag-row span {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 6px 9px;
  color: rgba(255,255,255,.65);
  font-size: .72rem;
}

.status-dark {
  background: rgba(121,224,204,.12);
  color: #8ce0d1;
}

.technology-section {
  background: #eaf1ee;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tech-grid article {
  padding: 24px;
}

.tech-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #0b4a3a;
  background: #d9eee7;
  font-weight: 850;
  font-size: .72rem;
  margin-bottom: 26px;
}

.tech-grid h3 {
  margin-bottom: 12px;
}

.about-section {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-section {
  padding-top: 40px;
  background: #fff;
}

.contact-card {
  background: #0a211b;
  color: #fff;
  border-radius: 32px;
  padding: 52px;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 50px;
  align-items: center;
  box-shadow: var(--shadow);
}

.contact-card p {
  color: rgba(255,255,255,.68);
  margin-top: 18px;
  max-width: 700px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255,255,255,.62);
  font-size: .9rem;
}

.site-footer {
  background: #fff;
  padding: 42px 0 48px;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: .82rem;
}

.footer-brand {
  color: var(--ink);
}

.footer-logo {
  width: 68px;
  height: 54px;
  filter: none;
}

.footer-company {
  color: var(--ink);
}

@media (min-width: 901px) {
  .reverse-on-desktop .media-card {
    order: 1;
  }
  .reverse-on-desktop .split-copy {
    order: 2;
  }
}

@media (max-width: 980px) {
  .nav {
    gap: 16px;
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

  .pillar-grid,
  .capability-grid,
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-grid,
  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
    gap: 38px;
  }

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

  .workflow-arrow {
    display: none;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    background: rgba(5,19,16,.86);
    backdrop-filter: blur(14px);
  }

  .nav-wrap {
    min-height: 76px;
  }

  .brand-logo {
    width: 58px;
    height: 46px;
  }

  .brand-company {
    font-size: .92rem;
  }

  .site-header .brand {
    padding: 4px 10px 4px 6px;
    gap: 8px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(5,19,16,.92), rgba(5,19,16,.64)), linear-gradient(0deg, rgba(5,19,16,.55), transparent 45%);
  }

  .hero-content {
    padding-top: 110px;
  }

  .section {
    padding: 78px 0;
  }

  .pillar-grid,
  .capability-grid,
  .defence-grid,
  .tech-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .pillar-card {
    min-height: auto;
  }

  .split-grid {
    gap: 34px;
  }

  .media-card {
    border-radius: 18px;
  }

  .contact-card {
    padding: 32px 24px;
    border-radius: 22px;
  }

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

@media (max-width: 420px) {
  .brand-company {
    font-size: .82rem;
  }

  .brand-logo {
    width: 52px;
    height: 42px;
  }

  .nav-cta {
    padding: 8px 12px;
    font-size: .82rem;
  }
}
