:root {
  --navy-950: #031329;
  --navy-900: #061c38;
  --navy-850: #092345;
  --navy-800: #0d2b52;
  --navy-700: #123a67;
  --blue-500: #0f6bff;
  --blue-400: #2a84ff;
  --blue-300: #62a8ff;
  --text-dark: #0c2140;
  --text-mid: #41536f;
  --surface: #f5f7fb;
  --white: #ffffff;
  --border: rgba(255, 255, 255, 0.08);
  --max-width: 1440px;
  --shadow-soft: 0 20px 50px rgba(3, 19, 41, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", sans-serif;
  color: var(--white);
  background: var(--navy-950);
}

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

main {
  width: 100%;
}

/* HERO */

.hero {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 80%, rgba(15, 107, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #102f59 0%, #07182d 70%, #051427 100%);
}

.hero-panels {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  z-index: 1;
}

.hero-panel {
  background-size: cover;
  background-position: center;
  filter: saturate(0.8) brightness(0.72);
}

.hero-panel-left {
  clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%);
  background:
    linear-gradient(rgba(17, 44, 78, 0.3), rgba(7, 24, 45, 0.75)),
    url("assets/images/hero-left.png") center/cover no-repeat;
}

.hero-panel-centre {
  clip-path: polygon(14% 0, 100% 0, 84% 100%, 0 100%);
  background:
    linear-gradient(rgba(6, 25, 48, 0.42), rgba(7, 24, 45, 0.82)),
    url("assets/images/hero-centre.png") center/cover no-repeat;
}

.hero-panel-right {
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(rgba(14, 38, 70, 0.25), rgba(7, 24, 45, 0.82)),
    url("assets/images/hero-right.png") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(4, 18, 35, 0.06) 0%, rgba(4, 18, 35, 0.22) 40%, rgba(2, 13, 26, 0.76) 100%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: 0 auto;
  padding: 152px 24px 132px;
  text-align: center;
}

.brand-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-bottom: 18px;
}

