:root {
  --navy: #12275c;
  --navy-900: #1a306b;
  --navy-700: #1a3a8f;
  --steel: #6f86bf;
  --orange: #f26522;
  --orange-600: #d9531a;
  --bone: #f5f6f9;
  --display: "Anton", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: #0d1b40;
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--orange);
  color: #fff;
}

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

img {
  display: block;
}

.wrap {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .wrap {
    padding: 0 40px;
  }
}

.display {
  font-family: var(--display);
  letter-spacing: 0.01em;
  line-height: 0.95;
}

.mono {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--orange);
}

.kicker span {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--orange);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border: 0;
  border-radius: 2px;
  padding: 16px 28px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #fff;
  background: var(--orange);
  transition: background 0.2s, transform 0.05s;
}

.btn:hover {
  background: var(--orange-600);
}

.btn:active {
  transform: translateY(1px);
}

.btn-dark {
  background: var(--navy-900);
}

.btn-dark:hover {
  background: var(--navy-700);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  font-size: 12px;
}

.btn-ghost:hover {
  border-color: var(--orange);
  background: var(--orange);
}

/* dark sections */
.dark {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
}

.grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(111, 134, 191, 0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(111, 134, 191, 0.16) 1px, transparent 1px);
  background-size: 96px 96px;
}

/* header */
header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(26, 48, 107, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand .chip {
  width: 44px;
  height: 44px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
}

.brand .chip img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand .name {
  font-family: var(--display);
  font-size: 18px;
  color: #fff;
  line-height: 1;
  margin: 0;
}

.brand .sub {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--steel);
  margin: 4px 0 0;
}

/* hero */
.hero-grid {
  display: grid;
  gap: 56px;
  padding: 80px 0;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 112px 0;
  }
}

h1.hero {
  font-family: var(--display);
  font-size: clamp(56px, 9vw, 104px);
  line-height: 0.92;
  margin: 24px 0 0;
}

.hero-lead {
  max-width: 560px;
  margin-top: 32px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--steel);
}

.hero-cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.link-mono {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--steel);
}

.link-mono:hover {
  color: #fff;
}

.orange {
  color: var(--orange);
}

.logo-frame {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 1;
}

.logo-frame .b1 {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.logo-frame .b2 {
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(242, 101, 34, 0.4);
  border-radius: 2px;
}

.logo-frame .inner {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 40px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(2px);
}

.logo-frame .inner img {
  width: 100%;
  max-width: 260px;
  object-fit: contain;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.4));
}

.dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--orange);
}

.sectors {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

@media (min-width: 640px) {
  .sectors .row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sectors .cell {
  padding: 20px 24px;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--steel);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.sectors .cell:first-child {
  border-left: 0;
}

/* system */
.system {
  display: grid;
  gap: 56px;
  padding: 96px 0;
}

@media (min-width: 1024px) {
  .system {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

h2.sec {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 48px);
  line-height: 0.95;
  color: var(--navy-900);
  margin: 24px 0 0;
}

.prose p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(13, 27, 64, 0.8);
  margin: 0 0 24px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(13, 27, 64, 0.1);
  padding-top: 32px;
}

.stats .big {
  font-family: var(--display);
  font-size: 40px;
  color: var(--orange);
  margin: 0;
}

.stats .lbl {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(13, 27, 64, 0.5);
}

/* capabilities */
.caps-section {
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
}

.caps-head {
  max-width: 640px;
}

.caps-head h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 48px);
  line-height: 0.95;
  margin: 24px 0 0;
}

.caps-head p {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--steel);
}

.caps {
  margin-top: 64px;
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

@media (min-width: 640px) {
  .caps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cap {
  background: var(--navy-900);
  padding: 40px;
  transition: background 0.2s;
}

.cap:hover {
  background: var(--navy-700);
}

.cap .top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.cap h3 {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.02em;
  margin: 0;
}

.cap .num {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
}

.cap p {
  margin: 16px 0 0;
  line-height: 1.6;
  color: var(--steel);
}

/* objective */
.objective {
  max-width: 900px;
  margin: 0 auto;
  padding: 96px 0;
  text-align: center;
}

.objective .stmt {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  color: var(--navy-900);
  margin: 32px 0 0;
}

/* tagline band */
.band {
  background: var(--orange);
}

.band .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 56px 0;
  text-align: center;
}

@media (min-width: 1024px) {
  .band .inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.band h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0;
}

/* footer */
.footer-inner {
  position: relative;
  padding-bottom: 80px;
}

footer .cols {
  display: grid;
  gap: 48px;
  padding: 80px 0 0;
  align-items: end;
}

@media (min-width: 1024px) {
  footer .cols {
    grid-template-columns: 1fr auto;
  }
}

footer h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 48px);
  line-height: 0.95;
  margin: 24px 0 0;
}

footer .lead {
  margin-top: 24px;
  max-width: 420px;
  color: var(--steel);
}

.email-link {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 30px);
  color: var(--orange);
  text-decoration: underline;
  text-decoration-color: rgba(242, 101, 34, 0.4);
  text-underline-offset: 8px;
}

.email-link:hover {
  text-decoration-color: var(--orange);
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.foot-brand .chip {
  width: 56px;
  height: 56px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
}

.foot-brand .chip img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.foot-brand .name {
  font-family: var(--display);
  font-size: 20px;
  color: #fff;
  line-height: 1;
  margin: 0;
}

.foot-brand .sub {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--steel);
  margin: 4px 0 0;
}

.foot-bar {
  margin-top: 64px;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--steel);
}

.foot-bar p {
  margin: 0;
}

@media (min-width: 640px) {
  .foot-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.hide-sm {
  display: none;
}

@media (min-width: 640px) {
  .hide-sm {
    display: inline-flex;
  }
}

/* modal */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.overlay.open {
  display: flex;
}

.overlay .scrim {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 64, 0.7);
  backdrop-filter: blur(4px);
  border: 0;
  cursor: pointer;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 512px;
  background: var(--bone);
  border: 1px solid rgba(13, 27, 64, 0.1);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.modal .head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: var(--navy-900);
  color: #fff;
  padding: 24px 28px;
}

.modal .head h3 {
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: 0.02em;
  margin: 12px 0 0;
}

.modal .x {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}

.modal .x:hover {
  border-color: var(--orange);
  background: var(--orange);
}

#quote-form {
  padding: 28px;
}

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

@media (min-width: 640px) {
  .fgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(13, 27, 64, 0.55);
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(13, 27, 64, 0.15);
  border-radius: 2px;
  background: #fff;
  padding: 12px 16px;
  font-family: var(--body);
  font-size: 15px;
  color: #0d1b40;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input::placeholder,
textarea::placeholder {
  color: rgba(13, 27, 64, 0.35);
}

input:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.25);
}

textarea {
  resize: none;
}

.full {
  margin-top: 20px;
}

#quote-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 24px;
}

.thanks {
  padding: 56px 28px;
  text-align: center;
}

.thanks .big {
  font-family: var(--display);
  font-size: 40px;
  color: var(--orange);
  margin: 0;
}

.thanks p {
  max-width: 360px;
  margin: 16px auto 0;
  line-height: 1.6;
  color: rgba(13, 27, 64, 0.7);
}

.thanks a {
  color: var(--navy-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.thanks .btn {
  margin-top: 32px;
}

.navy-700 {
  color: var(--navy-700);
}
