:root {
  --ink: #0a1420;
  --navy: #081424;
  --navy-soft: #0e2037;
  --paper: #f7f9fb;
  --white: #ffffff;
  --muted: #607080;
  --line: #d8e0e7;
  --blue: #2f7ff7;
  --blue-text: #155fc0;
  --cyan: #54d8e9;
  --lime: #c7f25a;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--ink);
  border-radius: 4px;
}

.shell {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: rgba(8, 20, 36, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.055em;
  text-decoration: none;
  white-space: nowrap;
}

.brand em { color: #9aabba; font-style: normal; font-weight: 500; }

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid rgba(84, 216, 233, 0.75);
  transform: rotate(45deg);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark i {
  content: "";
  position: absolute;
  background: var(--cyan);
}

.brand-mark::before { width: 15px; height: 1px; }
.brand-mark::after { width: 1px; height: 15px; }
.brand-mark i { width: 5px; height: 5px; }

.primary-nav { display: flex; align-items: center; gap: 2rem; }
.primary-nav a {
  color: #dce5ed;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}
.primary-nav a:hover,
.primary-nav a:focus-visible { color: var(--cyan); }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
}
.menu-button span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  color: var(--white);
  background:
    radial-gradient(circle at 77% 42%, rgba(47, 127, 247, 0.18), transparent 28%),
    linear-gradient(118deg, #071321 0%, #0a1b30 58%, #081424 100%);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36%;
  height: 8px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.hero-grid,
.contact-grid {
  position: absolute;
  inset: 0;
  opacity: 0.11;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, transparent, black 60%, black);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
  align-items: center;
  gap: 7vw;
  min-height: 680px;
  padding-block: 6rem;
}

.eyebrow,
.section-index {
  margin: 0 0 1.4rem;
  color: var(--blue-text);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .eyebrow { color: var(--cyan); }
.section-dark .section-index { color: var(--cyan); }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.12;
}

h1 {
  max-width: 820px;
  margin-bottom: 1.7rem;
  font-size: clamp(3.25rem, 6vw, 6.25rem);
  font-weight: 500;
  letter-spacing: -0.055em;
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 2.5rem;
  color: #b9c8d5;
  font-size: clamp(1.05rem, 1.55vw, 1.25rem);
  line-height: 1.72;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #06111d; background: var(--lime); }
.button-primary:hover { background: #d6ff71; }
.button-quiet { color: var(--white); border-color: rgba(255,255,255,.28); }
.button-quiet:hover { border-color: var(--cyan); background: rgba(84,216,233,.08); }

.signal-card {
  position: relative;
  min-height: 490px;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.035);
}

.signal-stage { position: relative; height: 300px; overflow: hidden; }
.signal-stage::before,
.signal-stage::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: rgba(255,255,255,.14);
  transform: translate(-50%, -50%);
}
.signal-stage::before { width: 100%; height: 1px; }
.signal-stage::after { width: 1px; height: 100%; }
.signal-orbit {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px solid rgba(84,216,233,.46);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbit-one { width: 210px; height: 210px; }
.orbit-two { width: 125px; height: 125px; border-color: rgba(199,242,90,.4); }
.signal-core {
  position: absolute;
  top: 50%; left: 50%;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--cyan);
  transform: translate(-50%, -50%) rotate(45deg);
}
.signal-core i { width: 9px; height: 9px; background: var(--lime); }
.signal-point {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(84,216,233,.9);
}
.point-one { top: 55px; left: 54%; }
.point-two { top: 63%; left: 19%; background: var(--lime); }
.point-three { top: 70%; right: 13%; }

.signal-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid rgba(255,255,255,.15);
  list-style: none;
}
.signal-flow li { padding: 0 0.8rem; border-right: 1px solid rgba(255,255,255,.13); }
.signal-flow li:last-child { border-right: 0; }
.signal-flow span { display: block; margin-bottom: .5rem; color: var(--cyan); font-size: .75rem; letter-spacing: .12em; }
.signal-flow strong { display: block; font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-size: .96rem; }
.signal-flow small { display: block; margin-top: .3rem; color: #8195a7; font-size: .78rem; line-height: 1.4; }

.section { padding-block: clamp(5rem, 9vw, 8.5rem); }

.split-intro {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 9vw, 9rem);
}

.split-intro h2,
.section-heading h2,
.approach-title h2,
.company-panel h2,
.contact h2,
.legal-aside h2 {
  margin-bottom: 1.6rem;
  font-size: clamp(2.3rem, 4.1vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.intro-copy { max-width: 660px; }
.intro-copy p { color: #485a6a; font-size: 1.13rem; line-height: 1.78; }
.intro-copy p:first-child { color: var(--ink); font-size: 1.35rem; }

.section-dark { color: var(--white); background: var(--navy); }
.section-heading { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: end; margin-bottom: 4rem; }
.section-heading .section-index { grid-column: 1 / -1; margin-bottom: 0; }
.section-heading h2 { margin: 0; }
.section-heading > p:last-child { max-width: 500px; margin: 0 0 .55rem; color: var(--muted); font-size: 1.05rem; }
.light-heading > p:last-child { color: #91a3b4; }

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.16);
  border-left: 1px solid rgba(255,255,255,.16);
}
.capability-card {
  min-height: 310px;
  padding: 2rem;
  border-right: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.02);
}
.capability-card.featured-card { background: #1857a8; }
.card-number { display: block; margin-bottom: 3.2rem; color: var(--cyan); font-size: .75rem; letter-spacing: .12em; }
.featured-card .card-number { color: #d9f5ff; }
.capability-card h3 { margin-bottom: 1rem; font-size: 1.4rem; font-weight: 600; }
.capability-card p { color: #99abba; line-height: 1.72; }
.featured-card p { color: #e5efff; }
.card-rule { height: 1px; margin: 1.4rem 0 .9rem; background: rgba(255,255,255,.28); }
.card-meta { margin-bottom: 0; font-size: .82rem; }

.development { background: #edf2f5; }
.project-list { border-top: 1px solid #bdc9d2; }
.project-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 190px;
  gap: 2rem;
  align-items: start;
  padding-block: 2.6rem;
  border-bottom: 1px solid #bdc9d2;
}
.project-id { color: var(--blue-text); font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-size: 2rem; font-weight: 500; }
.project-status { margin-bottom: .7rem; color: #547084; font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.project-copy h3 { margin-bottom: .85rem; font-size: 1.75rem; font-weight: 600; }
.project-copy p:last-child { max-width: 680px; margin-bottom: 0; color: #4b5d6c; }
.project-domain { padding-top: 1.7rem; color: #536677; font-size: .875rem; line-height: 1.7; }

.approach { background: var(--white); }
.approach-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(3rem, 9vw, 9rem); }
.principles { border-top: 1px solid var(--line); }
.principles article { display: grid; grid-template-columns: 46px 1fr; column-gap: 1rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.principles span { grid-row: 1 / 3; color: var(--blue); font-size: .75rem; font-weight: 700; }
.principles h3 { margin-bottom: .6rem; font-size: 1.35rem; }
.principles p { margin: 0; color: var(--muted); }

.company { color: var(--white); background: var(--navy-soft); }
.company-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 9vw, 9rem); }
.company-panel .section-index { color: var(--cyan); }
.company-panel p:last-child { max-width: 470px; color: #99abba; font-size: 1.05rem; }
.company-facts { margin: 0; border-top: 1px solid rgba(255,255,255,.17); }
.company-facts div { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid rgba(255,255,255,.17); }
.company-facts dt { color: #8fa2b3; font-size: .875rem; }
.company-facts dd { margin: 0; color: #e9f0f6; }
.company-facts a { text-underline-offset: 4px; }

.contact { position: relative; overflow: hidden; color: var(--white); background: #1857a8; }
.contact-grid { opacity: .18; mask-image: linear-gradient(90deg, transparent, black); }
.contact-inner { position: relative; z-index: 1; }
.contact .section-index { color: #d9f6ff; }
.contact h2 { max-width: 800px; margin-bottom: 1rem; font-size: clamp(3rem, 6.5vw, 6.4rem); }
.contact-inner > p:not(.section-index):not(.contact-note) { max-width: 600px; color: #e4edff; font-size: 1.1rem; }
.contact-email {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid rgba(255,255,255,.8);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.4rem, 3.4vw, 3rem);
  font-weight: 500;
  letter-spacing: -.025em;
  text-decoration: none;
}
.contact-email span { color: var(--lime); }
.contact-note { margin: 5rem 0 0; color: #d7e4ff; font-size: .875rem; }

.legal { background: var(--white); }
.legal-terms { padding-top: 0; }
.legal-layout { display: grid; grid-template-columns: minmax(230px, .65fr) minmax(0, 1.35fr); gap: clamp(3rem, 9vw, 9rem); }
.legal-aside { align-self: start; position: sticky; top: 112px; }
.legal-aside h2 { margin-bottom: .75rem; font-size: clamp(2rem, 3vw, 3rem); }
.legal-aside > p:last-child { color: var(--muted); font-size: .85rem; }
.legal-copy { max-width: 700px; }
.legal-copy h3 { margin: 2.4rem 0 .65rem; font-size: 1.1rem; }
.legal-copy h3:first-child { margin-top: 0; }
.legal-copy p { color: #566777; }
.legal-copy a { color: #155fc0; text-underline-offset: 3px; }

.site-footer { padding: 4rem 0 2rem; color: #aebdca; background: #050d17; }
.footer-inner { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 3rem; align-items: start; }
.footer-brand { color: var(--white); }
.footer-inner > div > p { max-width: 340px; margin: 1.3rem 0 0; font-size: .88rem; }
.site-footer nav { display: grid; gap: .7rem; }
.site-footer nav a { width: fit-content; color: #aebdca; font-size: .87rem; text-decoration: none; }
.site-footer nav a:hover { color: var(--cyan); }
.copyright { margin: 0; font-size: .8rem; line-height: 1.7; }

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #0b56b3;
}

@media (max-width: 940px) {
  .hero { min-height: auto; }
  .hero-layout { grid-template-columns: 1fr; gap: 3rem; min-height: auto; }
  .signal-card { max-width: 620px; width: 100%; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading h2 { max-width: 730px; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 2rem), var(--max)); }
  .header-inner { min-height: 68px; }
  .menu-button { display: block; }
  .primary-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: .5rem 1rem 1rem;
    background: rgba(8,20,36,.98);
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: .9rem .5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .menu-button[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(3px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-3px) rotate(-45deg); }
  .hero-layout { padding-block: 5rem; }
  h1 { font-size: clamp(3rem, 13vw, 4.5rem); }
  .split-intro,
  .approach-layout,
  .company-grid,
  .legal-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: auto; }
  .project-row { grid-template-columns: 44px 1fr; gap: 1rem; }
  .project-domain { grid-column: 2; padding-top: 0; }
  .legal-aside { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .copyright { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .brand em { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .signal-card { min-height: auto; padding: .8rem; }
  .signal-stage { height: 250px; }
  .signal-flow { grid-template-columns: 1fr; }
  .signal-flow li { padding: .8rem .4rem; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .signal-flow li:last-child { border-bottom: 0; }
  .signal-flow small { display: inline; margin-left: .35rem; }
  .project-row { grid-template-columns: 1fr; }
  .project-domain { grid-column: 1; }
  .company-facts div { grid-template-columns: 1fr; gap: .25rem; }
  .contact-email { font-size: 1.25rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .copyright { grid-column: 1; }
}

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