.brand-name {
  margin: 0;
  font-size: clamp(3.4rem, 6vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.brand-mark,
.footer-mark {
  position: relative;
  width: 86px;
  height: 86px;
  flex: 0 0 86px;
}

.brand-mark span,
.footer-mark span {
  position: absolute;
  display: block;
}

.mark-white {
  inset: 6px 28px 14px 6px;
  background: #f8fbff;
  clip-path: polygon(0 0, 83% 0, 52% 49%, 92% 100%, 48% 100%, 18% 54%, 39% 54%);
}

.mark-blue {
  inset: 0 0 0 36px;
  background: linear-gradient(180deg, #2382ff 0%, #0e60e8 100%);
  clip-path: polygon(0 0, 100% 0, 58% 100%, 0 100%, 29% 50%);
}

.hero-accent {
  width: 58px;
  height: 4px;
  margin: 0 auto 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0b5dde 0%, #45a0ff 100%);
}

.hero-title {
  margin: 0 auto 18px;
  max-width: 1000px;
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.hero-copy {
  max-width: 860px;
  margin: 0 auto 52px;
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 0;
  font-size: 0.98rem;
  letter-spacing: 0.26em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.96);
}

.shield-icon,
.bottom-shield {
  position: relative;
  width: 24px;
  height: 28px;
  border: 2px solid #0f7aff;
  border-radius: 0 0 10px 10px;
  clip-path: polygon(50% 0, 100% 16%, 100% 56%, 50% 100%, 0 56%, 0 16%);
}

/* CAPABILITIES */

.capabilities {
  background: #f4f6fa;
  color: var(--text-dark);
  padding: 72px 20px 64px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #1f70e8;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.24em;
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section-line {
  width: 52px;
  height: 4px;
  margin: 24px auto 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0b5dde 0%, #4ca9ff 100%);
}

.section-copy {
  max-width: 900px;
  margin: 0 auto 34px;
  color: var(--text-mid);
  font-size: 1.42rem;
  line-height: 1.55;
}

.capability-grid {
  max-width: 1560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.capability-card {
  background: #06224a;
  color: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 690px;
  display: flex;
  flex-direction: column;
}

.card-image {
  height: 275px;
  background-size: cover;
  background-position: center;
  background-color: #102b52;
}

.image-uas {
  background:
    linear-gradient(rgba(5, 22, 42, 0.12), rgba(5, 22, 42, 0.12)),
    url("assets/images/card-uas.png") center/cover no-repeat;
}

.image-calibre {
  background:
    linear-gradient(rgba(5, 22, 42, 0.12), rgba(5, 22, 42, 0.12)),
    url("assets/images/card-calibre.png") center/cover no-repeat;
}

.image-electrical {
  background:
    linear-gradient(rgba(5, 22, 42, 0.12), rgba(5, 22, 42, 0.12)),
    url("assets/images/card-electrical.png") center/cover no-repeat;
}

.image-parts {
  background:
    linear-gradient(rgba(5, 22, 42, 0.12), rgba(5, 22, 42, 0.12)),
    url("assets/images/card-parts.png") center/cover no-repeat;
}

.image-blanks {
  background:
    linear-gradient(rgba(5, 22, 42, 0.12), rgba(5, 22, 42, 0.12)),
    url("assets/images/card-blanks.png") center/cover no-repeat;
}

.image-advisory {
  background:
    linear-gradient(rgba(5, 22, 42, 0.12), rgba(5, 22, 42, 0.12)),
    url("assets/images/card-advisory.png") center/cover no-repeat;
}

.card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px 34px;
  flex: 1;
}

.card-icon {
  margin-bottom: 24px;
  font-size: 2rem;
  color: #0e7cff;
  opacity: 0.96;
  line-height: 1;
}

.card-body h4 {
  margin: 0 0 22px;
  font-size: 2rem;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.card-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.2rem;
  line-height: 1.62;
}

/* BOTTOM CTA */

.bottom-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 38px 64px;
  background:
    radial-gradient(circle at 20% 30%, rgba(20, 111, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #07182f 0%, #041124 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bottom-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.bottom-left h3 {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.bottom-left p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.22rem;
  line-height: 1.5;
}

.bottom-shield {
  width: 46px;
  height: 54px;
  border-width: 3px;
}

.enquire-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 340px;
  padding: 22px 30px;
  border: 2px solid #0f7aff;
  color: #0f7aff;
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  transition: 0.2s ease;
  cursor: pointer;
  background: transparent;
}

.enquire-button:hover {
  background: rgba(15, 122, 255, 0.1);
}

/* FOOTER */

.site-footer {
  background: #041124;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px 64px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.footer-mark {
  width: 52px;
  height: 52px;
  flex-basis: 52px;
}

/* Replaces .footer-links and .footer-email */
.footer-discreet {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-discreet-block {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-shield {
  position: relative;
  width: 38px;
  height: 44px;
  flex-shrink: 0;
  border: 2px solid #0f7aff;
  border-radius: 0 0 14px 14px;
  clip-path: polygon(50% 0, 100% 16%, 100% 56%, 50% 100%, 0 56%, 0 16%);
  opacity: 0.85;
}

.footer-discreet-title {
  margin: 0 0 5px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
}

.footer-discreet-sub {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}

.footer-enquire-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 2px solid #0f7aff;
  color: #0f7aff;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  white-space: nowrap;
  transition: 0.2s ease;
  cursor: pointer;
  background: transparent;
  text-decoration: none;
}

.footer-enquire-button:hover {
  background: rgba(15, 122, 255, 0.1);
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
}

/* RESPONSIVE */

@media (max-width: 1500px) {
  .capability-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .capability-card {
    min-height: 0;
  }
}

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

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

  .hero-panel-left,
  .hero-panel-centre,
  .hero-panel-right {
    clip-path: none;
    position: absolute;
    inset: 0;
  }

  .hero-panel-left { opacity: 0.45; }
  .hero-panel-centre { opacity: 0.9; }
  .hero-panel-right { opacity: 0.38; }

  .hero-meta {
    letter-spacing: 0.14em;
    font-size: 0.88rem;
  }

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

  .bottom-cta,
  .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .bottom-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .enquire-button {
    min-width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-discreet {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero-inner {
    padding-top: 110px;
    padding-bottom: 96px;
  }

  .brand-row {
    gap: 14px;
  }

  .bottom-shield,
.footer-shield {
  clip-path: none;
  border: none;
  border-radius: 0;
  object-fit: contain;
}

  .brand-mark {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
  }

  .hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    letter-spacing: 0.08em;
  }

  .section-copy {
    font-size: 1.05rem;
  }

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

  .card-image {
    height: 230px;
  }

  .card-body h4 {
    font-size: 1.6rem;
  }

  .card-body p,
  .bottom-left p {
    font-size: 1rem;
  }

  .bottom-left {
    align-items: flex-start;
  }

  .footer-discreet {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-discreet-block {
    text-align: left;
  }

  .footer-enquire-button {
    width: 100%;
  }
}